Re: [PATCH] rtslib/tcm: Add NULLIO support for rd_dr/rd_mcp

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

 



On 04/29/2014 05:01 AM, Sagi Grimberg wrote:
When the user creates a RAM device with size=0 we
interperet it as implicit NULLIO option (Instead
of modifying size to 1).

We still set the size to a fixed NULLIO_SIZE of 1T
in order to emulate a large storage device to the
fabric.

Signed-off-by: Sagi Grimberg <sagig@xxxxxxxxxxxx>
Reported-by: Slava Shwartsman <valyushash@xxxxxxxxx>

rtslib-fb already has support for nullio via a "nullio" boolean param to RDMCPStorageObject, which I think is a little cleaner and allows flexible nullio volume size. I'd encourage Datera rtslib to also adopt a similar approach.

(Also, rd_dr is gone so rtslib can remove support for it.)

Regards -- Andy

--
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