Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7839d430 authored by Chao Yu's avatar Chao Yu Committed by Jaegeuk Kim
Browse files

f2fs: show more info if fail to issue discard



commit 04dfc23006a200865132ef404778a07b896a0280 upstream.

Signed-off-by: default avatarChao Yu <yuchao0@huawei.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 715a68fb
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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);
}