Re: [PATCH 28/40] btrfs: do not allocate a btrfs_io_context in btrfs_map_bio

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

 



On Wed, Mar 23, 2022 at 09:14:06AM +0800, Qu Wenruo wrote:
> Really not a fan of enlarging btrfs_bio again and again.
>
> Especially for the btrfs_bio_stripe and btrfs_bio_stripe * part.
>
> Considering how many bytes we waste for SINGLE profile, now we need an
> extra pointer which we will never really use.

How do we waste memory?  We stop allocating the btrfs_io_context now
which can be quite big.



[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