Change conf=fsync to oflag=direct to avoid
cache write.
Test-Parameters: trivial testlist=sanity-quota env=ONLY=75,ONLY_REPEAT=100
Signed-off-by: Sergey Cheremencev <scherementsev@ddn.com>
Change-Id: Iff04bac63f772dc2d0d0ad765d210b2539fbe33e
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51158
Tested-by: Maloo <maloo@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Li Dongyang <dongyangli@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
$dd_failed && quota_error u $qid "write failed, expect succeed (3)"
- $DD of=$DIR/$tdir/file count=$((LIMIT/2048 + 10)) conv=fsync &&
+ $DD of=$DIR/$tdir/file count=$((LIMIT/2048 + 10)) oflag=direct &&
quota_error u $qid "write succeed, expect EDQUOT (3)"
true
}