summaryrefslogtreecommitdiff
path: root/mm/swap.c
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2023-09-27 15:21:16 +0200
committerChristian Brauner <brauner@kernel.org>2023-11-18 14:59:23 +0100
commit49ef8832fb1a9e0da0020eb17480fd286433bc13 (patch)
treed7163fa4aa3f1017912bf6bf03682321ff03af81 /mm/swap.c
parenta30561a9be69d446d8d542a4f9735fe5ca9573df (diff)
downloadlwn-49ef8832fb1a9e0da0020eb17480fd286433bc13.tar.gz
lwn-49ef8832fb1a9e0da0020eb17480fd286433bc13.zip
bdev: implement freeze and thaw holder operations
The old method of implementing block device freeze and thaw operations required us to rely on get_active_super() to walk the list of all superblocks on the system to find any superblock that might use the block device. This is wasteful and not very pleasant overall. Now that we can finally go straight from block device to owning superblock things become way simpler. Link: https://lore.kernel.org/r/20231024-vfs-super-freeze-v2-5-599c19f4faac@kernel.org Reviewed-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'mm/swap.c')
0 files changed, 0 insertions, 0 deletions