Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1558238

Re: [PATCH] fuse: clear FR_PENDING flag when moving requests out of pending queue

From Miklos Szeredi <miklos@szeredi.hu>
Newsgroups linux.kernel
Subject Re: [PATCH] fuse: clear FR_PENDING flag when moving requests out of pending queue
Date 2017-01-13 12:20 +0100
Message-ID <sZ83L-ay-3@gated-at.bofh.it> (permalink)
References <sYTR8-8jl-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Jan 12, 2017 at 9:04 PM, Tahsin Erdogan <tahsin@google.com> wrote:
> fuse_abort_conn() moves requests from pending list to a temporary list
> before canceling them. This operation races with request_wait_answer()
> which also tries to remove the request after it gets a fatal signal. It
> checks FR_PENDING flag to determine whether the request is still in the
> pending list.
>
> Make fuse_abort_conn() clear FR_PENDING flag so that request_wait_answer()
> does not remove the request from temporary list.
>
> This bug manifests itself as a panic that looks like this:

Perfect patch; applied and pushed.

Thanks,
Miklos

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] fuse: clear FR_PENDING flag when moving requests out of pending queue Tahsin Erdogan <tahsin@google.com> - 2017-01-12 21:10 +0100
  Re: [PATCH] fuse: clear FR_PENDING flag when moving requests out of  pending queue Miklos Szeredi <miklos@szeredi.hu> - 2017-01-13 12:20 +0100
    Re: [PATCH] fuse: clear FR_PENDING flag when moving requests out of  pending queue Borislav Petkov <bp@alien8.de> - 2017-01-16 19:00 +0100

csiph-web