Re: Correct behavior on O_DIRECT sparse file writes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Andrew Morton:

> I don't think it's a bug.  Sure, O_DIRECT is synchronous, but that's
> because it is, err, direct.  Not because it provides extra data-integrity
> guarantees.  If you want those guarantees, use O_SYNC as well.

This needs to be prominently documented.  Right now, it's far from clear
that you need both O_DIRECT and O_SYNC.
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux