Skip to content
Commit 3e624fc7 authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

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: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent 22359f57
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment