commit | 80de19122866d0a65f741e7ff2d5d20842d22d6b | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <idryomov@gmail.com> | Tue Sep 20 14:23:17 2016 +0200 |
committer | Ilya Dryomov <idryomov@gmail.com> | Mon Oct 03 16:13:47 2016 +0200 |
tree | e840143ecf05346a1c33ef4f1110ddf4677d8f46 | |
parent | 0276dca6c1ecb9a665645ff573e70685a57759af [diff] |
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: Ilya Dryomov <idryomov@gmail.com> Tested-by: Mike Christie <mchristi@redhat.com>