Some files may not have pcs inode, so it will be safer to check for !fi->private
before using it.
Signed-off-by: Pavel Butsykin
---
fs/fuse/kio/pcs/pcs_fuse_kdirect.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/fs/fuse/kio/pcs/pcs_fuse_kdirect.c
The commit is pushed to "branch-rh7-3.10.0-957.10.1.vz7.85.x-ovz" and will
appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-957.10.1.vz7.85.3
-->
commit 855b630cf3d5afe7c96c230b1958d0c02ffd6ae6
Author: Kirill Tkhai
Date: Tue Mar 26 12:36:59 2019 +0300
Revert
Will need it to check mouninfo persists at the late restore, where the
root task is inside ve.
https://jira.sw.ru/browse/PSBM-86686
Signed-off-by: Pavel Tikhomirov
---
kernel/cgroup.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/kernel/cgroup.c b/kernel/cgroup.c
index
The commit is pushed to "branch-rh7-3.10.0-957.10.1.vz7.85.x-ovz" and will
appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-957.10.1.vz7.85.3
-->
commit 57a6200cbb664031506df3b2828f34b469e8d333
Author: Pavel Butsykin
Date: Tue Mar 26 12:49:03 2019 +0300
fs/fuse
This reverts commit afb8d534110dbe203e4ae6385cef79b38c9e4771.
Signed-off-by: Pavel Butsykin
---
fs/fuse/kio/pcs/pcs_fuse_kdirect.c | 3 ---
fs/fuse/kio/pcs/pcs_mds_prot.h | 2 --
2 files changed, 5 deletions(-)
diff --git a/fs/fuse/kio/pcs/pcs_fuse_kdirect.c
For some reason pcs_mds_sys_info structure is different in the kernel and
userspace. Let's synchronize it to avoid inaccuracies and discrepancies in
the future.
Signed-off-by: Pavel Butsykin
---
fs/fuse/kio/pcs/pcs_client_types.h | 6 +++---
fs/fuse/kio/pcs/pcs_cluster.c | 8
Initially the warning was added incorrectly due to unsynchronization of
pcs_mds_sys_info structure with the userspace client. Let's sync the structure
and fix that.
Pavel Butsykin (3):
Revert "fs/fuse kio: add warning about jumbo chunks"
fs/fuse kio: sync pcs_mds_sys_info struct
fs/fuse
KIO doesn't support jumbo chunks yet, so all requests to jumbo chunks are
silently redirected to user-space. It will be useful to see a message about
this until support has been added to KIO.
Signed-off-by: Pavel Butsykin
---
fs/fuse/kio/pcs/pcs_fuse_kdirect.c | 3 +++
1 file changed, 3
Signed-off-by: Kirill Tkhai
---
drivers/block/ploop/fmt_ploop1.c |7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/block/ploop/fmt_ploop1.c b/drivers/block/ploop/fmt_ploop1.c
index eea15aac8790..370aa6369a8a 100644
--- a/drivers/block/ploop/fmt_ploop1.c
+++
-1 is error;
0 means this service preq is skipped;
1 is block was allocated
Signed-off-by: Kirill Tkhai
---
drivers/block/ploop/io_direct.c |6 --
drivers/block/ploop/io_kaio.c | 11 ++-
include/linux/ploop/ploop.h |2 +-
3 files changed, 11 insertions(+), 8
Signed-off-by: Kirill Tkhai
---
drivers/block/ploop/fmt_ploop1.c |4 +--
drivers/block/ploop/map.c| 52 +--
drivers/block/ploop/map.h| 56 ++
3 files changed, 58 insertions(+), 54 deletions(-)
create
Add debug check to not miss a moment userspace
decides to change its behavior.
Signed-off-by: Kirill Tkhai
---
drivers/block/ploop/dev.c |9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/block/ploop/dev.c b/drivers/block/ploop/dev.c
index
Prohibit maintaince mode related ioctls.
Signed-off-by: Kirill Tkhai
---
drivers/block/ploop/dev.c | 10 ++
drivers/block/ploop/discard.c |6 ++
2 files changed, 16 insertions(+)
diff --git a/drivers/block/ploop/dev.c b/drivers/block/ploop/dev.c
index
---
Kirill Tkhai (10):
ploop: Export map defines to separate header file
ploop: Make submit_alloc() return int value
ploop: Introduce ploop_submit_alloc() helper
ploop: Prohibit discard ioctls
ploop: Prohibit PLOOP_IOC_UPDATE_INDEX on singular list
ploop:
Shitch preq into PLOOP_E_DATA_WBI state
to continue execution after discard's write
is finished.
Zero index in that stage.
Signed-off-by: Kirill Tkhai
---
drivers/block/ploop/dev.c|5 -
drivers/block/ploop/fmt_ploop1.c |5 +
2 files changed, 9 insertions(+), 1
Holes bitmap is needed for allocation of next free cluster.
Otherwise we don't know, where cluster number should be taken.
TODO: Flag to handle broken allocs (set bit back)
Signed-off-by: Kirill Tkhai
---
drivers/block/ploop/fmt_ploop1.c | 199 +-
It will be used to reallocated holes bitmap
after merge.
Signed-off-by: Kirill Tkhai
---
drivers/block/ploop/dev.c | 17 -
drivers/block/ploop/io_direct_map.c |2 ++
include/linux/ploop/ploop.h |1 +
3 files changed, 15 insertions(+), 5 deletions(-)
__map_extent_bmap() is for raw format, when we don't have
information about presence of a cluster.
Ploop1 must allocate all the space in beginning of cached_submit()
function. Otherwise, we can't control what is going on.
Signed-off-by: Kirill Tkhai
---
drivers/block/ploop/io_direct.c |
18 matches
Mail list logo