Re: [patch v3] splice: fix race with page invalidation

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

 



On Thu, 31 Jul 2008, Jamie Lokier wrote:
> I'm more concerned by sendfile() users like Apache, Samba, FTPd.  In
> an earlier thread on this topic, I asked if the splice bug can also
> result in sendfile() sending blocks of zeros, when a file is truncated
> after it has been sent, and the answer was yes probably.
> 
> Not that I checked or anything.  But if it affects sendfile() it's a
> bigger deal - that has many users.

Nick also pointed out, that it also affects plain read(2), albeit only
with a tiny window.

But partial truncates are _rare_ (we don't even have a UNIX utility
for that ;), so in practice all this may not actually matter very
much.

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