Re: BLKZEROOUT + pread should return zeroes, right?

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

 



On Tue, Oct 14, 2014 at 02:21:28AM -0700, Christoph Hellwig wrote:
> On Tue, Oct 14, 2014 at 03:27:11PM +1100, Dave Chinner wrote:
> > Broken usage, IMO. If you are going to use the block layer ioctls to
> > manipulate data int eh block device, you should be using direct Io
> > for all your data IO to the block device. Otherwise, coherency
> > problems occur....
> 
> I'd say BLKZEROOUT semantics are broken.  Having an ioctl exposed
> that maniulates on-disk data without cache coherence is a nightmare
> that people trip over easily.  Even experienced people like Darrick.

I'm definitely with Christoph on this one.  Coherent writes should be
the norm.

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