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

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

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

2018-01-05 Thread Liu Bo
This test case simulates the racy situation of buffered 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 | 73 +++ 1 file changed, 73 insertions(+) diff