Priority sorting of disk writes is an interesting idea that I haven't explored
and probably should, but my immediate application doesn't fit that model.
My dirty buffers fall into two categories: those that can't be written yet and
those that can. When all the writeable blocks have been written, all the
unwriteable blocks become writeable. So priority sorting doesn't capture this
very well - priority sorting would be suitable if the relationships were more
complex.
all my unwriteable dirty blocks on the locked list and that would probably work
although that certainly isn't what the locked list was intended for. I'd
appreciate opinions about this.
I'd still be faced with the problem of what to do about sync_buffers - I really
need the sync function to be virtualized (a la file_operations) so I can just
sync the blocks that need to be synced, and not sync the blocks that would
overwrite part of an existing, consistent filesystem image.
-- Daniel- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/