[GIT PULL] Device replace fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Filipe Manana <fdmanana@xxxxxxxx>

Hi Chris,

Please consider the following device replace related fixes for inclusion
in a future 4.7 release candidate kernel. These were all previously sent
to the mailing list and reviewed by Josef (and I recently rebased them
against your for-linus-4.7 branch). They mostly fix crashes, invalid
memory accesses and data/metadata loss (some extents, or entire block
groups, end up not being copied from the source device into the target
device).

Thanks.

The following changes since commit 56244ef151c3cd11f505020ab0b3f45454363bcc:

  Btrfs: fix handling of faults from btrfs_copy_from_user (2016-05-26 13:23:59 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/fdmanana/linux.git dev-replace-fixes-4.7

for you to fetch changes up to b5de8d0df80fa87f1f97fbcc4bbc8cad0a018802:

  Btrfs: fix race between device replace and read repair (2016-05-31 01:00:03 +0100)

----------------------------------------------------------------
Filipe Manana (8):
      Btrfs: fix race between readahead and device replace/removal
      Btrfs: fix race between device replace and block group removal
      Btrfs: fix race setting block group readonly during device replace
      Btrfs: fix unprotected assignment of the left cursor for device replace
      Btrfs: fix race setting block group back to RW mode during device replace
      Btrfs: fix race between device replace and chunk allocation
      Btrfs: fix race between device replace and discard
      Btrfs: fix race between device replace and read repair

 fs/btrfs/extent-tree.c  |  6 ++++++
 fs/btrfs/extent_io.c    | 10 ++++++++++
 fs/btrfs/ordered-data.c |  6 +++++-
 fs/btrfs/ordered-data.h |  2 +-
 fs/btrfs/reada.c        |  2 ++
 fs/btrfs/scrub.c        | 50 +++++++++++++++++++++++++++++++++++++++++++++++---
 fs/btrfs/volumes.c      | 32 ++++++++++++++++++++------------
 7 files changed, 91 insertions(+), 17 deletions(-)

-- 
2.7.0.rc3

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux