Thread (8 messages) 8 messages, 5 authors, 2014-10-15

Re: BLKZEROOUT + pread should return zeroes, right?

From: Theodore Ts'o <tytso@mit.edu>
Date: 2014-10-14 06:32:17
Also in: linux-fsdevel

The bottom line is for most of the use cases we are talking about,
we're only zero'ing one or two 4k blocks at a time, so I've never been
convinced that it's worth it to use BLKZEROOUT.

We could add page cache coherency features to BLKZEROOUT, but I'm not
entirely sure it's worth the effort.  No user space program would be
able to take advantage of adding coherency for several years, or
adding feature tests, etc., and is it worth the upside of being able
to use WRITE SAME for a few 4k or 8k writes?  (Which the vast majority
of storage devices don't support anyway....)

Cheers,

						- Ted
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help