Re: [PATCHv2 2/4] target/user: Only support full command pass-through

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

 



On Wed, May 20, 2015 at 04:08:54PM +0300, Ilias Tsitsimpis wrote:
> Why does hw_block_size need to be configurable via dev params? Since
> TCMU is now a full pass-through SCSI implementation, userspace gets to
> answer the READ CAPACITY command and decide the hw_block_size itself.
> Setting this parameter to a value (say 512) has no effect if the TCMU
> handler replies to the READ CAPACITY command with a different value.

Agreed, having to configure the block size seems odd.  But maybe it's
my fault because I suggested to keep the attributes the same as pscsi?

To be honest having this in pscsi seems broken, but given that pscsi
doesn't handle non-disk devices well no one might have noticed.

Nic, any reason we bother with exposting the block size attribute
for pscsi?
--
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