Details
-
Bug
-
Resolution: Not a Bug
-
Minor
-
None
-
Lustre 2.8.0
-
None
-
3
-
9223372036854775807
Description
In qmt_glimpse_lock:
While the resource lock (a spin lock) is held, it does
OBD_ALLOC_PTR(work);
This allocation is not atomic, so it can potentially sleep.
Sleeping with a spinlock held is not a good idea in general, and (per Andreas) it is specifically not allowed for GFP_NOFS allocations.