How to generate a large file allocating space
alex at alex.org.uk
Tue Nov 2 07:58:02 UTC 2010
On 2 Nov 2010, at 01:49, "Ted Ts'o" <tytso at mit.edu> wrote:
> But why not just use O_DIRECT? Do you really need to access the
> disk directly, as opposed to using O_DIRECT?
Because more than one machine will be accessing the data on the ext4 volume (over iSCSI), though access to the large files is mediated by locks higher up. To use O_DIRECT each accessing machine would need to have the volume mounted, rather than merely receiving a list of extents.
More information about the Ext3-users