lkml.org 
[lkml]   [2019]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v4 1/3] fs: hoist EFSCORRUPTED definition into uapi header
On Mon, Jan 21, 2019 at 03:51:58PM -0800, Darrick J. Wong wrote:
>
> I disagree with upending 13 years of established precedent for user
> visible behavior. We possibly could've pulled this off ten years ago,
> but it's waaaay too late now. Too much work, too little gain.

I remember the discussion; but now that we're adding it to uapi header
files, it's really going to be impossible. And I have had some
regrets about that decision ten years ago. I agree it would cause
confusion if we do it now, but it's basically the our last
opportunity.

How about this then? We could ask glibc to change the string returned
by strerror for EUCLEAN/EFSCORRUPTED to be something like "File system
or block device corrupted". This is how the errno is used in the
kernel; and if we don't want to change the error code, changing the
string returned by glibc should be less problematic.

- Ted

\
 
 \ /
  Last update: 2019-01-22 01:42    [W:0.102 / U:0.604 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site