← 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]
  
- 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
+ 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
  
  it's affected under 3.17 kernel
  
  * upstream reference
- 
- refer to
- https://github.com/torvalds/linux/commit/5ef828c4152726f56751c78ea844f08d2b2a4fa3
+ 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
  
- 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

** Description changed:

  [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
  
  it's affected under 3.17 kernel
  
  * upstream reference
- refer to https://github.com/torvalds/linux/commit/5ef828c4152726f56751c78ea844f08d2b2a4fa3
+ 
+ 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
+ 
+ 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

** Description changed:

  [Impact]
  
  XFS quota doesn't work after rebooting becuase of crash or force reboot
- you can see msg on dmesg
+ You can see msg on dmesg
  [ 12.309146] XFS (sdb): Failed to initialize disk quotas.
  
  [Fix]
  
  Upstream development
  
- it's affected under 3.17 kernel
+ It's affected under 3.17 kernel
  
  * upstream reference
  
- refer to
+ 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.
+ 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 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:
  Incomplete

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

  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.

  [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.

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


References