Commit f8b4e5fa authored by Stephen Lord's avatar Stephen Lord

[XFS] Move the pagebuf_runall_queues out from under a spinlock, if it

sleeps (which it might), this is not the right place for it to
be. There is also no reason for it to be under a spinlock.

SGI Modid: 2.5.x-xfs:slinx:151032a
parent abbb78cc
......@@ -1689,11 +1689,11 @@ pagebuf_delwri_flush(
int pincount = 0;
int flush_cnt = 0;
pagebuf_runall_queues(pagebuf_dataio_workqueue);
spin_lock(&pbd_delwrite_lock);
INIT_LIST_HEAD(&tmp);
pagebuf_runall_queues(pagebuf_dataio_workqueue);
list_for_each_safe(curr, next, &pbd_delwrite_queue) {
pb = list_entry(curr, page_buf_t, pb_list);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment