diff options
author | Arjan van de Ven <arjan@linux.intel.com> | 2009-01-06 07:20:54 -0800 |
---|---|---|
committer | Arjan van de Ven <arjan@linux.intel.com> | 2009-01-07 08:47:24 -0800 |
commit | efaee192063a54749c56b7383803e16fe553630e (patch) | |
tree | b18e3072904e53701bdd7889bb32babf8cc7bf7c /include/linux/fs.h | |
parent | f29d3b23238e1955a8094e038c72546e99308e61 (diff) | |
download | kernel-crypto-efaee192063a54749c56b7383803e16fe553630e.tar.gz kernel-crypto-efaee192063a54749c56b7383803e16fe553630e.tar.xz kernel-crypto-efaee192063a54749c56b7383803e16fe553630e.zip |
async: make the final inode deletion an asynchronous event
this makes "rm -rf" on a (names cached) kernel tree go from
11.6 to 8.6 seconds on an ext3 filesystem
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index d7eba77f666..e38a64d71ef 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -1184,6 +1184,11 @@ struct super_block { * generic_show_options() */ char *s_options; + + /* + * storage for asynchronous operations + */ + struct list_head s_async_list; }; extern struct timespec current_fs_time(struct super_block *sb); |