mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-20 14:16:31 +00:00
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
This commit is contained in:
+3
-3
@@ -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() /
|
||||
|
||||
Reference in New Issue
Block a user