Commit 8af79dc1 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Christoph Hellwig

[XFS] insert dirty buffers at the tail of the inode queue

SGI Modid: 2.5.x-xfs:slinx:139992a
parent c300156f
...@@ -659,8 +659,7 @@ void buffer_insert_list(spinlock_t *lock, ...@@ -659,8 +659,7 @@ void buffer_insert_list(spinlock_t *lock,
struct buffer_head *bh, struct list_head *list) struct buffer_head *bh, struct list_head *list)
{ {
spin_lock(lock); spin_lock(lock);
list_del(&bh->b_assoc_buffers); list_move_tail(&bh->b_assoc_buffers, list);
list_add(&bh->b_assoc_buffers, list);
spin_unlock(lock); spin_unlock(lock);
} }
......
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