[stgt] setting write cache fails in recent git

Doron Shoham dorons at Voltaire.COM
Thu Oct 16 14:21:52 CEST 2008


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 at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list