[Stgt-devel] disabling write cache?
Wed Jun 25 15:39:21 CEST 2008
FUJITA Tomonori schrieb:
> I've uploaded two patches:
> With the patches, you can disable write caching in the following way:
> tgtadm --lld iscsi --op update --mode logicalunit --tid 1 --lun 1 --params mode_page=8:0:18:0x10:0:0xff:0xff:0:0:0xff:0xff:0xff:0xff:0x80:0x14:0:0:0:0:0:0
> Note that you need to modify tid and lun in your environment.
Any chance of having it more human-readable? I.e. something similar to
"--params write_cache=disable" instead of 8:0:18:0x10:0:0xff:0xff:0:...?
> Shortly, I'll let you control write caching via sdparm too.
Could you notify the list when controlling via sdparm hits the git tree?
More information about the stgt