>> 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