Re: setting write cache fails in recent git

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

 



Tomasz Chmielewski wrote:
> Tomasz Chmielewski schrieb:
>> Doron Shoham schrieb:
>>
>> (...)
>>
>>> I want to add bstype to the target show,
>>> and to add additional option in the conf file of
>>> tgt-admin("backing-store /dev/sdb <bstype>).
>>> Does it sounds ok?
>>> If so, Tomasz, can u please guide me how to add it to the tgt-admin?
>>
>> Could you give me an example tgtadm code which does this?
> 
> I meant syntax, like:
> 
> tgtadm --some option --here bstype
> 
> 

You will define in the conf file:
backing-store /dev/sdb <bstype> 
bstype can be aio, mmap, null, rdwr or ssc.

and the equivalent tgtadm command will be something like:
tgtadm -- tgtadm --lld $driver --op new --mode logicalunit --tid $next_tid --lun $lun -b $backing_store -E $bstype

btw,
what is the "device-type" config option?



Thanks,
Doron
--
To unsubscribe from this list: send the line "unsubscribe stgt" 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]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux