Fill missing devices so degraded filesystems can be read
authorChris Mason <chris.mason@oracle.com>
Wed, 15 Dec 2010 21:00:23 +0000 (16:00 -0500)
committerChris Mason <chris.mason@oracle.com>
Fri, 22 Apr 2011 18:52:40 +0000 (14:52 -0400)
commit7cd060deeac7828c8d0d7468d9c246d6c7ef77b2
tree2ceb9339f21074be3cfacf840bc36496695dc284
parent375714fe1181d1cca400dcfbcdb4fc29c6dfa5d6
Fill missing devices so degraded filesystems can be read

When a device is missing, the btrfs tools need to be able to read alternate
copies from the remaining devices.  This creates placeholder devices
that always return -EIO so the tools can limp along.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
disk-io.c
volumes.c