From: Theodore Ts'o Date: Fri, 17 Oct 2008 00:00:24 +0000 (-0400) Subject: ext4: Replace hackish ext4_mb_poll_new_transaction with commit callback X-Git-Tag: v2.6.28-rc1~257^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e624fc72fba09b6f999a9fbb87b64efccd38036;p=pandora-kernel.git ext4: Replace hackish ext4_mb_poll_new_transaction with commit callback The multiblock allocator needs to be able to release blocks (and issue a blkdev discard request) when the transaction which freed those blocks is committed. Previously this was done via a polling mechanism when blocks are allocated or freed. A much better way of doing things is to create a jbd2 callback function and attaching the list of blocks to be freed directly to the transaction structure. Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed