diff options
author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2009-10-05 14:10:44 -0400 |
---|---|---|
committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2009-10-05 14:10:44 -0400 |
commit | 4ad2bcf6f6fff31ace097f7616b002df445110ec (patch) | |
tree | d7dda7c8cdfcabf1e92ac7044f0e08b3b7cc455c /fs/ocfs2/dlm | |
parent | f8ed8c406d70b9a040807a01de5296d8832cafd7 (diff) |
This fixes a regression introduced by the RTSS'09
improvements.
Just calling unlink() on any task is not safe: it might
reside in a release heap. This was done in the case
that a new blocker increases a lock holder's priority.
To avoid crashing in this case, the FMLP code was changed
to be more careful when propagating an inherited priority.
The code now detects three different scenarios and uses
heap_decrease() to update the position of the lock holder's
heap node. This fixes a simple test case.
Diffstat (limited to 'fs/ocfs2/dlm')
0 files changed, 0 insertions, 0 deletions