btrfs_device fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | Btrfs: find_next_devid: root -> fs_infofs/ | +8 | 0 replies | |
| 2/4 | Btrfs: add btrfs_alloc_device and switch to itfs/ fs/ | +96 | 2 replies | |
| 3/4 | Btrfs: add alloc_fs_devices and switch to itfs/ | +53 | 0 replies | |
| 4/4 | Btrfs: rollback btrfs_device fields on umountfs/ | +6 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] btrfs_device fixes
Hello,
This patch series does two things:
- adds allocation helpers for struct btrfs_device and struct btrfs_fs_devices so that all the list_heads, spinlocks, etc are properly initialized and the code for that is in one place;
- fixes a bug in the umount sequence, which, under certain conditions, can lead to mount failures.
This is on top of 3.11-rc3, but applies cleanly to btrfs-next/master as of now. You can pull from:
git://github.com/idryomov/btrfs-unstable.git dev-fixes
Thanks,
Ilya
Ilya Dryomov (4):
Btrfs: find_next_devid: root -> fs_info
Btrfs: add btrfs_alloc_device and switch to it
Btrfs: add alloc_fs_devices and switch to it
Btrfs: rollback btrfs_device fields on umount
fs/btrfs/volumes.c | 250 +++++++++++++++++++++++++++++++++------------------- fs/btrfs/volumes.h | 3 + 2 files changed, 162 insertions(+), 91 deletions(-)
Signature · 1 line
1.7.10.4