mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-28 17:12:17 +00:00
4a9a8f2a8a
This is a bit larger than the previous syncs, because we use extent_io_tree's everywhere. There's a lot of stuff added to kerncompat.h, and then I went through and cleaned up all the API changes, which were - extent_io_tree_init takes an fs_info and an owner now. - extent_io_tree_cleanup is now extent_io_tree_release. - set_extent_dirty takes a gfpmask. - clear_extent_dirty takes a cached_state. - find_first_extent_bit takes a cached_state. The diffstat looks insane for this, but keep in mind extent-io-tree.c and extent-io-tree.h are ~2000 loc just by themselves. Signed-off-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: David Sterba <dsterba@suse.com>
61 lines
1.2 KiB
C
61 lines
1.2 KiB
C
#ifndef __PROGS_TRACE_H__
|
|
#define __PROGS_TRACE_H__
|
|
|
|
struct btrfs_work;
|
|
struct btrfs_fs_info;
|
|
struct extent_state;
|
|
struct extent_io_tree;
|
|
|
|
static inline void trace_btrfs_workqueue_alloc(void *ret, const char *name)
|
|
{
|
|
}
|
|
|
|
static inline void trace_btrfs_ordered_sched(struct btrfs_work *work)
|
|
{
|
|
}
|
|
|
|
static inline void trace_btrfs_all_work_done(struct btrfs_fs_info *fs_info,
|
|
struct btrfs_work *work)
|
|
{
|
|
}
|
|
|
|
static inline void trace_btrfs_work_sched(struct btrfs_work *work)
|
|
{
|
|
}
|
|
|
|
static inline void trace_btrfs_work_queued(struct btrfs_work *work)
|
|
{
|
|
}
|
|
|
|
static inline void trace_btrfs_workqueue_destroy(void *wq)
|
|
{
|
|
}
|
|
|
|
static inline void trace_alloc_extent_state(struct extent_state *state,
|
|
gfp_t mask, unsigned long ip)
|
|
{
|
|
}
|
|
|
|
static inline void trace_free_extent_state(struct extent_state *state,
|
|
unsigned long ip)
|
|
{
|
|
}
|
|
|
|
static inline void trace_btrfs_clear_extent_bit(struct extent_io_tree *tree,
|
|
u64 start, u64 end, u32 bits)
|
|
{
|
|
}
|
|
|
|
static inline void trace_btrfs_set_extent_bit(struct extent_io_tree *tree,
|
|
u64 start, u64 end, u32 bits)
|
|
{
|
|
}
|
|
|
|
static inline void trace_btrfs_convert_extent_bit(struct extent_io_tree *tree,
|
|
u64 start, u64 end, u32 bits,
|
|
u32 clear_bits)
|
|
{
|
|
}
|
|
|
|
#endif /* __PROGS_TRACE_H__ */
|