]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: don't emit v5 superblock warnings on write
authorDave Chinner <dchinner@redhat.com>
Mon, 27 May 2013 06:38:19 +0000 (16:38 +1000)
committerBen Myers <bpm@sgi.com>
Thu, 30 May 2013 17:24:19 +0000 (12:24 -0500)
commit4612150fa70cdbcd99e2e71f457e55cd5d384cc0
treeb75e7083ab055c184d4a1ac53db76c2d24d03dd9
parent8ec5c5cca46cd4c58c11cb4edac85148574278c1
xfs: don't emit v5 superblock warnings on write

We write the superblock every 30s or so which results in the
verifier being called. Right now that results in this output
every 30s:

XFS (vda): Version 5 superblock detected. This kernel has EXPERIMENTAL support enabled!
Use of these features in this kernel is at your own risk!

And spamming the logs.

We don't need to check for whether we support v5 superblocks or
whether there are feature bits we don't support set as these are
only relevant when we first mount the filesytem. i.e. on superblock
read. Hence for the write verification we can just skip all the
checks (and hence verbose output) altogether.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_mount.c