David Woodhouse <dwmw2@xxxxxxxxxxxxx> writes: > This time on top of the for-2.6.28 branch of > git://git.kernel.dk/linux-2.6-block.git > > I've made it cope with merging and sorting discard requests, still as a > separate patch at the end of the sequence. I don't think we have a > problem with discards passing writes in the queue, any more than we > _already_ had a problem with writes passing writes. > > I've at least made elv_dispatch_sort() prevent discard requests from > passing read/write requests, just as it already prevented read and write > requests from passing each other. I wonder about I/O schedule impact... Currently it seems we schedule data direction as READ (no flags). Although I'm not sure, we might want to schedule it as WRITE? (I guess WRITE can be allowed delay more than READ...) Thanks. -- OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html