Brian Behlendorf 0d8103d956 Leaf vdevs should not be reopened
When vdev_disk.c was implemented for Linux we failed to handle the
reopen case.  According to the vdev_reopen() comment leaf vdevs should
not be closed or opened when v->vdev_reopening is set.  Under Linux
we would always close and open the device.

This issue was only noticed when a 'zpool scrub' command was run while
the leaf vdev device names in /dev/disk/by-vdev were missing.  The
scrub command calls vdev_reopen() which caused the vdevs to be closed
but they couldn't be reopened due to the missing links.  The result
was that all the vdevs were marked unavailable and the pool was
halted due to failmode=wait.

This patch adds the missing functionality in a similiar fashion to
to the Illumos code.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
2013-02-28 12:02:59 -08:00
2013-01-29 12:23:17 -08:00
2013-01-29 12:23:17 -08:00
2013-01-29 12:23:17 -08:00
2013-02-05 15:34:50 -08:00
2013-02-28 12:02:59 -08:00
2013-01-29 12:23:17 -08:00
2013-01-29 12:23:17 -08:00
2012-09-11 10:15:13 -07:00
2012-12-19 09:47:25 -08:00
2012-08-27 11:47:44 -07:00
2013-01-29 12:23:17 -08:00
2012-08-26 13:49:37 -07:00
2010-05-18 10:32:23 -07:00
2013-02-01 11:26:55 -08:00
2008-12-01 14:49:34 -08:00
2013-01-29 12:23:17 -08:00
2010-08-26 14:24:34 -07:00
2013-02-12 13:59:09 -08:00

Native ZFS for Linux! ZFS is an advanced file system and volume manager which was originally developed for Solaris. It has been successfully ported to FreeBSD and now there is a functional Linux ZFS kernel port too. The port currently includes a fully functional and stable SPA, DMU, and ZVOL with a ZFS Posix Layer (ZPL) on the way!

$ ./configure
$ make pkg

To copy the kernel code inside your kernel source tree for builtin compilation:

$ ./configure --enable-linux-builtin --with-linux=/usr/src/linux-...
$ ./copy-builtin /usr/src/linux-...

Full documentation for building, configuring, and using ZFS can be found at: http://zfsonlinux.org

S
Description
No description provided
Readme 122 MiB
Languages
C 70.2%
Shell 19.9%
Assembly 5.1%
M4 1.9%
Python 1.6%
Other 1.3%