From: Nicholas Bellinger Date: Sat, 4 Oct 2014 01:06:08 +0000 (+0000) Subject: target: Add force_pr_aptpl device attribute X-Git-Tag: fixes-against-v3.18-rc2~19^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92404e609a2dffc55a9a22540ed48b6f0edc9c59;p=pandora-kernel.git target: Add force_pr_aptpl device attribute This patch adds a force_pr_aptpl device attribute used to force SPC-3 PR Activate Persistence across Target Power Loss (APTPL) operation. This makes PR metadata write-out occur during state change regardless if new PERSISTENT_RESERVE_OUT CDBs have their APTPL feature bit set. This is useful during H/A failover in active/passive setups where all PR state is being re-created on a different node, driven by configfs backend device + export layout and pre-loaded $DEV/pr/res_aptpl_metadata. Cc: Mike Christie Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed