linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Sorting blocks in xfs_buf_delwri_submit_buffers() still necessary?
@ 2021-10-13 17:13 Holger Hoffstätte
  2021-10-13 20:57 ` Dave Chinner
  0 siblings, 1 reply; 3+ messages in thread
From: Holger Hoffstätte @ 2021-10-13 17:13 UTC (permalink / raw)
  To: linux-xfs

Hi,

Based on what's going on in blk-mq & NVMe land I though I'd check if XFS still
sorts buffers before sending them down the pipe, and sure enough that still
happens in xfs_buf.c:xfs_buf_delwri_submit_buffers() (the comparson function
is directly above). Before I make a fool of myself and try to remove this,
do we still think this is necessary? If there's a scheduler it will do the
same thing, and SSD/NVMe might do the same in HW anyway or not care.
The only scenario I can think of where this might make a difference is
rotational RAID without scheduler attached. Not sure.

I'm looking forward to hear what a foolish idea this is.

cheers
Holger

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-10-14  7:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-13 17:13 Sorting blocks in xfs_buf_delwri_submit_buffers() still necessary? Holger Hoffstätte
2021-10-13 20:57 ` Dave Chinner
2021-10-14  7:33   ` Holger Hoffstätte

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).