summaryrefslogtreecommitdiff
path: root/Documentation/auxdisplay/ks0108
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2019-05-29 20:58:45 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2019-07-03 01:40:41 +0300
commitdb6ec53b7e0320c8fad27e9a816e50080154bd51 (patch)
tree0d8860ebf1d7cf5132e47ce36c510905807563ca /Documentation/auxdisplay/ks0108
parentc83414aedf369a40b825b0e254d9b36dae17aa66 (diff)
downloadlinux-db6ec53b7e0320c8fad27e9a816e50080154bd51.tar.xz
f2fs: add a rw_sem to cover quota flag changes
Two paths to update quota and f2fs_lock_op: 1. - lock_op | - quota_update `- unlock_op 2. - quota_update - lock_op `- unlock_op But, we need to make a transaction on quota_update + lock_op in #2 case. So, this patch introduces: 1. lock_op 2. down_write 3. check __need_flush 4. up_write 5. if there is dirty quota entries, flush them 6. otherwise, good to go Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'Documentation/auxdisplay/ks0108')
0 files changed, 0 insertions, 0 deletions