https://github.com/torvalds/linux
Revision db1d607d3ca5cbb283cbb17d648cd7e8dc67cc7b authored by Josef Bacik on 26 March 2013, 19:29:11 UTC, committed by Josef Bacik on 28 March 2013, 13:51:28 UTC
We need to hold the ordered_operations mutex while waiting on ordered extents
since we splice and run the ordered extents list.  We need to make sure anybody
else who wants to wait on ordered extents does actually wait for them to be
completed.  This will keep us from bailing out of flushing in case somebody is
already waiting on ordered extents to complete.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
1 parent 6e137ed
History
Tip revision: db1d607d3ca5cbb283cbb17d648cd7e8dc67cc7b authored by Josef Bacik on 26 March 2013, 19:29:11 UTC
Btrfs: hold the ordered operations mutex when waiting on ordered extents
Tip revision: db1d607
File Mode Size
Kconfig -rw-r--r-- 55.5 KB
Makefile -rw-r--r-- 1.1 KB
calibrate.c -rw-r--r-- 8.3 KB
do_mounts.c -rw-r--r-- 13.3 KB
do_mounts.h -rw-r--r-- 1.4 KB
do_mounts_initrd.c -rw-r--r-- 3.2 KB
do_mounts_md.c -rw-r--r-- 8.2 KB
do_mounts_rd.c -rw-r--r-- 8.4 KB
init_task.c -rw-r--r-- 668 bytes
initramfs.c -rw-r--r-- 12.9 KB
main.c -rw-r--r-- 21.6 KB
noinitramfs.c -rw-r--r-- 1.5 KB
version.c -rw-r--r-- 1.2 KB

back to top