]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC: r236579
authormarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 14 Jun 2012 19:55:19 +0000 (19:55 +0000)
committermarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 14 Jun 2012 19:55:19 +0000 (19:55 +0000)
commit33062d5a14c24deb60e7c9b5e732d68c4164d413
tree75aadf79dc6ee802f4e4507a52872d46b5b7e46e
parent8f1a5c410ccb7e3bc8963c98d35fe73edf906ae9
MFC: r236579

The workaround added in r151650 for handling firmwares that don't allow
a single device to be opened multiple times concurrently unfortunately
isn't sufficient with ZFS. This is due to the fact, that ZFS may open
different partitions of a single device simultaneously. So the best we
can do in this case is to cache the lastly used device path and close
and open devices in ofwd_strategy() as needed.

PR: 165025
Submitted by: Gavin Mu

git-svn-id: svn://svn.freebsd.org/base/stable/9@237091 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/boot/ofw/libofw/ofw_disk.c