Skip to content
Commit 537632e0 authored by Boaz Harrosh's avatar Boaz Harrosh
Browse files

ore: Unlock r4w pages in exact reverse order of locking



The read-4-write pages are locked in address ascending order.
But where unlocked in a way easiest for coding. Fix that,
locks should be released in opposite order of locking, .i.e
descending address order.

I have not hit this dead-lock. It was found by inspecting the
dbug print-outs. I suspect there is an higher lock at caller that
protects us, but fix it regardless.

Signed-off-by: default avatarBoaz Harrosh <bharrosh@panasas.com>
parent 62b62ad8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment