xfstests generic 310: check concurrently of readdir and read on the same directory fd

Check if there are two threads,one keeps calling read() or lseek(), and
the other calling readdir(), both on the same directory fd.

Based on a testcase from Li Zefan <lizefan@huawei.com>.
http://marc.info/?l=linux-kernel&m=136123703211869&w=2

Signed-off-by: Zhao Hongjiang <zhaohongjiang@huawei.com>
Reviewed-by: Rich Johnston <rjohnston@sgi.com>
[rjohnston@sgi.com minor white space fixes and test renumbering]
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
This commit is contained in:
Zhao Hongjiang
2013-04-03 06:09:10 +00:00
committed by Rich Johnston
parent 797c82f0e2
commit bbaf78c01b
6 changed files with 183 additions and 1 deletions
+1
View File
@@ -112,3 +112,4 @@
307 auto quick
308 auto quick
309 auto quick
310 auto