[illumos-Developer] webrev & design change: blkdev should support dump

Alexey Zaytsev alexey.zaytsev at gmail.com
Wed Jun 29 17:44:24 PDT 2011


On Thu, Jun 30, 2011 at 01:13, Garrett D'Amore <garrett at nexenta.com> wrote:
> As part of some some future support coming (virtio block device
> support), I've added support for dump(9e) to blkdev.  This necessitated
> some changes to the blkdev API, as it turns out that I need to be able
> to *read* a label from a blkdev device even with interrupts disabled.
>
> The webrev is here:
>
> http://mexico.purplecow.org/gdamore/webrev/blkdevdump/

Hey.

I think you forgot to remove the
+           (P2PHASE(nblk, 1U << bd->d_blkshift) != 0)) {
from bd_dump().

Otherwise, it's identical to what I have, so feel free to add a

Tested-by: Alexey Zaytsev <alexey.zaytsev at nexenta.com>



More information about the Developer mailing list