On Tue, Oct 24, 2023 at 03:01:15PM +0200, Christian Brauner wrote: > Link: https://lore.kernel.org/r/20230927-vfs-super-freeze-v1-7-ecc36d9ab4d9@xxxxxxxxxx > Signed-off-by: Christian Brauner <brauner@xxxxxxxxxx> Looks good, Reviewed-by: Darrick J. Wong <djwong@xxxxxxxxxx> --D > --- > Documentation/filesystems/porting.rst | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/Documentation/filesystems/porting.rst b/Documentation/filesystems/porting.rst > index d69f59700a23..78fc854c9e41 100644 > --- a/Documentation/filesystems/porting.rst > +++ b/Documentation/filesystems/porting.rst > @@ -1052,3 +1052,15 @@ kill_anon_super(), or kill_block_super() helpers. > > Lock ordering has been changed so that s_umount ranks above open_mutex again. > All places where s_umount was taken under open_mutex have been fixed up. > + > +--- > + > +**recommended** > + > +Block device freezing and thawing have been moved to holder operations. > + > +Before this change, get_active_super() would only be able to find the > +superblock of the main block device, i.e., the one stored in sb->s_bdev. Block > +device freezing now works for any block device owned by a given superblock, not > +just the main block device. The get_active_super() helper is gone, so are > +bd_fsfreeze_sb, and bd_fsfreeze_mutex. > > -- > 2.34.1 >