1. 04 Nov, 2008 1 commit
  2. 03 Nov, 2008 1 commit
  3. 07 Nov, 2008 2 commits
    • Theodore Ts'o's avatar
      jbd2: don't give up looking for space so easily in __jbd2_log_wait_for_space · 8c3f25d8
      Theodore Ts'o authored
      Commit 23f8b79e introducd a regression because it assumed that if
      there were no transactions ready to be checkpointed, that no progress
      could be made on making space available in the journal, and so the
      journal should be aborted.  This assumption is false; it could be the
      case that simply calling jbd2_cleanup_journal_tail() will recover the
      necessary space, or, for small journals, the currently committing
      transaction could be responsible for chewing up the required space in
      the log, so we need to wait for the currently committing transaction
      to finish before trying to force a checkpoint operation.
      
      This patch fixes a bug reported by Mihai Harpau at:
      https://bugzilla.redhat.com/show_bug.cgi?id=469582
      
      This patch fixes a bug reported by François Valenduc at:
      http://bugzilla.kernel.org/show_bug.cgi?id=11840Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
      Cc: Duane Griffin <duaneg@dghda.com>
      Cc: Toshiyuki Okajima <toshi.okajima@jp.fujitsu.com>
      8c3f25d8
    • Theodore Ts'o's avatar
      jbd: don't give up looking for space so easily in __log_wait_for_space · e219cca0
      Theodore Ts'o authored
      Commit be07c4ed introducd a regression because it assumed that if
      there were no transactions ready to be checkpointed, that no progress
      could be made on making space available in the journal, and so the
      journal should be aborted.  This assumption is false; it could be the
      case that simply calling cleanup_journal_tail() will recover the
      necessary space, or, for small journals, the currently committing
      transaction could be responsible for chewing up the required space in
      the log, so we need to wait for the currently committing transaction
      to finish before trying to force a checkpoint operation.
      
      This patch fixes the bug reported by Meelis Roos at:
      http://bugzilla.kernel.org/show_bug.cgi?id=11937Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
      Cc: Duane Griffin <duaneg@dghda.com>
      Cc: Toshiyuki Okajima <toshi.okajima@jp.fujitsu.com>
      e219cca0
  4. 02 Nov, 2008 19 commits
  5. 01 Nov, 2008 16 commits
  6. 31 Oct, 2008 1 commit
    • Alexey Dobriyan's avatar
      key: fix setkey(8) policy set breakage · 920da692
      Alexey Dobriyan authored
      Steps to reproduce:
      
      	#/usr/sbin/setkey -f
      	flush;
      	spdflush;
      
      	add 192.168.0.42 192.168.0.1 ah 24500 -A hmac-md5 "1234567890123456";
      	add 192.168.0.42 192.168.0.1 esp 24501 -E 3des-cbc "123456789012123456789012";
      
      	spdadd 192.168.0.42 192.168.0.1 any -P out ipsec
      		esp/transport//require
      		ah/transport//require;
      
      setkey: invalid keymsg length
      
      Policy dump will bail out with the same message after that.
      
      -recv(4, "\2\16\0\0\32\0\3\0\0\0\0\0\37\r\0\0\3\0\5\0\377 \0\0\2\0\0\0\300\250\0*\0"..., 32768, 0) = 208
      +recv(4, "\2\16\0\0\36\0\3\0\0\0\0\0H\t\0\0\3\0\5\0\377 \0\0\2\0\0\0\300\250\0*\0"..., 32768, 0) = 208
      Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      920da692