Re: [PATCH] smb/client: fix incorrect nlink returned by fstat()

Steve French <[email protected]>
Newsgroups org.kernel.vger.linux-cifs
Message-ID <CAH2r5mufBWn7P-iRhHN5xs6d2E2--hFPwVY4sZ3QRm=wXJup4Q@mail.gmail.com>
> do you have any better ideas?

Not really, was hoping that there was a way to cache the link count
locally as additional hardlinks are done

Does this fix any xfstests?

On Mon, Jun 29, 2026 at 10:41 AM ChenXiaoSong
<[email protected]> wrote:
>
> SMB2_open() should not be called that frequently. Steve, do you have any
> better ideas?
>
> 在 2026/6/29 23:34, Steve French 写道:
> > wouldn't this be a big performance penalty, adding an extra roundtrip,
> > adding query_info call to open?
>
> --
> ChenXiaoSong <[email protected]>
> Chinese Homepage: https://chenxiaosong.com
> English Homepage: https://chenxiaosong.com/en
>


-- 
Thanks,

Steve
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.