Whamcloud - gitweb
LU-17705 ptlrpc: replace synchronize_rcu() with rcu_barrier()
[fs/lustre-release.git] / ldiskfs / kernel_patches / patches / rhel7.6 / ext4-dquot-commit-speedup.patch
1 --- a/fs/ext4/super.c   2018-07-11 16:27:46.890341960 +0300
2 +++ b/fs/ext4/super.c   2018-07-11 16:29:17.549061853 +0300
3 @@ -5403,6 +5403,8 @@ static int ext4_mark_dquot_dirty(struct
4         /* Are we journaling quotas? */
5         if (EXT4_HAS_RO_COMPAT_FEATURE(sb, EXT4_FEATURE_RO_COMPAT_QUOTA) ||
6             sbi->s_qf_names[USRQUOTA] || sbi->s_qf_names[GRPQUOTA]) {
7 +               if (test_bit(DQ_MOD_B, &dquot->dq_flags))
8 +                       return 0;
9                 dquot_mark_dquot_dirty(dquot);
10                 return ext4_write_dquot(dquot);
11         } else {