← 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:

  SRU Justification:
  
  Impact: XFS quota doesn't work after rebooting becuase of crash or force reboot
+         you can see msg on dmesg
+         [ 12.309146] XFS (sdb): Failed to initialize disk quotas.
  Fix: Upstream development
  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 block in 2G or not
+           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
  
  ---------------------
  
- It's affected under 3.17
- 
- dmesg | grep XFS 
- [ 12.078623] SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled 
- [ 12.126738] XFS (dm-1): Mounting filesystem 
- [ 12.211779] XFS (dm-1): Starting recovery (logdev: internal) 
- [ 12.283051] XFS (dm-1): Ending recovery (logdev: internal) 
- [ 12.309146] XFS (dm-1): Failed to initialize disk quotas. 
- [ 12.345836] XFS (dm-0): Mounting Filesystem 
- [ 12.478456] XFS (dm-0): Ending clean mount 
+ 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
+ fs/xfs/libxfs/xfs_sb.c to proper position /fs/xfs/xfs_sb.c on ubuntu

-- 
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:
  Incomplete

Bug description:
  SRU Justification:

  Impact: XFS quota doesn't work after rebooting becuase of crash or force reboot
          you can see msg on dmesg
          [ 12.309146] XFS (sdb): Failed to initialize disk quotas.
  Fix: Upstream development
  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

  ---------------------

  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
  fs/xfs/libxfs/xfs_sb.c to proper position /fs/xfs/xfs_sb.c on ubuntu

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


References