Re: [Devel] [PATCH 1/2] fs/fuse kio: add FUSE_S_FAIL_IMMEDIATELY check in pcs_fuse_submit()

2019-02-01 Thread Kirill Tkhai
On 24.01.2019 16:12, Pavel Butsykin wrote: > Fuse file with FUSE_S_FAIL_IMMEDIATELY state should not allow to execute new > requests. But in case of kio requests it doesn't work because the status check > is located behind kio.op->req_send(). To fix this let's add the status check > in

Re: [Devel] [PATCH 1/2] fs/fuse kio: add FUSE_S_FAIL_IMMEDIATELY check in pcs_fuse_submit()

2019-02-01 Thread Pavel Butsykin
On 01.02.2019 18:13, Pavel Butsykin wrote: > > > On 01.02.2019 17:24, Kirill Tkhai wrote: >> On 24.01.2019 16:12, Pavel Butsykin wrote: >>> Fuse file with FUSE_S_FAIL_IMMEDIATELY state should not allow to >>> execute new >>> requests. But in case of kio requests it doesn't work because the

Re: [Devel] [PATCH 1/2] fs/fuse kio: add FUSE_S_FAIL_IMMEDIATELY check in pcs_fuse_submit()

2019-02-01 Thread Pavel Butsykin
On 01.02.2019 17:24, Kirill Tkhai wrote: > On 24.01.2019 16:12, Pavel Butsykin wrote: >> Fuse file with FUSE_S_FAIL_IMMEDIATELY state should not allow to execute new >> requests. But in case of kio requests it doesn't work because the status >> check >> is located behind kio.op->req_send(). To

Re: [Devel] [PATCH 1/2] fs/fuse kio: add FUSE_S_FAIL_IMMEDIATELY check in pcs_fuse_submit()

2019-02-01 Thread Kirill Tkhai
On 24.01.2019 16:12, Pavel Butsykin wrote: > Fuse file with FUSE_S_FAIL_IMMEDIATELY state should not allow to execute new > requests. But in case of kio requests it doesn't work because the status check > is located behind kio.op->req_send(). To fix this let's add the status check > in

[Devel] [PATCH 1/2] fs/fuse kio: add FUSE_S_FAIL_IMMEDIATELY check in pcs_fuse_submit()

2019-01-24 Thread Pavel Butsykin
Fuse file with FUSE_S_FAIL_IMMEDIATELY state should not allow to execute new requests. But in case of kio requests it doesn't work because the status check is located behind kio.op->req_send(). To fix this let's add the status check in pcs_fuse_submit(). Signed-off-by: Pavel Butsykin --- Note: