Skip to content

btrfs_device fixes

Ilya Dryomov linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Btrfs: find_next_devid: root -> fs_infofs/btrfs/volumes.c+8 -80 replies
2/4Btrfs: add btrfs_alloc_device and switch to itfs/btrfs/volumes.c fs/btrfs/volumes.h+96 -572 replies
3/4Btrfs: add alloc_fs_devices and switch to itfs/btrfs/volumes.c+53 -180 replies
4/4Btrfs: rollback btrfs_device fields on umountfs/btrfs/volumes.c+6 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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