linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Improvements for barrier-test scheduler
@ 2012-01-11  0:44 Jan Kara
  2012-01-11  0:44 ` [PATCH 1/2] barrier-test: Do not flush delayed queue for reads Jan Kara
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Jan Kara @ 2012-01-11  0:44 UTC (permalink / raw)
  To: Chris Mason; +Cc: linux-fsdevel


  Hello Chris,

  I was hunting one ext3/4 barrier related bug and so I used your barrier-test
IO scheduler. It was quite helpful so thank you for it. For my purposes, I
had to tweak it a bit to trigger my problem. I'm not sure if you keep the
scheduler somewhere but if yes, I hope my patches could be of use.

Patch 1 implements raw support for handling reads - we don't have to flush
our delayed writes everytime a read comes. It is enough to do so when some
delayed write overlaps with a read. Scanning the list of delayed writes is slow
but who really cares for barrier-test :)

Patch 2 implements another criteria for reordering requests and triggering
reboot. Filesystem can flag certain bios as special. These bios will go
directly to the backing storage and when they complete, reboot is triggered
if there are enough pending writes. Filesystem can use the flag when writing
commit blocks, superblocks or similarly sensitive metadata to verify whether
barriers are issued in all the necessary places.

								Honza

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

end of thread, other threads:[~2012-01-11 19:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-11  0:44 [PATCH 0/2] Improvements for barrier-test scheduler Jan Kara
2012-01-11  0:44 ` [PATCH 1/2] barrier-test: Do not flush delayed queue for reads Jan Kara
2012-01-11  0:44 ` [PATCH 2/2] barrier-test: Allow filesystem to specify special test request Jan Kara
2012-01-11  1:22 ` [PATCH 0/2] Improvements for barrier-test scheduler Chris Mason
2012-01-11 19:26   ` Jens Axboe

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).