diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-21 21:12:42 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-21 21:12:42 -0400 |
commit | 968f3e374faf41e5e6049399eb7302777a09a1e8 (patch) | |
tree | 613c5aa9a005cfbe3fada77fcb0ab24deda126d9 /fs/btrfs/dev-replace.h | |
parent | e531cdf50a8a0fb7a4d51c06e52097bd01e9bf7c (diff) | |
parent | 389f239c53420802ad5085e51e88c37e2df5e003 (diff) |
Merge branch 'for-linus-4.6' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs
Pull btrfs updates from Chris Mason:
"We have a good sized cleanup of our internal read ahead code, and the
first series of commits from Chandan to enable PAGE_SIZE > sectorsize
Otherwise, it's a normal series of cleanups and fixes, with many
thanks to Dave Sterba for doing most of the patch wrangling this time"
* 'for-linus-4.6' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs: (82 commits)
btrfs: make sure we stay inside the bvec during __btrfs_lookup_bio_sums
btrfs: Fix misspellings in comments.
btrfs: Print Warning only if ENOSPC_DEBUG is enabled
btrfs: scrub: silence an uninitialized variable warning
btrfs: move btrfs_compression_type to compression.h
btrfs: rename btrfs_print_info to btrfs_print_mod_info
Btrfs: Show a warning message if one of objectid reaches its highest value
Documentation: btrfs: remove usage specific information
btrfs: use kbasename in btrfsic_mount
Btrfs: do not collect ordered extents when logging that inode exists
Btrfs: fix race when checking if we can skip fsync'ing an inode
Btrfs: fix listxattrs not listing all xattrs packed in the same item
Btrfs: fix deadlock between direct IO reads and buffered writes
Btrfs: fix extent_same allowing destination offset beyond i_size
Btrfs: fix file loss on log replay after renaming a file and fsync
Btrfs: fix unreplayable log after snapshot delete + parent dir fsync
Btrfs: fix lockdep deadlock warning due to dev_replace
btrfs: drop unused argument in btrfs_ioctl_get_supported_features
btrfs: add GET_SUPPORTED_FEATURES to the control device ioctls
btrfs: change max_inline default to 2048
...
Diffstat (limited to 'fs/btrfs/dev-replace.h')
-rw-r--r-- | fs/btrfs/dev-replace.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/fs/btrfs/dev-replace.h b/fs/btrfs/dev-replace.h index 20035cbbf021..29e3ef5f96bd 100644 --- a/fs/btrfs/dev-replace.h +++ b/fs/btrfs/dev-replace.h | |||
@@ -34,8 +34,11 @@ int btrfs_dev_replace_cancel(struct btrfs_fs_info *fs_info, | |||
34 | void btrfs_dev_replace_suspend_for_unmount(struct btrfs_fs_info *fs_info); | 34 | void btrfs_dev_replace_suspend_for_unmount(struct btrfs_fs_info *fs_info); |
35 | int btrfs_resume_dev_replace_async(struct btrfs_fs_info *fs_info); | 35 | int btrfs_resume_dev_replace_async(struct btrfs_fs_info *fs_info); |
36 | int btrfs_dev_replace_is_ongoing(struct btrfs_dev_replace *dev_replace); | 36 | int btrfs_dev_replace_is_ongoing(struct btrfs_dev_replace *dev_replace); |
37 | void btrfs_dev_replace_lock(struct btrfs_dev_replace *dev_replace); | 37 | void btrfs_dev_replace_lock(struct btrfs_dev_replace *dev_replace, int rw); |
38 | void btrfs_dev_replace_unlock(struct btrfs_dev_replace *dev_replace); | 38 | void btrfs_dev_replace_unlock(struct btrfs_dev_replace *dev_replace, int rw); |
39 | void btrfs_dev_replace_set_lock_blocking(struct btrfs_dev_replace *dev_replace); | ||
40 | void btrfs_dev_replace_clear_lock_blocking( | ||
41 | struct btrfs_dev_replace *dev_replace); | ||
39 | 42 | ||
40 | static inline void btrfs_dev_replace_stats_inc(atomic64_t *stat_value) | 43 | static inline void btrfs_dev_replace_stats_inc(atomic64_t *stat_value) |
41 | { | 44 | { |