[illumos-Developer] webrev & design change: blkdev should support dump
Garrett D'Amore
garrett at nexenta.com
Sun Jul 3 06:35:35 PDT 2011
i fixed it in my tree already, i just did not regenerate the webrev.
-- Garrett D'Amore
On Jul 3, 2011, at 12:36 AM, "Alexey Zaytsev" <alexey.zaytsev at gmail.com> wrote:
> On Thu, Jun 30, 2011 at 05:19, Garrett D'Amore <garrett at nexenta.com> wrote:
>> On Thu, 2011-06-30 at 04:44 +0400, Alexey Zaytsev wrote:
>>> 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().
>>
>> Oh crap. I forgot about that. I'll fix it.
>
> As Garrett seems to be a bit busy, I've fixed the patch.
> Webrev available here: http://zaytsev.su/webrevs/blkdev-dump
>
> Not sure if it's acceptable by the procedure, but I guess it won't hurt.
More information about the Developer
mailing list