Thanks, On Fri, Apr 22, 2011 at 2:08 PM, Christoph Hellwig <h...@lst.de> wrote: > On Fri, Apr 22, 2011 at 06:23:58AM +1000, ronniesahlb...@gmail.com wrote: >> iSCSI block driver for QEMU >> >> Please find an updated iSCSI patch. >> This patch adds setting FUA on all writes when the bit >> BDRV_O_CACHE_WB is not set. > > At this point you need to check for BDRV_O_CACHE_WB and BDRV_O_NOCACHE > as they both have writeback cache semantics. I submitted a patch to clean > that up, but it didn't get merged yet. >
So I should set FUA when BDRV_O_CACHE_WB==0 or BDRV_O_NOCACHE==1 right? regards ronnie sahlberg