Messages in this thread | | | Date | Wed, 25 Mar 2009 23:27:50 +0200 | From | Benny Halevy <> | Subject | Re: Linux 2.6.29 |
| |
On Mar. 25, 2009, 22:16 +0200, Jeff Garzik <jeff@garzik.org> wrote: > Ric Wheeler wrote:> And, as I am sure that you do know, to add insult to > injury, FLUSH_CACHE >> is per device (not file system). >> >> When you issue an fsync() on a disk with multiple partitions, you will >> flush the data for all of its partitions from the write cache.... > > SCSI'S SYNCHRONIZE CACHE command already accepts an (LBA, length) pair. > We could make use of that. > > And I bet we could convince T13 to add FLUSH CACHE RANGE, if we could > demonstrate clear benefit.
One more example of flexible, fine grain flush (though quite far out) are T10 OSDs with which you can flush a byte range of a single object (or collection, partition, or the whole device LUN)
Benny
> > Jeff > > > > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/
| |