Thread (43 messages) 43 messages, 10 authors, 2011-08-31

Re: [PATCH 1/4] fs: add SEEK_HOLE and SEEK_DATA flags

From: Sunil Mushran <hidden>
Date: 2011-08-22 21:22:40
Also in: linux-btrfs, linux-fsdevel, lkml

On 08/22/2011 10:56 AM, Marco Stornelli wrote:
Il 22/08/2011 17:57, Sunil Mushran ha scritto:
quoted
The following test was used to test the early implementations.
http://oss.oracle.com/~smushran/seek_data/
Thank you very much!! I found another point. Your test fails with my 
implementation because here 
(http://www.austingroupbugs.net/view.php?id=415) says: "If whence is 
SEEK_DATA, the file offset shall be set to the smallest location of a 
byte not within a hole and not less than offset. It shall be an error 
if no such byte exists." So in this case I return ENXIO but the test 
expects another value. I have to say that there is a bit of confusion 
about the real behavior of this new feature :)
That's test 5.10, 5.12, 5.14. And it expects -ENXIO.

Which test is failing for you?

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help