Revision e9f53353e166a67dfe4f8295100f8ac39d6cf10b authored by Daejun Park on 06 January 2021, 01:32:42 UTC, committed by Theodore Ts'o on 15 January 2021, 19:41:31 UTC
In the fast commit, it adds REQ_FUA and REQ_PREFLUSH on each fast
commit block when barrier is enabled.  However, in recovery phase,
ext4 compares CRC value in the tail.  So it is sufficient to add
REQ_FUA and REQ_PREFLUSH on the block that has tail.

Signed-off-by: Daejun Park <daejun7.park@samsung.com>
Reviewed-by: Harshad Shirwadkar <harshadshirwadkar@gmail.com>
Link: https://lore.kernel.org/r/20210106013242epcms2p5b6b4ed8ca86f29456fdf56aa580e74b4@epcms2p5
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
1 parent 6b4b8e6
History
File Mode Size
Makefile -rw-r--r-- 382 bytes
README -rw-r--r-- 1.1 KB
barrier.h -rw-r--r-- 441 bytes
io_uring-bench.c -rw-r--r-- 12.3 KB
io_uring-cp.c -rw-r--r-- 4.8 KB
liburing.h -rw-r--r-- 4.3 KB
queue.c -rw-r--r-- 3.5 KB
setup.c -rw-r--r-- 2.8 KB
syscall.c -rw-r--r-- 1.2 KB

README

back to top