Re: Block devices and barriers

2007-05-29 Thread Tejun Heo
Hello, Neil Brown wrote: >> but I can't find a way to actually trigger the calling of >> ps3disk_issue_flush() >> and ps3disk_prepare_flush(). >> >> 1. My prepare_flush_fn() routine should be called from queue_flush(), which >> is >> in turn called by start_ordered(). >> start_ordered()

Re: Block devices and barriers

2007-05-28 Thread Neil Brown
On Monday May 21, [EMAIL PROTECTED] wrote: > Hi, > > I'm adding cache flush support to the PS3 disk driver and have a few questions > related to barriers. > > In my driver, I do: > > blk_queue_issue_flush_fn(queue, ps3disk_issue_flush); > blk_queue_ordered(queue, QUEUE_ORDERED_DRAI

Block devices and barriers

2007-05-21 Thread Geert Uytterhoeven
Hi, I'm adding cache flush support to the PS3 disk driver and have a few questions related to barriers. In my driver, I do: blk_queue_issue_flush_fn(queue, ps3disk_issue_flush); blk_queue_ordered(queue, QUEUE_ORDERED_DRAIN_FLUSH, ps3disk_prepare_flush); but I can't find a way to