[Trusty][SRU][PATCH] LP#1461730 -- xfs: avoid false quotacheck after unclean shutdown
Seyeong Kim
seyeong.kim at canonical.com
Thu Jun 4 08:43:53 UTC 2015
BugLink: http://bugs.launchpad.net/bugs/1461730
[Impact]
XFS quota doesn't work after rebooting because of crash or force reboot.
You can see msg on dmesg.
[ 12.309146] XFS (sdb): Failed to initialize disk quotas.
[Fix]
Upstream development
5ef828c41527 ("xfs: avoid false quotacheck after unclean shutdown")
It's affected under 3.17 kernel.
* fixed directory mismatch
There was no libxfs directory on fs/xfs/, I modified upstream
fs/xfs/libxfs/xfs_sb.c to proper position /fs/xfs/xfs_sb.c on ubuntu.
[Testcase]
mkfs.xfs for your extra storage, set the quota 2G with it. Using the
command "dd if=/dev/zero of=test bs=1M count=3000", You can see that they
have quota 2G at first. But after force rebooting, you can see that they
don't limit quota. You can make 3G on 2G quota set directory.
Eric Sandeen (1):
xfs: avoid false quotacheck after unclean shutdown
fs/xfs/xfs_mount.c | 1 -
fs/xfs/xfs_sb.c | 26 ++++++++++++++++++++++----
2 files changed, 22 insertions(+), 5 deletions(-)
--
2.1.4
More information about the kernel-team
mailing list