Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1645687

[PATCH 1/3] f2fs: show more info if fail to issue discard

From Chao Yu <chao@kernel.org>
Newsgroups linux.kernel
Subject [PATCH 1/3] f2fs: show more info if fail to issue discard
Date 2017-05-19 17:50 +0200
Message-ID <tISk9-4bg-13@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


From: Chao Yu <yuchao0@huawei.com>

Signed-off-by: Chao Yu <yuchao0@huawei.com>
---
 fs/f2fs/segment.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c
index a29919330e27..d310b82caef1 100644
--- a/fs/f2fs/segment.c
+++ b/fs/f2fs/segment.c
@@ -740,7 +740,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);
 }
 
-- 
2.12.2.575.gb14f27f

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 1/3] f2fs: show more info if fail to issue discard Chao Yu <chao@kernel.org> - 2017-05-19 17:50 +0200
  [PATCH 3/3] f2fs: wait discard IO completion without cmd_lock held Chao Yu <chao@kernel.org> - 2017-05-19 18:00 +0200

csiph-web