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
|
@ -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 New Issue