Skip to content

cleanup btrfs_find_device and fix sysbot warning

Anand Jain linux-btrfs 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/23 patches 4 repliesIn review
  2. v2 posting 1/21 of 2 patches 2 repliesSuperseded
  3. v12 patches 18 repliesSuperseded

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3btrfs: drop never met condition of disk_total_bytes == 0fs/btrfs/volumes.c+10 -153 replies
2/3btrfs: fix btrfs_find_device unused arg seedfs/btrfs/dev-replace.c fs/btrfs/ioctl.c fs/btrfs/scrub.c +2 more+17 -190 replies
3/3btrfs: fix devid 0 without a replace item by failing the mountfs/btrfs/dev-replace.c fs/btrfs/volumes.c+31 -210 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchNikolay BorisovJosef Bacik
1/3R-b
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH RESEND v2 0/3] cleanup btrfs_find_device and fix sysbot warning

Patch 1 and 2 are cleanups. They were sent before with the cover-letter as below.
[PATCH RESEND 0/2] fix verify_one_dev_extent and btrfs_find_device

Patch 3 is a fix for the Warning reported by sysbot. This also was sent before with the cover-letter titled as below.
[PATCH 0/1] handle attacking device with devid=0

To avoid conflict fixes, please apply these patches in the order it is sent here. But the sets are not related.

Both of these patchsets are at v2 at the latest. So I am marking all of them as v2. The individual changes are in the patches.

Also earlier resend patches were threaded under its previous cover-letter (though --in-reply-to was not used to generate/send those patches). So I am trying to resend these patches again, hopefully, they are not threaded to the older series again.

Anand Jain (3):
btrfs: drop never met condition of disk_total_bytes == 0
btrfs: fix btrfs_find_device unused arg seed
btrfs: fix devid 0 without a replace item by failing the mount

 fs/btrfs/dev-replace.c | 30 ++++++++++++++---
 fs/btrfs/ioctl.c       |  4 +--
 fs/btrfs/scrub.c       |  4 +--
 fs/btrfs/volumes.c     | 73 ++++++++++++++++--------------------------
 fs/btrfs/volumes.h     |  2 +-
 5 files changed, 58 insertions(+), 55 deletions(-)
Signature · 1 line
2.25.1