ctree.h (90519d66abbccc251d14719ac76f191f70826e40) | ctree.h (7414a03fbf9e75fbbf2a3c16828cd862e572aa44) |
---|---|
1/* 2 * Copyright (C) 2007 Oracle. All rights reserved. 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public 6 * License v2 as published by the Free Software Foundation. 7 * 8 * This program is distributed in the hope that it will be useful, --- 2688 unchanged lines hidden (view full) --- 2697int btrfs_scrub_continue(struct btrfs_root *root); 2698int btrfs_scrub_continue_super(struct btrfs_root *root); 2699int btrfs_scrub_cancel(struct btrfs_root *root); 2700int btrfs_scrub_cancel_dev(struct btrfs_root *root, struct btrfs_device *dev); 2701int btrfs_scrub_cancel_devid(struct btrfs_root *root, u64 devid); 2702int btrfs_scrub_progress(struct btrfs_root *root, u64 devid, 2703 struct btrfs_scrub_progress *progress); 2704 | 1/* 2 * Copyright (C) 2007 Oracle. All rights reserved. 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public 6 * License v2 as published by the Free Software Foundation. 7 * 8 * This program is distributed in the hope that it will be useful, --- 2688 unchanged lines hidden (view full) --- 2697int btrfs_scrub_continue(struct btrfs_root *root); 2698int btrfs_scrub_continue_super(struct btrfs_root *root); 2699int btrfs_scrub_cancel(struct btrfs_root *root); 2700int btrfs_scrub_cancel_dev(struct btrfs_root *root, struct btrfs_device *dev); 2701int btrfs_scrub_cancel_devid(struct btrfs_root *root, u64 devid); 2702int btrfs_scrub_progress(struct btrfs_root *root, u64 devid, 2703 struct btrfs_scrub_progress *progress); 2704 |
2705/* reada.c */ 2706struct reada_control { 2707 struct btrfs_root *root; /* tree to prefetch */ 2708 struct btrfs_key key_start; 2709 struct btrfs_key key_end; /* exclusive */ 2710 atomic_t elems; 2711 struct kref refcnt; 2712 wait_queue_head_t wait; 2713}; 2714struct reada_control *btrfs_reada_add(struct btrfs_root *root, 2715 struct btrfs_key *start, struct btrfs_key *end); 2716int btrfs_reada_wait(void *handle); 2717void btrfs_reada_detach(void *handle); 2718int btree_readahead_hook(struct btrfs_root *root, struct extent_buffer *eb, 2719 u64 start, int err); 2720 |
|
2705#endif | 2721#endif |