Re: [PATCH AUTOSEL 6.14 342/642] fs/mpage: avoid negative shift for large blocksize

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

 



On Mon, May 05, 2025 at 06:09:18PM -0400, Sasha Levin wrote:
> From: Hannes Reinecke <hare@xxxxxxxxxx>
> 
> [ Upstream commit 86c60efd7c0ede43bd677f2eee1d84200528df1e ]
> 
> For large blocksizes the number of block bits is larger than PAGE_SHIFT,
> so calculate the sector number from the byte offset instead. This is
> required to enable large folios with buffer-heads.
> 
> Reviewed-by: "Matthew Wilcox (Oracle)" <willy@xxxxxxxxxxxxx>
> Signed-off-by: Luis Chamberlain <mcgrof@xxxxxxxxxx>
> Signed-off-by: Hannes Reinecke <hare@xxxxxxxxxx>
> Link: https://lore.kernel.org/r/20250221223823.1680616-4-mcgrof@xxxxxxxxxx
> Reviewed-by: Hannes Reinecke <hare@xxxxxxx>
> Signed-off-by: Christian Brauner <brauner@xxxxxxxxxx>
> Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

This is not relevant to older kernels as we had no buffer-head usage of
large folios before v6.15. So this is just creating noise / drama for
older kernels.

Where's that code for  auto-sel again?

  Luis




[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