summaryrefslogtreecommitdiffstats
path: root/include/linux/fs.h
diff options
context:
space:
mode:
authorArjan van de Ven <arjan@linux.intel.com>2009-01-06 07:20:54 -0800
committerArjan van de Ven <arjan@linux.intel.com>2009-01-07 08:47:24 -0800
commitefaee192063a54749c56b7383803e16fe553630e (patch)
treeb18e3072904e53701bdd7889bb32babf8cc7bf7c /include/linux/fs.h
parentf29d3b23238e1955a8094e038c72546e99308e61 (diff)
downloadop-kernel-dev-efaee192063a54749c56b7383803e16fe553630e.zip
op-kernel-dev-efaee192063a54749c56b7383803e16fe553630e.tar.gz
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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index d7eba77..e38a64d 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);
OpenPOWER on IntegriCloud