Re: [PATCH] NFS: Always return the error that truncates a flushing page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 29 Jan 2019, at 20:49, Trond Myklebust wrote:

On Mon, 2019-01-28 at 13:55 -0500, Benjamin Coddington wrote:
On 28 Jan 2019, at 12:59, Trond Myklebust wrote:
Hi Ben

We were apparently both looking at the same code last week ☺. I
have a
similar patch, but that also fixes a similar clobbering issue with
the
nfs_error_is_fatal() error just a few lines further down.

Without the extra hunk, we could end up converting an interrupted
call
into a 'successful' write.

Cheers
  Trond

Looks right to me.  I hope you'll take the Fixes and stable version
from
my patch, which will cover the problem I'm seeing.

Reviewed-by: Benjamin Coddington <bcodding@xxxxxxxxxx>


At first, I thought I'd have to split this patch in 2 so that it could
apply to 4.11 and 4.12, but it looks to me as if the commit from the
Fixes line you were showing is actually only present in 4.12 and later.
Am I wrong?

You're right.  I did

# git describe c373fff7bd25
v4.11-rc7-70-gc373fff7bd25

.. and assumed it ended up in v4.11. I wonder what actually happened to it, I'll see if I can find out.

Ben



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux