[dm-devel] [PATCH 9/9] dm crypt: sort writes
Mike Snitzer
snitzer at redhat.com
Tue Apr 1 01:01:29 UTC 2014
On Mon, Mar 31 2014 at 7:37pm -0400,
Akira Hayakawa <hayakawa at valinux.co.jp> 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
More information about the dm-devel
mailing list