-
由 Mike Snitzer 提交于
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: NMike Snitzer <snitzer@redhat.com> Acked-by: NHeinz Mauelshagen <heinzm@redhat.com>
ac1f9ef2