On Mon, Mar 14, 2016 at 04:31:49PM +0800, Anand Jain wrote: > From: Anand Jain <anand.j...@oracle.com> > > This patch introduces new option <devid> for the command > > btrfs device delete <device_path|devid>[..] <mnt> > > In a user reported issue on a 3-disk-RAID1, one disk failed with its > SB unreadable. Now with this patch user will have a choice to delete > the device using devid. > > The other method we could do, is to match the input device_path > to the available device_paths with in the kernel. But that won't > work in all the cases, like what if user provided mapper path > when the path within the kernel is a non-mapper path. > > This patch depends on the below kernel patch for the new feature to work, > however it will fail-back to the old interface for the kernel without the > patch > > Btrfs: Introduce device delete by devid > > Signed-off-by: Anand Jain <anand.j...@oracle.com> > [ refresh on top of current code, sync with latest kernel patches, other > minor changes ] > Signed-off-by: David Sterba <dste...@suse.com>
Patch replaced in devel. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html