diff options
author | Theodore Ts'o <tytso@mit.edu> | 2008-10-16 16:06:27 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-10-16 16:06:27 +0200 |
commit | 8a0aba733db1adb5e1f0e828889a18f4c1c512de (patch) | |
tree | e66c57f34cdb28c45c34dfc63a93c72791316fe0 /fs/ext4/mballoc.h | |
parent | ext4: Don't reuse released data blocks until transaction commits (diff) | |
download | linux-8a0aba733db1adb5e1f0e828889a18f4c1c512de.tar.xz linux-8a0aba733db1adb5e1f0e828889a18f4c1c512de.zip |
ext4: let the block device know when unused blocks can be discarded
Let the block device know when unused blocks can be discarded, using
the new sb_issue_discard() interface.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/mballoc.h')
-rw-r--r-- | fs/ext4/mballoc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ext4/mballoc.h b/fs/ext4/mballoc.h index 9e815c4e37df..94cb7b9fe3ee 100644 --- a/fs/ext4/mballoc.h +++ b/fs/ext4/mballoc.h @@ -18,6 +18,8 @@ #include <linux/pagemap.h> #include <linux/seq_file.h> #include <linux/version.h> +#include <linux/blkdev.h> +#include <linux/marker.h> #include "ext4_jbd2.h" #include "ext4.h" #include "group.h" |