1. 12 2月, 2015 5 次提交
  2. 10 1月, 2015 9 次提交
  3. 09 12月, 2014 4 次提交
  4. 04 12月, 2014 1 次提交
    • J
      f2fs: use rw_semaphore for nat entry lock · 8b26ef98
      Jaegeuk Kim 提交于
      Previoulsy, we used rwlock for nat_entry lock.
      But, now we have a lot of complex operations in set_node_addr.
      (e.g., allocating kernel memories, handling radix_trees, and so on)
      
      So, this patches tries to change spinlock to rw_semaphore to give CPUs to other
      threads.
      Signed-off-by: NJaegeuk Kim <jaegeuk@kernel.org>
      8b26ef98
  5. 24 11月, 2014 1 次提交
  6. 20 11月, 2014 1 次提交
    • C
      f2fs: introduce struct inode_management to wrap inner fields · 67298804
      Chao Yu 提交于
      Now in f2fs, we have three inode cache: ORPHAN_INO, APPEND_INO, UPDATE_INO,
      and we manage fields related to inode cache separately in struct f2fs_sb_info
      for each inode cache type.
      This makes codes a bit messy, so that this patch intorduce a new struct
      inode_management to wrap inner fields as following which make codes more neat.
      
      /* for inner inode cache management */
      struct inode_management {
      	struct radix_tree_root ino_root;	/* ino entry array */
      	spinlock_t ino_lock;			/* for ino entry lock */
      	struct list_head ino_list;		/* inode list head */
      	unsigned long ino_num;			/* number of entries */
      };
      
      struct f2fs_sb_info {
      	...
      	struct inode_management im[MAX_INO_ENTRY];      /* manage inode cache */
      	...
      }
      Signed-off-by: NChao Yu <chao2.yu@samsung.com>
      Signed-off-by: NJaegeuk Kim <jaegeuk@kernel.org>
      67298804
  7. 07 11月, 2014 1 次提交
  8. 05 11月, 2014 3 次提交
  9. 04 11月, 2014 15 次提交