Re: [JBD] Handle j_commit_interval == 0

From: Ingo Oeser
Date: Sun Nov 30 2003 - 05:58:35 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Herbert,

On Saturday 29 November 2003 10:24, Herbert Xu wrote:
> After the laptop mode patch was merged, it is now possible for
> j_commit_interval to be zero. Unfortunately jbd doesn't handle
> this situation very well.
>
> This patch makes it do the sensible thing.

What about abstracting these away in "set_journal_expire" and
"is_journal_expired"?

Otherwise this will surely be missed in the future.

Regards

Ingo Oeser

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/yb16U56oYWuOrkARAqqVAKCrTi/s2wzeUVQnKeOSv4rIWi+HawCgzdJZ
RboSmYzfo2uK9Sygpksmatc=
=nLqv
-----END PGP SIGNATURE-----

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/