All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] btrfs-progs: forget removed devices
@ 2024-02-29 18:36 Boris Burkov
  2024-02-29 18:36 ` [PATCH 1/2] btrfs-progs: allow btrfs device scan -u on dead dev Boris Burkov
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Boris Burkov @ 2024-02-29 18:36 UTC (permalink / raw)
  To: linux-btrfs, kernel-team

To fix bugs in multi-dev filesystems not handling a devt changing under
them when a device gets destroyed and re-created with a different devt,
we need to forget devices as they get removed.

Modify scan -u to take advantage of the kernel taking unvalidated block
dev names and modify udev to invoke this scan -u on device remove.

Boris Burkov (2):
  btrfs-progs: allow btrfs device scan -u on dead dev
  btrfs-progs: add udev rule to forget removed device

 64-btrfs-rm.rules | 7 +++++++
 Makefile          | 2 +-
 cmds/device.c     | 2 +-
 3 files changed, 9 insertions(+), 2 deletions(-)
 create mode 100644 64-btrfs-rm.rules

-- 
2.43.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-03-04 21:27 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-29 18:36 [PATCH 0/2] btrfs-progs: forget removed devices Boris Burkov
2024-02-29 18:36 ` [PATCH 1/2] btrfs-progs: allow btrfs device scan -u on dead dev Boris Burkov
2024-02-29 18:36 ` [PATCH 2/2] btrfs-progs: add udev rule to forget removed device Boris Burkov
2024-02-29 19:53   ` David Sterba
2024-02-29 20:34     ` Boris Burkov
2024-03-01  2:31 ` [PATCH 0/2] btrfs-progs: forget removed devices Anand Jain
2024-03-01 11:54   ` David Sterba
2024-03-01 15:44     ` Boris Burkov
2024-03-04 18:07       ` David Sterba
2024-03-04 21:27         ` Boris Burkov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.