Ryan Libby 59fb4a95c7 witness: sleepable rm locks are not sleepable in read mode
There are two classes of rm lock, one "sleepable" and one not.  But even
a "sleepable" rm lock is only sleepable in write mode, and is
non-sleepable when taken in read mode.

Warn about sleepable rm locks in read mode as non-sleepable locks.  Do
this by defining a new lock operation flag, LOP_NOSLEEP, to indicate
that a lock is non-sleepable despite what the LO_SLEEPABLE flag would
indicate, and defining a new witness lock instance flag, LI_SLEEPABLE,
to track the product of LO_SLEEPABLE and LOP_NOSLEEP on the lock
instance.

Reviewed by:	markj
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D22527
2019-11-27 01:54:39 +00:00
..
2019-09-25 19:20:41 +00:00
2019-09-03 18:56:25 +00:00
2019-08-28 16:18:23 +00:00
2019-09-25 19:20:41 +00:00
2018-12-05 16:43:03 +00:00
2019-11-21 13:59:01 +00:00
2019-03-12 05:10:41 +00:00
2018-10-12 00:32:45 +00:00
2019-11-22 23:23:40 +00:00
2018-08-18 19:45:56 +00:00
2019-10-17 21:33:01 +00:00
2019-09-16 21:31:02 +00:00
2018-06-01 13:26:45 +00:00
2019-02-20 09:38:19 +00:00
2019-11-06 19:44:44 +00:00
2019-07-24 23:04:59 +00:00
2018-11-20 14:58:41 +00:00
2019-09-26 15:41:10 +00:00
2018-06-01 13:26:45 +00:00
2019-08-28 20:34:24 +00:00