Re: [Devel] [PATCH RHEL9] fs/fuse: fix broken 'fuse_invalidate_files()'

2023-09-29 Thread Alexey Kuznetsov
Ack On Fri, Sep 29, 2023 at 12:58 PM Kui Liu wrote: > > Use correct lock to protect the kill_requests operation on all request > > queues. Test of the FUSE_S_FAIL_IMMEDIATELY bit needs to be done with > > corresponding lock to prevent new requests being added to a queue after > > it has been kill

[Devel] [PATCH RHEL9] fs/fuse: fix flush_bg_queue()

2023-09-29 Thread Kui Liu
Currently flush_bg_queue() takes an input paramenter fiq, to which requests in the bg_queue will be dispatched without respect to what's been set to req->args->fiq. This behaviour totally breaks purpose of the request dispatching algorithm when there are multiple input queues. So instead we need to

Re: [Devel] [PATCH RHEL9] fs/fuse: fix flush_bg_queue()

2023-09-29 Thread Alexey Kuznetsov
Ack On Fri, Sep 29, 2023 at 5:17 PM Kui Liu wrote: > > Currently flush_bg_queue() takes an input paramenter fiq, to which requests > > in the bg_queue will be dispatched without respect to what's been set to > > req->args->fiq. This behaviour totally breaks purpose of the request > dispatching >

[Devel] [PATCH vz9] ve/userns: remove all hashed entries before freeing user_namespace

2023-09-29 Thread Alexander Atanasov
548df8b4b57b (ve/userns: associate user_struct with the user_namespace, 2017-03-13) introduced dynamically allocated per-userns uid hastable instead of using a global static hash table. The problem with that allocate hashtable is that life cycle of the two objects is different - both structes use