[Devel] [PATCH RHEL7 COMMIT] fuse kio: error PCS_ERR_CSD_LACKING is non-fatal
Konstantin Khorenko
khorenko at virtuozzo.com
Mon Jul 2 17:39:38 MSK 2018
The commit is pushed to "branch-rh7-3.10.0-862.3.2.vz7.61.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-862.3.2.vz7.61.8
------>
commit fe974073854ee9a6e6643d2332e8936808f288ee
Author: Alexey Kuznetsov <kuznet at virtuozzo.com>
Date: Mon Jul 2 17:39:38 2018 +0300
fuse kio: error PCS_ERR_CSD_LACKING is non-fatal
User space fused has option fail_on_nospace, which is not enabled
by default and actually not well supported because analysis of consistency
with abort on nospace condition was never done.
Affects: https://pmc.acronis.com/browse/VSTOR-11692
Signed-off-by: Alexey Kuznetsov <kuznet at virtuozzo.com>
Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>
---
fs/fuse/kio/pcs/pcs_cluster.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/fs/fuse/kio/pcs/pcs_cluster.c b/fs/fuse/kio/pcs/pcs_cluster.c
index d705dbbd9336..b3d481287362 100644
--- a/fs/fuse/kio/pcs/pcs_cluster.c
+++ b/fs/fuse/kio/pcs/pcs_cluster.c
@@ -488,6 +488,8 @@ static void ireq_on_error_(struct pcs_int_request *ireq)
/* TODO: tag ireq->dentry with EIO here */
}
case PCS_ERR_CSD_LACKING:
+ /* To be completely equivalent to user space we should add option fail_on_nospace here */
+ break;
case PCS_ERR_INV_PARAMS:
case PCS_ERR_NOT_FOUND:
case PCS_ERR_NON_EMPTY_DIR:
More information about the Devel
mailing list