Re: Set deactivation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Heinz Mauelshagen wrote:
They both call dmraid_uuid for DM_DEVICE_CREATE.

No, -rc15 does set the UUID, -rc14 doesn't.

The difference is that rc14 only calls dm_task_run for DM_DEVICE_CREATE,

No, -rc14 calls dm_task_run for both DM_DEVICE_CREATE and
DM_DEVICE_REMOVE:

<snip>

        ret = (dmt = dm_task_create(type)) && dm_task_set_name(dmt,
rs->name);
        if (ret && table)
                ret = parse_table(lc, dmt, table);

/**** Here dm_task_run() is being called for *and* type, unless dm
infrastructure or table parse failure ****/
       if (ret)
                ret = dm_task_run(dmt);

Nevermind... we've been looking at different code because I forgot to revert the debian/ubuntu dpatches and it seems one of them adds UUID support to rc14, and looks like it does so incorrectly because it prevents dm_task_run() from being called for type != DM_DEVICE_CREATE.

_______________________________________________
Ataraid-list mailing list
Ataraid-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/ataraid-list

[Index of Archives]     [Linux RAID]     [Linux Device Mapper]     [Linux IDE]     [Linux SCSI]     [Kernel]     [Linux Books]     [Linux Admin]     [GFS]     [RPM]     [Yosemite Campgrounds]     [AMD 64]

  Powered by Linux