[PATCH] xfstests: Check concurrently of readdir and read on the same directory fd

Rich Johnston rjohnston at sgi.com
Fri Apr 5 12:32:43 CDT 2013


Zhao,

Thanks for submitting this test, it has been committed.

--Rich
commit bbaf78c01bc98b2afc3bb3d31eac38fc5d4b3b19
Author: Zhao Hongjiang <zhaohongjiang at huawei.com>
Date:   Wed Apr 3 06:09:10 2013 +0000

     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 at huawei.com>.
     http://marc.info/?l=linux-kernel&m=136123703211869&w=2

     Signed-off-by: Zhao Hongjiang <zhaohongjiang at huawei.com>
     Reviewed-by: Rich Johnston <rjohnston at sgi.com>
     [rjohnston at sgi.com minor white space fixes and test renumbering]
     Signed-off-by: Rich Johnston <rjohnston at sgi.com>




More information about the xfs mailing list