[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aFvkAIg4pAeCO3PN@infradead.org>
Date: Wed, 25 Jun 2025 04:56:48 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Jeff Layton <jlayton@...nel.org>
Cc: Christoph Hellwig <hch@...radead.org>,
Yafang Shao <laoar.shao@...il.com>, david@...morbit.com,
djwong@...nel.org, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-xfs@...r.kernel.org,
yc1082463@...il.com
Subject: Re: [PATCH] xfs: report a writeback error on a read() call
On Wed, Jun 25, 2025 at 07:49:31AM -0400, Jeff Layton wrote:
> Another idea: add a new generic ioctl() that checks for writeback
> errors without syncing anything. That would be fairly simple to do and
> sounds like it would be useful, but I'd want to hear a better
> description of the use-case before we did anything like that.
That's what I mean with my above proposal, except that I though of an
fcntl or syscall and not an ioctl.
Powered by blists - more mailing lists