[RFC PATCH 0/9] tcmu: fix add/del failure handling

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

 



Currently, tcmu does not get any response from userspace for
device addition, removal and now reconfigure requests. This can
result in partially created devices that initiators have access to
and do not handle well.

The first patch is just some cleanups to the reconfigure code.

Patches 2 - 3, make the dev_index idr based, because tcmu needs a way
for userspace to tell the kernel that it has executed a operation on
a device.

Patches 4 makes add, del and reconfig sync so we can get info back from
userspace before return succes/failure to LIO.

Patches 5 - 6 fix bugs in tcmu found during addition failure handling.

Patches 7 - 9 convert the xcopy code to use the idr helpers to loop
over devices. I have not tested patches 7 - 9.


--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux