Re: MaxTransferLength

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

 




On 4/25/18 5:13 AM, Nicolas D wrote:

> Hello,
>
> On Tue, Apr 24, 2018 at 07:53:53AM -0500, Bryant G. Ly wrote:
>> On 4/24/18 7:38 AM, Hannes Reinecke wrote:
>>
>>> 'pscsi' is the SCSI pass-through, so it'll be presenting the
>>> values from the underlying device; I doubt you can change that.
> I have tried to tweak /sys/block/sr0/queue/max_sectors_kb but with no
> luck (sr0 is the backend exported) Can you tell me if targetcli use this
> value? And if yes, when is it taken into account? (on backend creation?
> when the initiator connects? sometime else?)
>
>>> What you could try is to mount the DVD, and export the mountpoint
>>> via the file backend; that way you should be able to tweak the
>>> parameters.
> I forgot to say that the goal is to play dvd/bd video disks and that I
> need the pass-through for all the special commands needed to authenticate
> the drive etc. So using the file backend does not seem to be an option.
>
>> Adding to what Hannes is saying, if you need true dvd/cd emulation you can
>> use file optical media backstore via user:fbo from tcmu-runner.
> Does the user:fbo handle the necessary special command for video dvd/bd?
>
>
Yes, user:fbo was written specifically to emulate optical drives, so it should
handle all the commands you need for dvd.

Bryant

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