Re: [PATCH v2 07/10] Btrfs: extent map selftest: dio write vs dio read

2018-01-09 Thread Josef Bacik
On Fri, Jan 05, 2018 at 12:51:14PM -0700, Liu Bo wrote: > This test case simulates the racy situation of dio write vs dio read, > and see if btrfs_get_extent() would return -EEXIST. > > Signed-off-by: Liu Bo Reviewed-by: Josef Bacik Thanks, Josef -- To

[PATCH v2 07/10] Btrfs: extent map selftest: dio write vs dio read

2018-01-05 Thread Liu Bo
This test case simulates the racy situation of dio write vs dio read, and see if btrfs_get_extent() would return -EEXIST. Signed-off-by: Liu Bo --- fs/btrfs/tests/extent-map-tests.c | 88 +++ 1 file changed, 88 insertions(+) diff --git