Re: Correct behavior on O_DIRECT sparse file writes

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrew Morton <akpm@...>
Cc: Chris Mason <chris.mason@...>, <linux-fsdevel@...>
Date: Monday, October 15, 2007 - 12:53 pm

>> The test below creates a sparse file and then fills a hole with


That makes sense, but how do you explain the committing of the size change 
without O_SYNC?  That seems wrong to me.

This does need to be documented carefully, because a person could easily 
believe, even subconsciously,  that O_DIRECT makes the entire file write 
direct, and sloppy documentation might actually use words to that effect.

--
Bryan Henderson                     IBM Almaden Research Center
San Jose CA                         Filesystems

-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Correct behavior on O_DIRECT sparse file writes, Chris Mason, (Fri Oct 12, 4:39 pm)
Re: Correct behavior on O_DIRECT sparse file writes, Andrew Morton, (Fri Oct 12, 5:02 pm)
Re: Correct behavior on O_DIRECT sparse file writes, Bryan Henderson, (Mon Oct 15, 12:53 pm)
Re: Correct behavior on O_DIRECT sparse file writes, Florian Weimer, (Sat Oct 13, 7:24 am)
Re: Correct behavior on O_DIRECT sparse file writes, Chuck Lever, (Mon Oct 15, 11:36 am)