From: Paulo Alcantara <pc@manguebit.org>
To: Frank Sorenson <sorenson@redhat.com>, linux-cifs@vger.kernel.org
Cc: linkinjeon@kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH] cifs: add revalidation on FSCTL failure in smb2_duplicate_extents()
Date: Wed, 26 Aug 2026 23:06:38 -0300 [thread overview]
Message-ID: <0e2ba79f73560a635d07aecf400e7cf8@manguebit.org> (raw)
In-Reply-To: <20260823232646.3170915-1-sorenson@redhat.com>
Frank Sorenson <sorenson@redhat.com> writes:
> smb2_duplicate_extents() has no handling for
> FSCTL_DUPLICATE_EXTENTS_TO_FILE failure: when the FSCTL fails, local
> inode metadata may be stale from the pre-extension or from concurrent
> remote writes, but is never refreshed.
>
> Force revalidation on FSCTL failure and use i_size_read() for the
> pre-extension check.
> ...
Applied.
prev parent reply other threads:[~2026-08-27 2:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-23 23:26 [PATCH] cifs: add revalidation on FSCTL failure in smb2_duplicate_extents() Frank Sorenson
2026-08-27 2:06 ` Paulo Alcantara [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0e2ba79f73560a635d07aecf400e7cf8@manguebit.org \
--to=pc@manguebit.org \
--cc=linkinjeon@kernel.org \
--cc=linux-cifs@vger.kernel.org \
--cc=sorenson@redhat.com \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox