1. 08 3月, 2011 1 次提交
  2. 10 1月, 2011 2 次提交
  3. 23 10月, 2010 2 次提交
  4. 23 7月, 2010 1 次提交
  5. 25 12月, 2009 1 次提交
  6. 20 11月, 2009 2 次提交
    • R
      nilfs2: move out mark_inode_dirty calls from bmap routines · 9cb4e0d2
      Ryusuke Konishi 提交于
      Previously, nilfs_bmap_add_blocks() and nilfs_bmap_sub_blocks() called
      mark_inode_dirty() after they changed the number of data blocks.
      
      This moves these calls outside bmap outermost functions like
      nilfs_bmap_insert() or nilfs_bmap_truncate().
      
      This will mitigate overhead for truncate or delete operation since
      they repeatedly remove set of blocks.  Nearly 10 percent improvement
      was observed for removal of a large file:
      
       # dd if=/dev/zero of=/test/aaa bs=1M count=512
       # time rm /test/aaa
      
        real  2.968s -> 2.705s
      
      Further optimization may be possible by eliminating these
      mark_inode_dirty() uses though I avoid mixing separate changes here.
      Signed-off-by: NRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
      9cb4e0d2
    • R
      nilfs2: stop marking metadata inode dirty within btree operations · 09bf4aae
      Ryusuke Konishi 提交于
      Since metadata file routines mark the inode dirty after they
      successfully changed bmap objects, nilfs_mdt_mark_dirty() calls in
      nilfs_bmap_add_blocks() and nilfs_bmap_sub_blocks() are redundant.
      
      This removes these overlapping calls from the bmap routines.
      Signed-off-by: NRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
      09bf4aae
  7. 14 9月, 2009 3 次提交
  8. 05 7月, 2009 1 次提交
    • R
      nilfs2: fix lockdep warning between regular file and inode file · ff54de36
      Ryusuke Konishi 提交于
      This will fix the following false positive of recursive locking which
      lockdep has detected:
      
      =============================================
      [ INFO: possible recursive locking detected ]
      2.6.30-nilfs #42
      ---------------------------------------------
      nilfs_cleanerd/10607 is trying to acquire lock:
       (&bmap->b_sem){++++-.}, at: [<e0d025b7>] nilfs_bmap_lookup_at_level+0x1a/0x74 [nilfs2]
      
      but task is already holding lock:
       (&bmap->b_sem){++++-.}, at: [<e0d024e0>] nilfs_bmap_truncate+0x19/0x6a [nilfs2]
      other info that might help us debug this:
      2 locks held by nilfs_cleanerd/10607:
       #0:  (&nilfs->ns_segctor_sem){++++.+}, at: [<e0d0d75a>] nilfs_transaction_begin+0xb6/0x10c [nilfs2]
       #1:  (&bmap->b_sem){++++-.}, at: [<e0d024e0>] nilfs_bmap_truncate+0x19/0x6a [nilfs2]
      Signed-off-by: NRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
      ff54de36
  9. 10 6月, 2009 7 次提交
  10. 13 4月, 2009 1 次提交
    • R
      nilfs2: fix lockdep recursive locking warning on bmap · bcb48891
      Ryusuke Konishi 提交于
      The bmap semaphore of DAT file can be held while a bmap of other files
      is locked.  This has caused the following false detection of lockdep
      check:
      
      mount.nilfs2/4667 is trying to acquire lock:
       (&bmap->b_sem){..--}, at: [<d0c6c4b4>] nilfs_bmap_lookup_at_level+0x1a/0x74 [nilfs2]
      
      but task is already holding lock:
       (&bmap->b_sem){..--}, at: [<d0c6c4b4>] nilfs_bmap_lookup_at_level+0x1a/0x74 [nilfs2]
      
      This will fix the false detection by distinguishing semaphores of the
      DAT and other files.
      Signed-off-by: NRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
      bcb48891
  11. 07 4月, 2009 2 次提交