← Back to team overview

kernel-packages team mailing list archive

[Bug 1461730] Re: XFS quota doesn't work after rebooting because of crash

 

** Description changed:

  [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.
  
- * upstream reference
- 
- Refer to
- https://github.com/torvalds/linux/commit/5ef828c4152726f56751c78ea844f08d2b2a4fa3
- 
  * fixed directory mismatch
  
- There was no libxfs directory on fs/xfs/, I modified upstream
+ 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.
- 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.
+ 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.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1461730

Title:
  XFS quota doesn't work after rebooting because of crash

Status in linux package in Ubuntu:
  In Progress

Bug description:
  [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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1461730/+subscriptions


References