Re: [RFC PATCH 2/2] fuse: Enhance each fuse connection with timeout support

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

 



On Wed, Jul 24, 2024 at 7:07 PM Yafang Shao <laoar.shao@xxxxxxxxx> wrote:
>
> On Thu, Jul 25, 2024 at 1:09 AM Joanne Koong <joannelkoong@xxxxxxxxx> wrote:
> >
> > On Wed, Jul 24, 2024 at 12:12 AM Yafang Shao <laoar.shao@xxxxxxxxx> wrote:
> > >
> > > In our experience with fuse.hdfs, we encountered a challenge where, if the
> > > HDFS server encounters an issue, the fuse.hdfs daemon—responsible for
> > > sending requests to the HDFS server—can get stuck indefinitely.
> > > Consequently, access to the fuse.hdfs directory becomes unresponsive.
> > > The current workaround involves manually aborting the fuse connection,
> > > which is unreliable in automatically addressing the abnormal connection
> > > issue. To alleviate this pain point, we have implemented a timeout
> > > mechanism that automatically handles such abnormal cases, thereby
> > > streamlining the process and enhancing reliability.
> > >
> > > The timeout value is configurable by the user, allowing them to tailor it
> > > according to their specific workload requirements.
> > >
> > > Signed-off-by: Yafang Shao <laoar.shao@xxxxxxxxx>
> >
> > Hi Yafang,
> >
> > There was a similar thread/conversation about timeouts started in this
> > link from last week
> > https://lore.kernel.org/linux-fsdevel/20240717213458.1613347-1-joannelkoong@xxxxxxxxx/#t
> >
>
> I am not currently subscribed to linux-fsdevel, so I missed your patch.
> Thanks for your information. I will test your patch.
>
> > The core idea is the same but also handles cleanup for requests that
> > time out, to avoid memory leaks in cases where the server never
> > replies to the request. For v2, I am going to add timeouts for
> > background requests as well.
>
> Please CC me if you send new versions.

Will do. I'll make sure you are cc-ed.

Thanks,
Joanne
>
> --
> Regards
> Yafang





[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux