]> asedeno.scripts.mit.edu Git - linux.git/commit
skd: Convert several per-device scalar variables into atomics
authorBart Van Assche <bart.vanassche@wdc.com>
Thu, 17 Aug 2017 20:13:27 +0000 (13:13 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 18 Aug 2017 14:45:29 +0000 (08:45 -0600)
commit6fbb2de5c960e4d5f769bb0bfb958e306ccc83ee
tree6a758d58ed424406f59f24df4c1728d0c3f66982
parentf18c17c889e2d3a9fa079ca883534b41d9dd3155
skd: Convert several per-device scalar variables into atomics

Convert the per-device scalar variables that are protected by the
queue lock into atomics such that it becomes safe to access these
variables without holding the queue lock.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/skd_main.c