From: Christoph Hellwig <hch@lst.de>
To: marcelo@hera.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] use list_add_tail in buffer_insert_list
Date: Mon, 25 Aug 2003 16:01:25 +0200 [thread overview]
Message-ID: <20030825140125.GA17194@lst.de> (raw)
This is a really old patch from the XFS tree.
We need to call list_add_tail in buffer_insert_list to preserve buffer
ordering. This essential for a good extent layout with XFS's delayed
allocation and a while ago the reiserfs group requested the same change.
ACKed by sct.
--- 1.77/fs/buffer.c Sun Aug 3 16:49:59 2003
+++ edited/fs/buffer.c Tue Aug 5 01:42:38 2003
@@ -619,7 +655,7 @@
if (buffer_attached(bh))
list_del(&bh->b_inode_buffers);
set_buffer_attached(bh);
- list_add(&bh->b_inode_buffers, list);
+ list_add_tail(&bh->b_inode_buffers, list);
spin_unlock(&lru_list_lock);
}
reply other threads:[~2003-08-25 14:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030825140125.GA17194@lst.de \
--to=hch@lst.de \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@hera.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox