1. 30 3月, 2010 2 次提交
  2. 29 3月, 2010 1 次提交
  3. 28 3月, 2010 2 次提交
    • J
      Simplify and fix pad_wbuf · 81def6b9
      Joern Engel 提交于
      A comment in the old code read:
              /* The math in this function can surely use some love */
      
      And indeed it did.  In the case that area->a_used_bytes is exactly
      4096 bytes below segment size it fell apart.  pad_wbuf is now split
      into two helpers that are significantly less complicated.
      Signed-off-by: NJoern Engel <joern@logfs.org>
      81def6b9
    • J
      Prevent data corruption in logfs_rewrite_block() · 19321917
      Joern Engel 提交于
      The comment was correct, so make the code match the comment.  As the
      new comment indicates, we might be able to do a little less work.  But
      for the current -rc series let's keep it simple and just fix the bug.
      Signed-off-by: NJoern Engel <joern@logfs.org>
      19321917
  4. 27 3月, 2010 7 次提交
  5. 06 3月, 2010 2 次提交
    • J
      [LogFS] Change magic number · c2f843f0
      Joern Engel 提交于
      Many changes were made during development that could result in old
      versions of mklogfs and the kernel code being subtly incompatible.
      Not being a friend of subtleties, I hereby change the magic number.
      Any old version of mklogfs is now guaranteed to fail.
      c2f843f0
    • J
      [LogFS] Remove h_version field · 9cf05b41
      Joern Engel 提交于
      Incompatible change: h_compr is moved up so the padding is all in one chunk.
      9cf05b41
  6. 05 3月, 2010 3 次提交
    • J
      [LogFS] Check feature flags · 6a08ab84
      Joern Engel 提交于
      6a08ab84
    • J
      [LogFS] Only write journal if dirty · c6d38301
      Joern Engel 提交于
      This prevents unnecessary journal writes.  More importantly it prevents
      an oops due to a journal write on failed mount.
      c6d38301
    • J
      [LogFS] Fix bdev erases · 9421502b
      Joern Engel 提交于
      Erases for block devices were always just emulated by writing 0xff.
      Some time back the write was removed and only the page cache was
      changed to 0xff.  Superficialy a good idea with two problems:
      1. Touching the page cache isn't necessary either.
      2. However, writing out 0xff _is_ necessary for the journal.  As the
         journal is scanned linearly, an old non-overwritten commit entry
         can be used on next mount and cause havoc.
      
      This should fix both aspects.
      9421502b
  7. 07 12月, 2009 1 次提交
    • J
      [LogFS] Silence gcc · 5c564c2a
      Joern Engel 提交于
      Andrew Morton sayeth:
      fs/logfs/journal.c: In function 'logfs_init_journal':
      fs/logfs/journal.c:266: warning: 'last_len' may be used uninitialized in this function
      
      Can this be squished please?
      5c564c2a
  8. 28 11月, 2009 1 次提交
  9. 23 11月, 2009 1 次提交
  10. 21 11月, 2009 1 次提交