Chao Yu 0abd675e97 f2fs: support plain user/group quota
This patch adds to support plain user/group quota.

Change Note by Jaegeuk Kim.

- Use f2fs page cache for quota files in order to consider garbage collection.
  so, quota files are not tolerable for sudden power-cuts, so user needs to do
  quotacheck.

- setattr() calls dquot_transfer which will transfer inode->i_blocks.
  We can't reclaim that during f2fs_evict_inode(). So, we need to count
  node blocks as well in order to match i_blocks with dquot's space.

  Note that, Chao wrote a patch to count inode->i_blocks without inode block.
  (f2fs: don't count inode block in in-memory inode.i_blocks)

- in f2fs_remount, we need to make RW in prior to dquot_resume.

- handle fault_injection case during f2fs_quota_off_umount

- TODO: Project quota

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2017-07-08 23:12:27 -07:00
..
2017-04-19 08:30:26 -06:00
2017-04-14 14:00:49 -06:00
2017-05-04 19:15:35 -07:00
2017-05-04 19:15:35 -07:00
2017-05-05 11:36:44 -07:00
2017-05-05 11:48:17 +10:00
2017-05-05 17:34:57 -07:00
2017-05-02 17:34:32 -07:00
2017-03-29 15:51:32 -06:00
2017-04-03 18:53:50 +01:00
2017-05-05 11:36:44 -07:00
2017-03-31 12:55:11 +02:00
2017-04-11 14:35:15 -06:00
2017-02-10 11:15:08 +01:00
2017-05-03 18:41:21 -07:00
2017-05-04 18:03:51 -07:00
2017-03-17 15:10:49 +09:00
2017-04-27 15:54:39 -06:00
2017-02-12 15:20:07 -07:00
2017-04-27 15:54:39 -06:00
2017-04-27 15:54:39 -06:00