1. 20 4月, 2017 1 次提交
  2. 13 4月, 2017 1 次提交
  3. 11 4月, 2017 6 次提交
  4. 06 4月, 2017 6 次提交
  5. 30 3月, 2017 1 次提交
  6. 22 3月, 2017 5 次提交
  7. 20 3月, 2017 1 次提交
  8. 28 2月, 2017 7 次提交
  9. 25 2月, 2017 5 次提交
  10. 24 2月, 2017 4 次提交
  11. 23 2月, 2017 3 次提交
    • J
      f2fs: declare missing static function · 8ed59745
      Jaegeuk Kim 提交于
      We missed two functions declared as static functions.
      Signed-off-by: NJaegeuk Kim <jaegeuk@kernel.org>
      8ed59745
    • C
      f2fs: fix null pointer dereference when issuing flush in ->fsync · 73545817
      Chao Yu 提交于
      We only allocate flush merge control structure sbi::sm_info::fcc_info when
      flush_merge option is on, but in f2fs_issue_flush we still try to access
      member of the control structure without that option, it incurs panic as
      show below, fix it.
      
      Call Trace:
       __remove_ino_entry+0xa9/0xc0 [f2fs]
       f2fs_do_sync_file.isra.27+0x214/0x6d0 [f2fs]
       f2fs_sync_file+0x18/0x20 [f2fs]
       vfs_fsync_range+0x3d/0xb0
       __do_page_fault+0x261/0x4d0
       do_fsync+0x3d/0x70
       SyS_fsync+0x10/0x20
       do_syscall_64+0x6e/0x180
       entry_SYSCALL64_slow_path+0x25/0x25
      RIP: 0033:0x7f18ce260de0
      RSP: 002b:00007ffdd4589258 EFLAGS: 00000246 ORIG_RAX: 000000000000004a
      RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f18ce260de0
      RDX: 0000000000000006 RSI: 00000000016c0360 RDI: 0000000000000003
      RBP: 00000000016c0360 R08: 000000000000ffff R09: 000000000000001f
      R10: 00007ffdd4589020 R11: 0000000000000246 R12: 00000000016c0100
      R13: 0000000000000000 R14: 00000000016c1f00 R15: 00000000016c0100
      Code: fb 81 e3 00 08 00 00 48 89 45 a0 0f 1f 44 00 00 31 c0 85 db 75 27 41 81 e7 00 04 00 00 74 0c 41 8b 45 20 85 c0 0f 85 81 00 00 00 <f0> 41 ff 45 20 4c 89 e7 e8 f8 e9 ff ff f0 41 ff 4d 20 48 83 c4
      RIP: f2fs_issue_flush+0x5b/0x170 [f2fs] RSP: ffffc90003b5fd78
      CR2: 0000000000000020
      ---[ end trace a09314c24f037648 ]---
      Reported-by: NShuoran Liu <liushuoran@huawei.com>
      Signed-off-by: NChao Yu <yuchao0@huawei.com>
      Signed-off-by: NJaegeuk Kim <jaegeuk@kernel.org>
      73545817
    • J
      f2fs: show # of on-going flush and discard bios · dcc9165d
      Jaegeuk Kim 提交于
      This patch adds stat information for flush and discard commands.
      Reviewed-by: NChao Yu <yuchao0@huawei.com>
      Signed-off-by: NJaegeuk Kim <jaegeuk@kernel.org>
      dcc9165d