1. 14 7月, 2012 1 次提交
  2. 12 7月, 2012 1 次提交
  3. 04 7月, 2012 5 次提交
  4. 30 5月, 2012 5 次提交
  5. 06 5月, 2012 1 次提交
  6. 22 4月, 2012 1 次提交
  7. 14 4月, 2012 4 次提交
  8. 01 4月, 2012 1 次提交
  9. 21 3月, 2012 3 次提交
  10. 20 3月, 2012 1 次提交
  11. 14 2月, 2012 1 次提交
  12. 07 1月, 2012 1 次提交
  13. 04 1月, 2012 10 次提交
  14. 02 12月, 2011 2 次提交
  15. 17 11月, 2011 3 次提交
    • J
      ocfs2: Use filemap_write_and_wait() instead of write_inode_now() · 249ec93c
      Jan Kara 提交于
      Since ocfs2 has no ->write_inode method, there's no point in calling
      write_inode_now() from ocfs2_cleanup_delete_inode().  Use
      filemap_write_and_wait() instead. This helps us to cleanup inode writing
      interfaces...
      Signed-off-by: NJan Kara <jack@suse.cz>
      Signed-off-by: NJoel Becker <jlbec@evilplan.org>
      249ec93c
    • M
      ocfs2: honor O_(D)SYNC flag in fallocate · df295d4a
      Mark Fasheh 提交于
      We need to sync the transaction which updates i_size if the file is marked
      as needing sync semantics.
      Signed-off-by: NMark Fasheh <mfasheh@suse.de>
      Signed-off-by: NJoel Becker <jlbec@evilplan.org>
      df295d4a
    • X
      ocfs2: Add a missing journal credit in ocfs2_link_credits() -v2 · 0393afea
      Xiaowei.Hu 提交于
      With indexed_dir enabled, ocfs2 maintains a list of dirblocks having
      space.
      
      The credit calculation in ocfs2_link_credits() did not correctly account
      for adding an entry that exactly fills a dirblock that triggers removing
      that dirblock by changing the pointer in the previous block in the list.
      The credit calculation did not account for that previous block.
      
      To expose, do:
      
      mkfs.ocfs2 -b 512 -M local /dev/sdX
      mount /dev/sdX /ocfs2
      mkdir /ocfs2/linkdir
      touch /ocfs2/linkdir/file1
      for i in `seq 1 29` ; do link /ocfs2/linkdir/file1
      /ocfs2/linkdir/linklinklinklinklinklink$i; done
      rm -f /ocfs2/linkdir/linklinklinklinklinklink10
      sleep 8
      link /ocfs2/linkdir/file1
      /ocfs2/linkdir/linklinklinklinklinklinkaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
      
      Note:
      The link names have been crafted for a 512 byte blocksize. Reproducing
      with a larger blocksize will require longer (or more) links. The sleep
      is important. We want jbd2 to commit the transaction so that the missing
      block does not piggy back on account of the previous transaction.
      
      Signed-off-by: XiaoweiHu <xiaowei.hu at oracle.com>
      Reviewed-by: WengangWang <wen.gang.wang at oracle.com>
      Reviewed-by: Sunil.Mushran <sunil.mushran at oracle.com>
      Signed-off-by: NJoel Becker <jlbec@evilplan.org>
      0393afea