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