Thread (11 messages) 11 messages, 3 authors, 2020-12-24

Re: discard and data=writeback

From: "Theodore Y. Ts'o" <tytso@mit.edu>
Date: 2020-12-23 18:13:35

On Wed, Dec 23, 2020 at 01:47:33AM +0100, Matteo Croce wrote:
As an extra test I extracted the archive with data=ordered, remounted
with data=writeback and timed the rm -rf and viceversa.
The mount option is the one that counts, the one using during
extraction doesn't matter.
Hmm... that's really surprising.  At this point, the only thing I can
suggest is to try using blktrace to see what's going on at the block
layer when the I/O's and discard requests are being submitted.  If
there are no dirty blocks in the page cache, I don't see how
data=ordered vs data=writeback would make a difference to how mount -o
discard processing would take place.

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