diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-05-14 23:41:04 -0700 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-05-15 01:46:34 -0700 |
commit | d2bdbee0d91a5d3ba2e439ce889e20bfe6fd4f1b (patch) | |
tree | d15a115283f546b9c2f27949ea340404b9682c11 /include/target | |
parent | 452cf3241a40a372ca5382bd8b51274115beb6de (diff) | |
download | op-kernel-dev-d2bdbee0d91a5d3ba2e439ce889e20bfe6fd4f1b.zip op-kernel-dev-d2bdbee0d91a5d3ba2e439ce889e20bfe6fd4f1b.tar.gz |
target/iblock: Fix WCE=1 + DPOFUA=1 backend WRITE regression
This patch fixes a regression bug introduced in v3.9-rc1 where if the
underlying struct block_device for a IBLOCK backend is configured with
WCE=1 + DPOFUA=1 settings, the rw = WRITE assignment no longer occurs
in iblock_execute_rw(), and rw = 0 is passed to iblock_submit_bios()
in effect causing a READ bio operation to occur.
The offending commit is:
commit d0c8b259f8970d39354c1966853363345d401330
Author: Nicholas Bellinger <nab@linux-iscsi.org>
Date: Tue Jan 29 22:10:06 2013 -0800
target/iblock: Use backend REQ_FLUSH hint for WriteCacheEnabled status
Note the WCE=1 + DPOFUA=0, WCE=0 + DPOFUA=1, and WCE=0 + DPOFUA=0 cases
are not affected by this regression bug.
Reported-by: Chris Boot <bootc@bootc.net>
Tested-by: Chris Boot <bootc@bootc.net>
Reported-by: Hannes Reinecke <hare@suse.de>
Cc: <stable@vger.kernel.org>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/target')
0 files changed, 0 insertions, 0 deletions