xfs
[Top] [All Lists]

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

To: Zhao Hongjiang <zhaohongjiang37@xxxxxxxxx>
Subject: Re: [PATCH] xfstests: Check concurrently of readdir and read on the same directory fd
From: Rich Johnston <rjohnston@xxxxxxx>
Date: Fri, 5 Apr 2013 12:32:43 -0500
Cc: <david@xxxxxxxxxxxxx>, <linux-fsdevel@xxxxxxxxxxxxxxx>, <linux-ext4@xxxxxxxxxxxxxxx>, <xfs@xxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <515BC786.3070102@xxxxxxxxx>
References: <515BC786.3070102@xxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120615 Thunderbird/13.0.1
Zhao,

Thanks for submitting this test, it has been committed.

--Rich
commit bbaf78c01bc98b2afc3bb3d31eac38fc5d4b3b19
Author: Zhao Hongjiang <zhaohongjiang@xxxxxxxxxx>
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@xxxxxxxxxx>.
    http://marc.info/?l=linux-kernel&m=136123703211869&w=2

    Signed-off-by: Zhao Hongjiang <zhaohongjiang@xxxxxxxxxx>
    Reviewed-by: Rich Johnston <rjohnston@xxxxxxx>
    [rjohnston@xxxxxxx minor white space fixes and test renumbering]
    Signed-off-by: Rich Johnston <rjohnston@xxxxxxx>


<Prev in Thread] Current Thread [Next in Thread>