From: "Pali Rohár" <pali@kernel.org>
To: Namjae Jeon <linkinjeon@kernel.org>
Cc: Paulo Alcantara <pc@manguebit.org>,
linux-cifs@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/9] Various changes
Date: Tue, 13 Oct 2026 08:55:03 +0200 [thread overview]
Message-ID: <20261013065503.rndxu2qxauehudil@pali> (raw)
In-Reply-To: <CAKYAXd_FP7F1U_ETWx+0QKwpDuEFp=UJzhMjrSmuT9uG3nAxEA@mail.gmail.com>
On Tuesday 13 October 2026 14:25:34 Namjae Jeon wrote:
> On Mon, Oct 12, 2026 at 11:10 PM Pali Rohár <pali@kernel.org> wrote:
> >
> Hi Pali,
> > Hello, now when is the -rc7 cycle, could you review these patches?
> > So if there are any issues, I would have a chance to address them for
> > the next merge window.
> Could you check sashiko's review comments from these patches ?
>
> https://sashiko.dev/#/patchset/20260825230622.24617-1-pali%40kernel.org
>
> Thanks!
Sure, I did not know that there is already review from machine. I have
not received any email about it.
I have checked those comments and here is what I think about it:
PATCH 1/9 is removal of dead code and sashiko found just pre-existing
issue which seems to be not related to this patch.
PATCH 2/9 comment 1 - here sashiko things that the code for serverino
disable should not be called. I think that this is wrong. If cifs.ko
detects that the inode number cannot retrieved then it must disable
serverino otherwise cifs.ko start reporting duplicate inode numbers to
userspace. I think that in the current situation it must already happen
(from different code path), so I do not think this is valid point.
PATCH 2/9 comment 2 - this is preexisting issue
PATCH 4/9 - preexisting issue
PATCH 7/9 comment 1 - this is not a problem, non-WSL clients (therefore
also Linux one) do not need that EA for working correctly. Also
userspace application cannot see a special EA from userspace and even if
it is able to retrieve it (e.g. via separate own userspace smb client on
separate connection), this is basically a race condition in the smb
protocol itself like any other which requires multiple requests to
finish one filesystem call.
PATCH 7/9 comment 2 - this is preexisting issue
PATCH 8/9 comment 1 - unbound memory allocation based on symlink length
- this is valid, but unfortunately all the symlink parsing code would do
similar thing. And we have already more symlink types. Do we have some
limit how long could be symlink? Does it make sense to address only this
one issue and let all other untouched? I would rather propose to define
one common limit and fix this issue on all places.
PATCH 8/9 comment 2 - fid.netfid initialization - I'm not sure here.
I had an impression that this is a right pattern how to open and read
file. Can somebody else recheck this?
PATCH 9/9 - masking sync_write error by -EI - This looks to be valid.
The fix is simple, just adding "rc &&" before "bytes_written !=".
next prev parent reply other threads:[~2026-10-13 6:55 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-06 18:48 [PATCH RESEND 00/11] cifs: " Pali Rohár
2026-07-06 18:48 ` [PATCH RESEND 01/11] cifs: Fix and improve cifs_is_path_accessible() function Pali Rohár
2026-07-06 18:48 ` [PATCH RESEND 02/11] cifs: Remove code for querying FILE_INFO_STANDARD via CIFSSMBQPathInfo() Pali Rohár
2026-07-06 18:48 ` [PATCH RESEND 03/11] cifs: Remove CIFSSMBSetPathInfoFB() fallback function Pali Rohár
2026-07-06 18:48 ` [PATCH RESEND 04/11] cifs: Remove cifs_backup_query_path_info() and replace it by cifs_query_path_info() Pali Rohár
2026-07-06 18:48 ` [PATCH RESEND 05/11] cifs: Fix validation of EAs for WSL reparse points Pali Rohár
2026-07-06 18:48 ` [PATCH RESEND 06/11] cifs: Validate presence of EA $LXMOD " Pali Rohár
2026-07-06 18:48 ` [PATCH RESEND 07/11] cifs: Check if server supports EAs before trying to set it for WSL Pali Rohár
2026-07-06 22:33 ` Steve French
2026-07-06 22:42 ` Pali Rohár
[not found] ` <CAH2r5mvDGM7i8EsdPkW681a_AnXOAsHkg38eJqegO7g2gV8qAw@mail.gmail.com>
2026-07-06 22:58 ` Pali Rohár
2026-07-06 18:48 ` [PATCH RESEND 08/11] cifs: Extend ->set_EA() callback to allow operate on reparse point Pali Rohár
2026-07-06 18:48 ` [PATCH RESEND 09/11] cifs: Create native Window socket file compatible also with WSL subsystem Pali Rohár
2026-08-09 12:09 ` Pali Rohár
2026-07-06 18:48 ` [PATCH RESEND 10/11] cifs: Add support for parsing WSL symlinks in version 1 format Pali Rohár
2026-07-06 20:50 ` Pali Rohár
2026-07-06 21:02 ` Pali Rohár
2026-08-09 12:09 ` [PATCH v2] " Pali Rohár
2026-07-06 18:48 ` [PATCH RESEND 11/11] cifs: Add support for creating " Pali Rohár
2026-08-09 12:13 ` [PATCH v2] " Pali Rohár
2026-08-21 21:47 ` [PATCH RESEND 00/11] cifs: Various changes Pali Rohár
2026-08-22 13:28 ` Namjae Jeon
2026-08-22 13:31 ` Pali Rohár
2026-08-24 22:45 ` Paulo Alcantara
2026-08-25 20:26 ` Pali Rohár
2026-08-25 23:06 ` [PATCH 0/9] " Pali Rohár
2026-08-25 23:06 ` [PATCH 1/9] cifs: Remove code for querying FILE_INFO_STANDARD via CIFSSMBQPathInfo() Pali Rohár
2026-08-25 23:06 ` [PATCH 2/9] cifs: Remove cifs_backup_query_path_info() and replace it by cifs_query_path_info() Pali Rohár
2026-08-25 23:06 ` [PATCH 3/9] cifs: Fix validation of EAs for WSL reparse points Pali Rohár
2026-08-25 23:06 ` [PATCH 4/9] cifs: Validate presence of EA $LXMOD " Pali Rohár
2026-08-25 23:06 ` [PATCH 5/9] cifs: Check if server supports EAs before trying to set it for WSL Pali Rohár
2026-08-25 23:06 ` [PATCH 6/9] cifs: Extend ->set_EA() callback to allow operate on reparse point Pali Rohár
2026-08-25 23:06 ` [PATCH 7/9] cifs: Create native Window socket file compatible also with WSL subsystem Pali Rohár
2026-08-25 23:06 ` [PATCH 8/9] cifs: Add support for parsing WSL symlinks in version 1 format Pali Rohár
2026-10-13 8:47 ` Pali Rohár
2026-08-25 23:06 ` [PATCH 9/9] cifs: Add support for creating " Pali Rohár
2026-10-13 8:48 ` Pali Rohár
2026-10-12 14:10 ` [PATCH 0/9] Various changes Pali Rohár
2026-10-13 5:25 ` Namjae Jeon
2026-10-13 6:55 ` Pali Rohár [this message]
2026-10-13 7:56 ` Namjae Jeon
2026-10-13 8:11 ` Pali Rohár
2026-10-13 8:20 ` Namjae Jeon
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=20261013065503.rndxu2qxauehudil@pali \
--to=pali@kernel.org \
--cc=linkinjeon@kernel.org \
--cc=linux-cifs@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pc@manguebit.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
all inboxes | Powered by JetHome®