diff options
| author | Christian Brauner <brauner@kernel.org> | 2026-11-09 17:51:22 +0100 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-11-11 11:59:16 +0100 |
| commit | 05ad4c91fe2852a19d04311883420ffefb02300d (patch) | |
| tree | 4273670bac140c2742b27a4a1e82672778371c5b /include/linux/stacktrace.h | |
| parent | ccb8bbf93985d89f60d904386e27aad60f34dbbf (diff) | |
udf: don't allocate the inode block in udf_sync_inode_metadata()
udf_sync_inode_metadata() looks the block that holds the inode up with
sb_getblk() which allocates a buffer for it if it isn't cached. But a
block that isn't cached is neither dirty nor under writeback, so there's
nothing to write or to wait for and the buffer just gets thrown away
again.
That allocation is also something we can't afford once inode eviction
calls ->sync_inode_metadata() from reclaim. So look the block up with
sb_find_get_block_nonatomic() instead.
Cc: stable@vger.kernel.org # v7.3
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20261109-work-inode-metadata_writeback-v3-7-91ac6c024018@kernel.org
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'include/linux/stacktrace.h')
0 files changed, 0 insertions, 0 deletions
