aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fs.h
diff options
context:
space:
mode:
authorArjan van de Ven <arjan@linux.intel.com>2009-01-06 10:20:54 -0500
committerArjan van de Ven <arjan@linux.intel.com>2009-01-07 11:47:24 -0500
commitefaee192063a54749c56b7383803e16fe553630e (patch)
treeb18e3072904e53701bdd7889bb32babf8cc7bf7c /include/linux/fs.h
parentf29d3b23238e1955a8094e038c72546e99308e61 (diff)
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 d7eba77f666e..e38a64d71eff 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -1184,6 +1184,11 @@ struct super_block {
1184 * generic_show_options() 1184 * generic_show_options()
1185 */ 1185 */
1186 char *s_options; 1186 char *s_options;
1187
1188 /*
1189 * storage for asynchronous operations
1190 */
1191 struct list_head s_async_list;
1187}; 1192};
1188 1193
1189extern struct timespec current_fs_time(struct super_block *sb); 1194extern struct timespec current_fs_time(struct super_block *sb);