From d59230f2fd97415c54293653066a77ba11638674 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Wed, 26 Feb 2014 02:32:39 +0000 Subject: [PATCH] Make internal memory layout more cache friendly git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5315 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 0efc57faf..a2de3b0d5 100644 --- a/scst/include/scst.h +++ b/scst/include/scst.h @@ -2379,9 +2379,6 @@ struct scst_dev_registrant { struct scst_device { unsigned int type; /* SCSI type of the device */ - /* Set if reserved via the SPC-2 SCSI RESERVE command. */ - struct scst_session *reserved_by; - /************************************************************* ** Dev's flags. Updates serialized by dev_lock or suspended ** activity @@ -2468,6 +2465,9 @@ struct scst_device { /* List of commands with lock, if dedicated threads are used */ struct scst_cmd_threads dev_cmd_threads; + /* Set if reserved via the SPC-2 SCSI RESERVE command. */ + struct scst_session *reserved_by; + /********************************************************************** * Persistent reservation fields. Protected as follows: * - Reading PR data must be protected via scst_pr_read_lock() /