On Mon, Mar 31 2014 at 7:37pm -0400, Akira Hayakawa <hayakawa@xxxxxxxxxxxxx> wrote: > Hi, > > This is just a comment. > > I like this sorting and I would like to apply this sorting code also to dm-writeboost. > https://github.com/akiradeveloper/dm-writeboost > > Hope that improves the writeback. > dm-writeboost writes back multiple (e.g. 4KB * 1000) data in cache device at once > hoping that the scheduler sorts them implicitly. > Explictly sort them possibly makes writeback more efficient. > > Thanks for the code. OK. FYI, I cleaned the code up a little today based on Milan's dislike for the #define within the function, see: https://git.kernel.org/cgit/linux/kernel/git/device-mapper/linux-dm.git/commit/?h=for-next&id=039e943277604c3f4f6b4ee803b8793627d53d36 -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel