Re: [PATCH 24/40] btrfs: remove btrfs_end_io_wq

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

 



On Wed, Mar 23, 2022 at 08:57:03AM +0800, Qu Wenruo wrote:
>
>
> On 2022/3/22 23:55, Christoph Hellwig wrote:
>> Avoid the extra allocation for all read bios by embedding a btrfs_work
>> and I/O end type into the btrfs_bio structure.
>>
>> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
>
> Do we really need to bump the size of btrfs_bio furthermore?
>
> Especially btrfs_bio is allocated for each 64K stripe...

One of the async submission or completion contexts is allocated for
almost every btrfs_bio.  So overall this reduceѕ the memory usage
(at least together with the rest of the series).



[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