naveen penumala wrote:
> hi,
> 
> My machine SUSE 10.1 linux, kernel version is 2.6.16.21 and gcc version
> 4.1.0.
> 
> The inotify02 tests results as follows....
> 
> syscalls/inotify> ./inotify02
> inotify02    1  PASS  :  get event: wd=1 mask=40000004 cookie=0 len=0
> name=""
> inotify02    2  PASS  :  get event: wd=1 mask=100 cookie=0 len=16
> name="test_file1"
> inotify02    3  PASS  :  get event: wd=1 mask=20 cookie=0 len=16
> name="test_file1"
> inotify02    4  PASS  :  get event: wd=1 mask=8 cookie=0 len=16
> name="test_file1"
> inotify02    5  PASS  :  get event: wd=1 mask=40 cookie=21166 len=16
> name="test_file1"
> inotify02    6  PASS  :  get event: wd=1 mask=80 cookie=21166 len=16
> name="test_file2"
> inotify02    7  PASS  :  get event: wd=1 mask=800 cookie=0 len=0 name=""
> inotify02    8  PASS  :  get event: wd=1 mask=200 cookie=0 len=16
> name="test_file2"
> inotify02    9  PASS  :  get event: wd=1 mask=800 cookie=0 len=0 name=""
> inotify02   10  FAIL  :  get unnecessary event: wd=1 mask=800 cookie=0
> len=0name=""
> 
> Could you please tell me why this failure has happened.
> 

Because there was a bug in inotify. New version of manpage docs it:

       Before  kernel 2.6.25, a kernel bug meant that the kernel code that was
       intended to coalesce successive identical events (i.e.,  the  two  most
       recent  events  could potentially be coalesced if the older had not yet
       been read) instead checked if the most recent event could be  coalesced
       with the oldest unread event.


------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to