Commit 80de1912 authored by Ilya Dryomov's avatar Ilya Dryomov
Browse files

rbd: lock_on_read map option



Add a per-device option to acquire exclusive lock on reads (in addition
to writes and discards).  The use case is iSCSI, where it will be used
to prevent execution of stale writes after the implicit failover.

Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
Tested-by: default avatarMike Christie <mchristi@redhat.com>
parent 0276dca6
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment