]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/block/drbd/drbd_receiver.c
drbd: Protect accesses to the uuid set with a spinlock
authorPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 16 Aug 2012 12:25:58 +0000 (14:25 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 30 Oct 2012 07:39:01 +0000 (08:39 +0100)
commit9f2247bb9b75b2be65a12167c89271121b2c90c5
tree3fe1fffca38eddf1a47cc91142cf74fadc82cae6
parent35fd3dc58da675d659513384221349ef90749a01
drbd: Protect accesses to the uuid set with a spinlock

There is at least the worker context, the receiver context, the context of
receiving netlink packts and processes reading a sysfs attribute that access
the uuids.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/drbd/drbd_int.h
drivers/block/drbd/drbd_main.c
drivers/block/drbd/drbd_nl.c
drivers/block/drbd/drbd_receiver.c