Re: reduce memory allocation in the btrfs direct I/O path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 4.05.22 г. 19:23 ч., Christoph Hellwig wrote:
Hi all,

this series adds two minor improvements to iomap that allow btrfs
to avoid a memory allocation per read/write system call and another
one per submitted bio.  I also have at last two other pending uses
for the iomap functionality later on, so they are not really btrfs
specific either.

Diffstat:
  fs/btrfs/btrfs_inode.h |   25 --------
  fs/btrfs/ctree.h       |    6 -
  fs/btrfs/file.c        |    6 -
  fs/btrfs/inode.c       |  152 +++++++++++++++++++++++--------------------------
  fs/iomap/direct-io.c   |   26 +++++++-
  include/linux/iomap.h  |    4 +
  6 files changed, 104 insertions(+), 115 deletions(-)



Apart from the silent disk_bytenr removal nit:

Reviewed-by: Nikolay Borisov <nborisov@xxxxxxxx>



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux