lkml.org 
[lkml]   [2019]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 09/12] iomap: lift the xfs writeback code to iomap
On Tue, Oct 15, 2019 at 11:40:40AM -0700, Darrick J. Wong wrote:
> > + if (unlikely(error && !quiet)) {
> > + printk_ratelimited(KERN_ERR
> > + "%s: writeback error on sector %llu",
> > + inode->i_sb->s_id, start);
>
> Ugh, /this/ message. It's pretty annoying how it doesn't tell you which
> file or where in that file the write was lost.

Sure, feel free to improve it in a follow on patch.

>
> I want to send in a patch atop your series to fix this, though I'm a
> also little inclined to want to keep the message inside XFS.
>
> Thoughts?

I don't see a sensible way to keep it in the file system, and I also
don't really see what that would buy us. I'd rather use the same
message for all iomap using file systems rather than having slightly
different error reporting for each of them.
inside the iomap callstack.

\
 
 \ /
  Last update: 2019-10-16 09:43    [W:0.125 / U:2.904 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site