diff options
author | Jan Kara <jack@suse.cz> | 2013-06-04 12:35:11 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2013-06-04 12:35:11 -0400 |
commit | 8f7d89f36829b9061a14f9040cda1372f264c4fe (patch) | |
tree | 2864747255fb15044c376519c0cb10bb223e9361 /fs/ext4/ext4_jbd2.h | |
parent | f29fad72105287e6899d9128a9d494514f220e77 (diff) | |
download | blackbird-op-linux-8f7d89f36829b9061a14f9040cda1372f264c4fe.tar.gz blackbird-op-linux-8f7d89f36829b9061a14f9040cda1372f264c4fe.zip |
jbd2: transaction reservation support
In some cases we cannot start a transaction because of locking
constraints and passing started transaction into those places is not
handy either because we could block transaction commit for too long.
Transaction reservation is designed to solve these issues. It
reserves a handle with given number of credits in the journal and the
handle can be later attached to the running transaction without
blocking on commit or checkpointing. Reserved handles do not block
transaction commit in any way, they only reduce maximum size of the
running transaction (because we have to always be prepared to
accomodate request for attaching reserved handle).
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4_jbd2.h')
0 files changed, 0 insertions, 0 deletions