summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2014-07-30 00:55:42 +0200
committerDavid Sterba <dsterba@suse.cz>2014-10-02 17:30:29 +0200
commit97eb6b69d1e856cb5e1cf2c3d94afab643e93128 (patch)
treec5dd782e9ba00f1eb902850b81fe76ba73a5c328 /fs/btrfs/disk-io.h
parentbtrfs: fix error labels in init_btrfs_fs (diff)
downloadlinux-97eb6b69d1e856cb5e1cf2c3d94afab643e93128.tar.xz
linux-97eb6b69d1e856cb5e1cf2c3d94afab643e93128.zip
btrfs: use slab for end_io_wq structures
The structure is frequently reused. Rename it according to the slab name. Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'fs/btrfs/disk-io.h')
-rw-r--r--fs/btrfs/disk-io.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/disk-io.h b/fs/btrfs/disk-io.h
index 84da438fd9a3..9ac233923ca3 100644
--- a/fs/btrfs/disk-io.h
+++ b/fs/btrfs/disk-io.h
@@ -142,6 +142,8 @@ int btree_lock_page_hook(struct page *page, void *data,
void (*flush_fn)(void *));
int btrfs_calc_num_tolerated_disk_barrier_failures(
struct btrfs_fs_info *fs_info);
+int __init btrfs_end_io_wq_init(void);
+void btrfs_end_io_wq_exit(void);
#ifdef CONFIG_DEBUG_LOCK_ALLOC
void btrfs_init_lockdep(void);