From 5b1ee63f2fb72481a581dd5e34cce3f66478af1f Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Tue, 23 Jul 2013 02:22:01 +0000 Subject: [PATCH] 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 --- scst/include/scst.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scst/include/scst.h b/scst/include/scst.h index c3f5196d6..fd0fc69d7 100644 --- a/scst/include/scst.h +++ b/scst/include/scst.h @@ -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;