Make ALUA commands filtering more CPU cache friendly

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4920 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2013-07-23 02:22:01 +00:00
parent 89e96c6495
commit 5b1ee63f2f
+3 -3
View File
@@ -2562,6 +2562,9 @@ struct scst_tgt_dev {
/* How many cmds alive on this dev in this session */
atomic_t tgt_dev_cmd_count ____cacheline_aligned_in_smp;
/* ALUA command filter */
bool (*alua_filter)(struct scst_cmd *cmd);
struct scst_order_data *curr_order_data;
struct scst_order_data tgt_dev_order_data;
@@ -2608,9 +2611,6 @@ struct scst_tgt_dev {
unsigned short tgt_dev_valid_sense_len;
uint8_t tgt_dev_sense[SCST_SENSE_BUFFERSIZE];
/* ALUA command filter */
bool (*alua_filter)(struct scst_cmd *cmd);
#ifndef CONFIG_SCST_PROC
/* sysfs release completion */
struct completion *tgt_dev_kobj_release_cmpl;