diff options
| author | Tao Ma <[email protected]> | 2011-10-31 21:30:44 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2011-10-31 21:30:44 +0000 |
| commit | 0edeb71dc9133bfb505d3bf59642e07cd936613e (patch) | |
| tree | bcb68e2676d9bba1e4e4e28fb1ba8d382caf26eb /fs/jbd2/commit.c | |
| parent | ext4: optimize locking for end_io extent conversion (diff) | |
| download | kernel-0edeb71dc9133bfb505d3bf59642e07cd936613e.tar.gz kernel-0edeb71dc9133bfb505d3bf59642e07cd936613e.zip | |
ext4: Create helper function for EXT4_IO_END_UNWRITTEN and i_aiodio_unwritten
EXT4_IO_END_UNWRITTEN flag set and the increase of i_aiodio_unwritten
should be done simultaneously since ext4_end_io_nolock always clear
the flag and decrease the counter in the same time.
We have found some bugs that the flag is set while leaving
i_aiodio_unwritten unchanged(commit 32c80b32c053d). So this patch just tries
to create a helper function to wrap them to avoid any future bug.
The idea is inspired by Eric.
Cc: Eric Sandeen <[email protected]>
Signed-off-by: Tao Ma <[email protected]>
Signed-off-by: "Theodore Ts'o" <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
