aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorHarshad Shirwadkar <[email protected]>2020-11-06 03:58:57 +0000
committerTheodore Ts'o <[email protected]>2020-11-07 04:01:03 +0000
commitc460e5edc85a063ec9cb60addff93d00ed378701 (patch)
treea779fd93ebec507ce8c177c781ce2c7cde1716e2 /fs/jbd2/commit.c
parentjbd2: drop jbd2_fc_init documentation (diff)
downloadkernel-c460e5edc85a063ec9cb60addff93d00ed378701.tar.gz
kernel-c460e5edc85a063ec9cb60addff93d00ed378701.zip
jbd2: don't use state lock during commit path
Variables journal->j_fc_off, journal->j_fc_wbuf are accessed during commit path. Since today we allow only one process to perform a fast commit, there is no need take state lock before accessing these variables. This patch removes these locks and adds comments to describe this. Suggested-by: Jan Kara <[email protected]> Signed-off-by: Harshad Shirwadkar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions