diff options
author | Mike Snitzer <snitzer@redhat.com> | 2015-02-12 15:20:35 -0500 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2015-03-31 12:03:47 -0400 |
commit | ac1f9ef211d5dd70110fa4bec6e8866b2c3a965e (patch) | |
tree | 7fea1ecaf18a74bf1e3fd48e3aebe13f36ed2970 /drivers/md/dm-cache-policy-mq.c | |
parent | 851c9f38e4199adb612366f8e202036d624d5de2 (diff) | |
download | linux-ac1f9ef211d5dd70110fa4bec6e8866b2c3a965e.tar.bz2 |
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: Mike Snitzer <snitzer@redhat.com>
Acked-by: Heinz Mauelshagen <heinzm@redhat.com>
Diffstat (limited to 'drivers/md/dm-cache-policy-mq.c')
0 files changed, 0 insertions, 0 deletions