From: Christian Brauner Date: Tue, 22 Apr 2025 07:50:32 +0000 (+0200) Subject: Merge patch series "fs/buffer: split pagecache lookups into atomic or blocking" X-Git-Tag: v6.15-rc4~13^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=53f7eedd88d144d8d1a83cad5fba1fb75b22b19d;p=thirdparty%2Fkernel%2Flinux.git Merge patch series "fs/buffer: split pagecache lookups into atomic or blocking" Davidlohr Bueso says: This is a respin of the series[0] to address the sleep in atomic scenarios for noref migration with large folios, introduced in: 3c20917120ce61 ("block/bdev: enable large folio support for large logical block sizes") The main difference is that it removes the first patch and moves the fix (reducing the i_private_lock critical region in the migration path) to the final patch, which also introduces the new BH_Migrate flag. It also simplifies the locking scheme in patch 1 to avoid folio trylocking in the atomic lookup cases. So essentially blocking users will take the folio lock and hence wait for migration, and otherwise nonblocking callers will bail the lookup if a noref migration is on-going. Blocking callers will also benefit from potential performance gains by reducing contention on the spinlock for bdev mappings. * patches from https://lore.kernel.org/20250418015921.132400-1-dave@stgolabs.net: mm/migrate: fix sleep in atomic for large folios and buffer heads fs/ext4: use sleeping version of sb_find_get_block() fs/jbd2: use sleeping version of __find_get_block() fs/ocfs2: use sleeping version of __find_get_block() fs/buffer: use sleeping version of __find_get_block() fs/buffer: introduce sleeping flavors for pagecache lookups fs/buffer: split locking for pagecache lookups Link: https://lore.kernel.org/20250418015921.132400-1-dave@stgolabs.net Signed-off-by: Christian Brauner --- 53f7eedd88d144d8d1a83cad5fba1fb75b22b19d