Re: [JBD] Handle j_commit_interval == 0

From: Ingo Oeser (ioe-lkml_at_rameria.de)
Date: 11/30/03

  • Next message: Ingo Oeser: "Re: [PATCH 2.6]: IPv4: strcpy -> strlcpy"
    To: Herbert Xu <herbert@gondor.apana.org.au>
    Date:	Sun, 30 Nov 2003 10:50:50 +0100
    
    

    -----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@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Ingo Oeser: "Re: [PATCH 2.6]: IPv4: strcpy -> strlcpy"

    Relevant Pages

    • laptop mode in 2.4.24
      ... I had kernel 2.4.22-ac4 + laptop mode patch ... Now I'm on a 2.4.24 kernel where the aforementioned ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [JBD] Handle j_commit_interval == 0
      ... After the laptop mode patch was merged, ... j_commit_interval to be zero. ... Unfortunately jbd doesn't handle ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)