diff options
author | Dmitry Monakhov <dmonakhov@openvz.org> | 2013-06-13 02:24:07 (GMT) |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2013-06-13 02:24:07 (GMT) |
commit | 9ff864462477206bc23b405a6ae506e92fb6dc9c (patch) | |
tree | 9d040520569d8943c33b29e310d5f6e6ccb7a7c1 /include/linux/user_namespace.h | |
parent | 981250ca89261f98bdfd2d6be1fcccb96cbbc00d (diff) | |
download | linux-fsl-qoriq-9ff864462477206bc23b405a6ae506e92fb6dc9c.tar.xz |
jbd2: optimize jbd2_journal_force_commit
Current implementation of jbd2_journal_force_commit() is suboptimal because
result in empty and useless commits. But callers just want to force and wait
any unfinished commits. We already have jbd2_journal_force_commit_nested()
which does exactly what we want, except we are guaranteed that we do not hold
journal transaction open.
Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'include/linux/user_namespace.h')
0 files changed, 0 insertions, 0 deletions