]> git.baikalelectronics.ru Git - kernel.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)
commit700a5fa33383bad017039b9a8c012436fd3d2511
tree6a758d58ed424406f59f24df4c1728d0c3f66982
parentec9308a93fd8cfd14df65e39b1f564c24001e6eb
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