target/rd: Allow WriteCacheEnabled=1 operation with rd_mcp backends
authorNicholas Bellinger <nab@linux-iscsi.org>
Thu, 23 Aug 2012 01:53:12 +0000 (18:53 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 18 Sep 2012 00:13:32 +0000 (17:13 -0700)
commita60fbbc446a75e077d6e20e0bdb32adfefbec569
treef557a89cbcaf06f1f3d21c4daf9fb44167cadf06
parent852b6ed110990891d21bf76b4f46a3c854866f67
target/rd: Allow WriteCacheEnabled=1 operation with rd_mcp backends

This patch adds the missing rd_mcp_template->write_cache_emulated=1 bit to
optionally allow WriteCacheEnabled=1 (WCE) to be enabled for the built-in
TCM/rd_mcp backend driver.

Tested on v3.6-rc[0,2] code with loopback+tcm_vhost fabric ports.

Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_rd.c
This page took 0.024801 seconds and 5 git commands to generate.