mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
f2fs: show more info if fail to issue discard
Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
parent
fb830fc5cf
commit
04dfc23006
1 changed files with 2 additions and 1 deletions
|
|
@ -741,7 +741,8 @@ static void __remove_discard_cmd(struct f2fs_sb_info *sbi,
|
|||
|
||||
if (dc->error)
|
||||
f2fs_msg(sbi->sb, KERN_INFO,
|
||||
"Issue discard failed, ret: %d", dc->error);
|
||||
"Issue discard(%u, %u, %u) failed, ret: %d",
|
||||
dc->lstart, dc->start, dc->len, dc->error);
|
||||
__detach_discard_cmd(dcc, dc);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue