Skip to content

block: optimize flush for non-queueable flush drive

[email protected] linux-ide linux-scsi lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 13 repliesIn review
  2. v23 patches 5 repliesSuperseded
  3. v12 patches 13 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3block: add a non-queueable flush flagblock/blk-settings.c include/linux/blkdev.h+13 -03 replies
2/3block: hold queue if flush is running for non-queueable flush driveblock/blk-flush.c block/blk.h include/linux/blkdev.h+32 -68 replies
3/3SATA: enable non-queueable flush flagdrivers/ata/libata-scsi.c+7 -62 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchTejun HeoJeff Garzik
1/3A-b
2/3A-b A-b
3/3A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [patch v3 0/3] block: optimize flush for non-queueable flush drive

Flush request isn't queueable. When it's running, other request can't. We can optimize flush performance according to this knowledge In my test, I got about 20% performance boost.

v2->v3: mainly adds more comments to explain the optimization and changes the code position to enable the optimization in SATA.