Thread (2 messages) 2 messages, 2 authors, 2017-05-17

RE: Re: [PATCH] ext4: hand over jobs handling discard commands on commit complete phase to kworkers

From: Daeho Jeong <hidden>
Date: 2017-05-17 00:45:31
Also in: linux-ext4

quoted
Now, when we mount ext4 filesystem with '-o discard' option, we have to
issue all the discard commands for the blocks to be deallocated and
wait for the completion of the commands on the commit complete phase.
 
No, you don't.  You can execute them asynchronously, similar to what
XFS already does.
Thank you, I will check XFS codes issuing discard commands asynchronously.
But, even if the discard commands can be handled in parallel by doing this,
we still need to wait for all the discard requests completion on the journaling
commit phase. I want to modify this part, too.
 

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