ext4: disable synchronous transaction batching if max_batch_time==0

commit 5dd214248f upstream.

The mount manpage says of the max_batch_time option,

	This optimization can be turned off entirely
	by setting max_batch_time to 0.

But the code doesn't do that.  So fix the code to do
that.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Eric Sandeen 2014-07-05 19:18:22 -04:00 • committed by Greg Kroah-Hartman
commit 480edc9475
2 changed files with 4 additions and 3 deletions