Hannes Reinecke
e791ce27c3
scsi: sg: reset 'res_in_use' after unlinking reserved array
...
Once the reserved page array is unused we can reset the 'res_in_use'
state; here we can do a lazy update without holding the mutex as we only
need to check against concurrent access, not concurrent release.
[mkp: checkpatch]
Fixes: 1bc0eb044615 ("scsi: sg: protect accesses to 'reserved' page array")
Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-04-24 18:18:24 -04:00
..
2017-03-03 21:36:56 -08:00
2017-04-19 22:17:23 -04:00
2017-04-21 10:34:29 -04:00
2016-12-24 11:46:01 -08:00
2016-11-08 17:29:48 -05:00
2017-03-30 11:37:16 -04:00
2017-04-21 10:11:34 -04:00
2017-03-02 08:42:29 +01:00
2017-03-02 08:42:29 +01:00
2017-04-06 12:57:03 -04:00
2017-04-18 21:55:03 -04:00
2017-04-13 22:55:42 -04:00
2017-02-23 16:57:36 -05:00
2017-03-16 19:49:45 -04:00
2017-02-27 18:43:47 -08:00
2017-03-23 09:57:23 -04:00
2017-04-21 10:34:29 -04:00
2017-04-18 21:50:29 -04:00
2017-02-08 10:51:24 -08:00
2017-04-21 10:34:29 -04:00
2017-04-11 20:58:26 -04:00
2017-04-06 13:07:33 -04:00
2017-04-18 22:01:19 -04:00
2017-02-15 21:39:45 -05:00
2017-04-21 10:34:29 -04:00
2017-04-21 10:34:29 -04:00
2017-04-06 12:43:12 -04:00
2017-04-21 10:34:29 -04:00
2017-04-19 22:10:25 -04:00
2017-04-19 22:10:25 -04:00
2017-04-11 20:42:43 -04:00
2017-04-06 13:14:32 -04:00
2017-02-22 18:41:42 -05:00
2017-04-13 22:24:02 -04:00
2016-09-14 13:19:29 -04:00
2017-03-29 22:51:40 -04:00
2016-12-24 11:46:01 -08:00
2016-12-14 15:25:12 -05:00
2016-12-24 11:46:01 -08:00
2016-12-14 15:25:12 -05:00
2016-12-24 11:46:01 -08:00
2016-12-14 15:25:12 -05:00
2017-04-04 19:39:39 -04:00
2017-01-31 21:39:22 -05:00
2017-04-21 10:31:33 -04:00
2017-04-21 10:31:33 -04:00
2016-11-16 20:43:50 -05:00
2017-01-05 00:21:12 -05:00
2017-01-31 21:38:15 -05:00
2016-12-24 11:46:01 -08:00
2017-01-27 15:08:35 -07:00
2016-09-14 14:19:31 -04:00
2017-03-29 22:50:09 -04:00
2017-01-05 00:21:12 -05:00
2016-12-24 11:46:01 -08:00
2017-03-23 12:04:05 -04:00
2017-03-23 12:04:05 -04:00
2016-11-08 17:29:57 -05:00
2016-12-24 11:46:01 -08:00
2017-02-06 19:10:03 -05:00
2017-02-23 17:25:02 -05:00
2017-03-15 18:44:39 -04:00
2017-01-31 21:38:35 -05:00
2017-02-22 19:10:59 -05:00
2016-12-24 11:46:01 -08:00
2017-04-24 18:16:49 -04:00
2017-01-31 21:38:58 -05:00
2017-01-31 21:37:44 -05:00
2017-03-02 08:42:32 +01:00
2017-04-24 18:11:22 -04:00
2017-04-24 18:11:22 -04:00
2016-11-28 15:51:31 -05:00
2017-02-22 19:33:00 -05:00
2017-01-31 22:08:44 -05:00
2016-12-07 18:13:52 -05:00
2017-02-22 18:41:42 -05:00
2017-04-06 13:07:33 -04:00
2017-02-22 19:35:24 -05:00
2017-04-06 13:07:33 -04:00
2017-04-06 13:07:33 -04:00
2016-12-24 11:46:01 -08:00
2016-10-11 18:02:09 -04:00
2016-12-14 15:51:17 -05:00
2017-04-19 19:13:52 -04:00
2017-03-27 22:03:33 -04:00
2017-04-21 10:34:29 -04:00
2017-02-23 16:57:19 -05:00
2017-02-06 19:10:41 -05:00
2017-01-31 14:00:34 -07:00
2016-09-15 09:51:14 -04:00
2016-11-14 13:16:42 -07:00
2017-04-06 13:07:32 -04:00
2017-04-06 13:07:32 -04:00
2017-04-06 12:48:05 -04:00
2017-04-24 18:18:24 -04:00
2017-03-15 19:27:46 -04:00
2017-03-15 19:27:46 -04:00
2017-02-23 16:57:19 -05:00
2017-02-17 14:08:19 -07:00
2017-03-02 08:42:32 +01:00
2017-03-15 19:22:10 -04:00
2017-04-19 19:14:14 -04:00
2017-02-21 11:51:42 -08:00
2017-04-19 19:12:11 -04:00
2017-01-11 22:31:03 -05:00
2017-01-11 22:31:03 -05:00
2016-12-09 10:59:13 +01:00
2017-03-15 19:27:46 -04:00