diff options
| author | Arjan van de Ven <arjan@linux.intel.com> | 2009-01-06 10:20:54 -0500 |
|---|---|---|
| committer | Arjan van de Ven <arjan@linux.intel.com> | 2009-01-07 11:47:24 -0500 |
| commit | efaee192063a54749c56b7383803e16fe553630e (patch) | |
| tree | b18e3072904e53701bdd7889bb32babf8cc7bf7c /include/linux | |
| parent | f29d3b23238e1955a8094e038c72546e99308e61 (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')
| -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 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 | ||
| 1189 | extern struct timespec current_fs_time(struct super_block *sb); | 1194 | extern struct timespec current_fs_time(struct super_block *sb); |
