public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Push the asynchronous function call concept a little further
@ 2009-01-06 21:06 Arjan van de Ven
  2009-01-06 21:07 ` [PATCH 1/2] async: allow for multiple independent synchronization domains Arjan van de Ven
  2009-01-06 21:08 ` [PATCH 2/2] async: make the final inode deletion an asynchronous event Arjan van de Ven
  0 siblings, 2 replies; 3+ messages in thread
From: Arjan van de Ven @ 2009-01-06 21:06 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-fs, torvalds

Hi,

the 2 patches in this series try to push the asynchronous function call
concept a little further;

the first patch allows for creating multiple queues so that you can do
synchronization on your own queue without creating congestion in the
one global queue (for example, as used in the 2nd patch, a per
superblock queue).

the second patch uses a per superblock queue to make the last part of
file deletion (the actual removal of the file content from disk)
using the async function call concept.
The cut is done after the inode is removed from the VFS (and where the
code can and does sleep), but before calling into the filesystem to do 
the actual removal. The locking etc around this should be safe due to
the sleep-ability and the fact that the inode is already out of the VFS
namespaces (eg it's in I_FREEING).

On my testbox, rm -rf of a kernel tree went from 11.6 to 8.6 seconds
with this; with smaller rm's I expect the gain to be more (to the point
where applications that only occasionally delete files no longer will
stutter around this as much).



-- 
Arjan van de Ven 	Intel Open Source Technology Centre
For development, discussion and tips for power savings, 
visit http://www.lesswatts.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-01-06 21:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-06 21:06 [PATCH 0/2] Push the asynchronous function call concept a little further Arjan van de Ven
2009-01-06 21:07 ` [PATCH 1/2] async: allow for multiple independent synchronization domains Arjan van de Ven
2009-01-06 21:08 ` [PATCH 2/2] async: make the final inode deletion an asynchronous event Arjan van de Ven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox