From: Mike Snitzer Date: Thu, 12 Feb 2015 20:20:35 +0000 (-0500) Subject: dm log userspace: split flush_entry_pool to be per dirty-log X-Git-Tag: omap-for-v4.1/fixes-rc1~106^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac1f9ef211d5dd70110fa4bec6e8866b2c3a965e;p=pandora-kernel.git 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 Acked-by: Heinz Mauelshagen --- Reading git-diff-tree failed