[0/3] 3 misc patches
mbox series

Message ID 20191121120331.29070-1-nborisov@suse.com
Headers show
Series
  • 3 misc patches
Related show

Message

Nikolay Borisov Nov. 21, 2019, 12:03 p.m. UTC
Here are 3 misc patches. First one is an optimsation to prevent issuing discards
for reserved but not written extents. The other 2 simply get rid of
__btrfs_free_reserved_extent by moving its relevant parts to the two wrappers.

Nikolay Borisov (3):
  btrfs: Don't discard unwritten extents
  btrfs: Open code __btrfs_free_reserved_extent in
    btrfs_free_reserved_extent
  btrfs: Rename __btrfs_free_reserved_extent to
    btrfs_pin_reserved_extent

 fs/btrfs/ctree.h       |  4 ++--
 fs/btrfs/extent-tree.c | 44 ++++++++++++++++++------------------------
 fs/btrfs/inode.c       |  7 ++++++-
 fs/btrfs/tree-log.c    | 12 +++++-------
 4 files changed, 32 insertions(+), 35 deletions(-)

--
2.17.1

Comments

David Sterba Dec. 3, 2019, 5:16 p.m. UTC | #1
On Thu, Nov 21, 2019 at 02:03:28PM +0200, Nikolay Borisov wrote:
> Here are 3 misc patches. First one is an optimsation to prevent issuing discards
> for reserved but not written extents. The other 2 simply get rid of
> __btrfs_free_reserved_extent by moving its relevant parts to the two wrappers.
> 
> Nikolay Borisov (3):
>   btrfs: Don't discard unwritten extents
>   btrfs: Open code __btrfs_free_reserved_extent in
>     btrfs_free_reserved_extent
>   btrfs: Rename __btrfs_free_reserved_extent to
>     btrfs_pin_reserved_extent

Added to misc-next, thanks.