Re: [Devel] [PATCH v2 0/2] kpcs_probe: check fuse_conn args

2018-05-17 Thread Kirill Tkhai
On 17.05.2018 18:05, Pavel Butsykin wrote: > https://jira.sw.ru/browse/HCI-52 > > Changes from v1: > - drop the extra checks in kpcs_probe() > - replace printk(KERN_ERR) on pr_err() > > Pavel Butsykin (2): > fs/fuse: move FUSE_SUPER_MAGIC to magic.h > fs/fuse kio_pcs: check fuse_conn args >

[Devel] [PATCH v2 1/2] fs/fuse: move FUSE_SUPER_MAGIC to magic.h

2018-05-17 Thread Pavel Butsykin
Let's define it only once. Signed-off-by: Pavel Butsykin --- drivers/block/ploop/dev.c | 1 - drivers/block/ploop/io_kaio.c | 3 --- fs/fuse/inode.c | 2 -- include/uapi/linux/magic.h| 1 + 4 files changed, 1 insertion(+), 6 deletions(-) diff

[Devel] [PATCH v2 2/2] fs/fuse kio_pcs: check fuse_conn args

2018-05-17 Thread Pavel Butsykin
Allow initialization of kdirect only for vstorage/pstorage. Signed-off-by: Pavel Butsykin --- drivers/block/ploop/dev.c | 4 fs/fuse/kio/pcs/pcs_fuse_kdirect.c | 9 - include/linux/fs.h | 5 + 3 files changed, 9 insertions(+), 9

[Devel] [PATCH v2 0/2] kpcs_probe: check fuse_conn args

2018-05-17 Thread Pavel Butsykin
https://jira.sw.ru/browse/HCI-52 Changes from v1: - drop the extra checks in kpcs_probe() - replace printk(KERN_ERR) on pr_err() Pavel Butsykin (2): fs/fuse: move FUSE_SUPER_MAGIC to magic.h fs/fuse kio_pcs: check fuse_conn args drivers/block/ploop/dev.c | 5 -

Re: [Devel] [PATCH 2/2] fs/fuse kio_pcs: check fuse_conn args

2018-05-17 Thread Kirill Tkhai
On 17.05.2018 14:31, Pavel Butsykin wrote: > On 17.05.2018 13:05, Kirill Tkhai wrote: >> Hi, Pasha, >> >> On 17.05.2018 12:40, Pavel Butsykin wrote: >>> Allow initialization of kdirect only for vstorage/pstorage. >>> >>> Signed-off-by: Pavel Butsykin >>> --- >>>  

Re: [Devel] [PATCH 2/2] fs/fuse kio_pcs: check fuse_conn args

2018-05-17 Thread Pavel Butsykin
On 17.05.2018 13:05, Kirill Tkhai wrote: Hi, Pasha, On 17.05.2018 12:40, Pavel Butsykin wrote: Allow initialization of kdirect only for vstorage/pstorage. Signed-off-by: Pavel Butsykin --- drivers/block/ploop/dev.c | 4

[Devel] [PATCH RH7 draft] mm/huge_memory.c: disable transparent hugepages in CTs

2018-05-17 Thread Pavel Tikhomirov
These is a draft patch just to save working prototype, now we want just to disable thp from userspace for density scenarios. We might as some point want to disable transparent huge pages for CTs but leave them enabled for host(VMs). That is because: 1) thp decrease the density of CTs at dvd-store

Re: [Devel] [PATCH 2/2] fs/fuse kio_pcs: check fuse_conn args

2018-05-17 Thread Kirill Tkhai
Hi, Pasha, On 17.05.2018 12:40, Pavel Butsykin wrote: > Allow initialization of kdirect only for vstorage/pstorage. > > Signed-off-by: Pavel Butsykin > --- > drivers/block/ploop/dev.c | 4 > fs/fuse/kio/pcs/pcs_fuse_kdirect.c | 23 +--

[Devel] [PATCH 1/2] fs/fuse: move FUSE_SUPER_MAGIC to magic.h

2018-05-17 Thread Pavel Butsykin
Let's define it only once. Signed-off-by: Pavel Butsykin --- drivers/block/ploop/dev.c | 1 - drivers/block/ploop/io_kaio.c | 3 --- fs/fuse/inode.c | 2 -- include/uapi/linux/magic.h| 1 + 4 files changed, 1 insertion(+), 6 deletions(-) diff

[Devel] [PATCH 0/2] kpcs_probe: check fuse_conn args

2018-05-17 Thread Pavel Butsykin
https://jira.sw.ru/browse/HCI-52 Pavel Butsykin (2): fs/fuse: move FUSE_SUPER_MAGIC to magic.h fs/fuse kio_pcs: check fuse_conn args drivers/block/ploop/dev.c | 5 - drivers/block/ploop/io_kaio.c | 3 --- fs/fuse/inode.c| 2 --

[Devel] [PATCH 2/2] fs/fuse kio_pcs: check fuse_conn args

2018-05-17 Thread Pavel Butsykin
Allow initialization of kdirect only for vstorage/pstorage. Signed-off-by: Pavel Butsykin --- drivers/block/ploop/dev.c | 4 fs/fuse/kio/pcs/pcs_fuse_kdirect.c | 23 +-- include/linux/fs.h | 5 + 3 files changed,

Re: [Devel] [PATCH] kio: Remove dead code declaration

2018-05-17 Thread Kirill Tkhai
Ignore this. On 17.05.2018 12:36, Kirill Tkhai wrote: > This place we always have __PCS_DTRACE__ defined. > > Signed-off-by: Kirill Tkhai > --- > fs/fuse/kio/pcs/log.h |5 - > 1 file changed, 5 deletions(-) > > diff --git a/fs/fuse/kio/pcs/log.h

[Devel] [PATCH] kio: Remove dead code declaration

2018-05-17 Thread Kirill Tkhai
This place we always have __PCS_DTRACE__ defined. Signed-off-by: Kirill Tkhai --- fs/fuse/kio/pcs/log.h |5 - 1 file changed, 5 deletions(-) diff --git a/fs/fuse/kio/pcs/log.h b/fs/fuse/kio/pcs/log.h index ee524a8b7a34..4ff7d76c35bb 100644 ---

Re: [Devel] [PATCH] kio: Stop always breaking connection in pcs_sockio_send() in case of EAGAIN.

2018-05-17 Thread Kirill Tkhai
VSTOR-9848 On 17.05.2018 11:51, Kirill Tkhai wrote: > We should just return and not fall into sio_abort(sio, PCS_ERR_NET_ABORT), > in case EGAIN. The right logic is to we break connection in with > PCS_ERR_WRITE_TIMEOUT, in case of timeout is expired. > > Signed-off-by: Kirill Tkhai

[Devel] [PATCH] kio: Stop always breaking connection in pcs_sockio_send() in case of EAGAIN.

2018-05-17 Thread Kirill Tkhai
We should just return and not fall into sio_abort(sio, PCS_ERR_NET_ABORT), in case EGAIN. The right logic is to we break connection in with PCS_ERR_WRITE_TIMEOUT, in case of timeout is expired. Signed-off-by: Kirill Tkhai --- fs/fuse/kio/pcs/pcs_sock_io.c |1 + 1 file