The commit is pushed to "branch-rh7-3.10.0-862.14.4.vz7.72.x-ovz" and will 
appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-862.14.4.vz7.72.15
------>
commit 173869b1af63630741274e76ee2c446142780b6a
Author: Pavel Butsykin <[email protected]>
Date:   Wed Oct 31 16:02:48 2018 +0300

    fs/fuse kio_pcs: forgotten setting of the next phase
    
    It was also lost when valid_for_truncate() ported to kernel.
    
    Signed-off-by: Pavel Butsykin <[email protected]>
    Reviewed-by: Kirill Tkhai <[email protected]>
    
    =====================
    Patchset description:
    
    FUSE KIO: Mapping truncate fixes
    
    https://jira.sw.ru/browse/PSBM-89539
---
 fs/fuse/kio/pcs/pcs_map.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/fuse/kio/pcs/pcs_map.c b/fs/fuse/kio/pcs/pcs_map.c
index 2990e8e2a3e9..97b85a2c1b79 100644
--- a/fs/fuse/kio/pcs/pcs_map.c
+++ b/fs/fuse/kio/pcs/pcs_map.c
@@ -2367,6 +2367,7 @@ static int valid_for_truncate(struct pcs_map_entry * m, 
struct pcs_int_request *
         */
        if (!(m->state & (PCS_MAP_ERROR|PCS_MAP_RESOLVING|PCS_MAP_NEW))) {
                map_remote_error_nolock(m, PCS_ERR_CSD_STALE_MAP, m->cs_list ? 
m->cs_list->cs[0].info.id.val : 0);
+               ireq->truncreq.phase = 1;
                ireq->truncreq.version = m->version;
        }
        /* Otherwise lookup valid map first. */

_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to