Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ac1f9ef2 authored by Mike Snitzer's avatar Mike Snitzer
Browse files

dm log userspace: split flush_entry_pool to be per dirty-log



Use a single slab cache to allocate a mempool for each dirty-log.
This _should_ eliminate DM's need for io_schedule_timeout() in
mempool_alloc(); so io_schedule() should be sufficient now.

Also, rename struct flush_entry to dm_dirty_log_flush_entry to allow
KMEM_CACHE() to create a meaningful global name for the slab cache.

Also, eliminate some holes in struct log_c by rearranging members.

Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
Acked-by: default avatarHeinz Mauelshagen <heinzm@redhat.com>
parent 851c9f38
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment