Re: [Devel] [PATCH 1/2] fuse: add a new async operation to unmap regions

2018-02-07 Thread Dmitry Monakhov
Andrei Vagin writes: > On Tue, Feb 06, 2018 at 11:49:30PM +0300, Konstantin Khorenko wrote: >> Andrey, this seems to be a feature and it should be tested. >> >> Please post here a jira id with the feature description, QA task, etc. > > 1. Feature > > Add support of discard requests via punch-hol

Re: [Devel] [PATCH 1/2] fuse: add a new async operation to unmap regions

2018-02-06 Thread Andrei Vagin
On Tue, Feb 06, 2018 at 11:49:30PM +0300, Konstantin Khorenko wrote: > Andrey, this seems to be a feature and it should be tested. > > Please post here a jira id with the feature description, QA task, etc. 1. Feature Add support of discard requests via punch-holes for plain ploops https://pmc.ac

Re: [Devel] [PATCH 1/2] fuse: add a new async operation to unmap regions

2018-02-06 Thread Konstantin Khorenko
Andrey, this seems to be a feature and it should be tested. Please post here a jira id with the feature description, QA task, etc. And whom to review? -- Best regards, Konstantin Khorenko, Virtuozzo Linux Kernel Team On 02/06/2018 03:25 AM, Andrei Vagin wrote: The fuse interface allows to ru

[Devel] [PATCH 1/2] fuse: add a new async operation to unmap regions

2018-02-05 Thread Andrei Vagin
The fuse interface allows to run any operation asynchronously, because the kernel redirect all operations to an user daemon and then waits an answer. In ploop, we want to handle discard requests via fallocate and a simplest way to do this is to run fallocate(FALLOC_FL_PUNCH_HOLE) asynchronously li