Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp7324586rwd; Tue, 6 Jun 2023 09:08:39 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ74r6JomkAMa2X1n59XdIGHmDUikBzQ/kbddYXOW5w5eXPHnnqNE3kiCRQTZ6N7FdUvVPWx X-Received: by 2002:a05:6a20:1447:b0:116:99fe:e674 with SMTP id a7-20020a056a20144700b0011699fee674mr240091pzi.9.1686067719417; Tue, 06 Jun 2023 09:08:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686067719; cv=none; d=google.com; s=arc-20160816; b=vRWvYW4nd8bLsppmvKSFfVEUUlcG3/uCH5Zkqw/ODEgIyJWtfaGs7Yu8wgBqYsR3c1 QiriEw3F8aNgbaquQsVJZzsCDb/EtEGpM0T0W/IYpn7cLdrZUMWFvhAsvyPJoWcONRTt D31RZqFeYSHeaX/xILxGTZaJ9S/+P7E2T39W1YkWB8o6kJOGImPfoko2NlhMUesBI5E3 8JHjYHX5o1uCQq+Jb/w3chsUPciTml2RPzQEazALWb+fVK94znLTJQpCcWbNh0e7NQPX 4Ibh2L5vcu/3pER5M6vN+slap9uILU5h7Z74/uQ+xn2N1SKj2gDezYYL2D1fy8F5PneY Uv1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=/ONGiTjryN6GD7x+xFKYju8C2z5nIeGtvGOioZNnU/U=; b=lj6uygPdX9qtC7GcuylUvDadiFdGWthQZ807WgyuvUe/bEZuGBITHN44V0JUA5M4Zg bi673Hne/jEalpLVUc+3C+kyBR+a6H6I+NNr/KH/V2m/g6Q90vsNWxkJDdDl2imRMhNB sHI8GrVmXR9w+5ZeITDvQIJxI06ezRQCxnhdeuECmlNUDO6RAct64PPwFH47jMQJyghV v15BSyUJd+eqx2wibEqSTNmZPIFFj0EnYgV/m4wdunC4zC4iEJCYsvKe82JvRXfKrXis uPqx0Y8uN8QwVPbOJb6O5FzashNavNewiR9wFal7ozwLlymstziODMjOlF9kXI6SYoz6 AALQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=hi2WPoWy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h16-20020a633850000000b0053b8570baafsi7481363pgn.444.2023.06.06.09.08.27; Tue, 06 Jun 2023 09:08:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=hi2WPoWy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232042AbjFFPsH (ORCPT + 99 others); Tue, 6 Jun 2023 11:48:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232951AbjFFPsG (ORCPT ); Tue, 6 Jun 2023 11:48:06 -0400 Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com [IPv6:2607:f8b0:4864:20::b2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3A0EE43; Tue, 6 Jun 2023 08:48:05 -0700 (PDT) Received: by mail-yb1-xb2c.google.com with SMTP id 3f1490d57ef6-bad3013ed55so882540276.0; Tue, 06 Jun 2023 08:48:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686066485; x=1688658485; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=/ONGiTjryN6GD7x+xFKYju8C2z5nIeGtvGOioZNnU/U=; b=hi2WPoWy60JbpwaFsVjN9zNp6WFQGls7ERGpIzbNziF9isQjZtZXfa47yVs9LbQ97C m83n589RduXbDEgwo5bsvbc+YxZZDH7rbAiJtWEX6F33Bq/AAFLTbm/gZhOnq2S9Udc1 rnLD1pTFNtfrXOudkX/Zt40rJiUHVCefa0HlXsmDUq6jNtV13XrWzhZsEGVQ49h+R3C8 +8nvP0zD30tsX2iVVYXh/0CTj1Fj8Yw28A+f12C9P3oMAl/Kne51zypE7fLZsKUUfTQ2 wv+0WYfpdUOeDGHJcNq83Wj6Y4ttgbDfXYFlJcVhfA5LEUqrEwZ9N7stEvt9Va2yhsoG UEBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686066485; x=1688658485; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/ONGiTjryN6GD7x+xFKYju8C2z5nIeGtvGOioZNnU/U=; b=Hz6cmWmEachVd4Fq+KqbZQTmo2OjnXkOHaNo1EVHZhpaaXWzsHpkXPVcvdxa5TykU+ 1bNSC5yJB08ApBpA1DGHG/fqtmQynkMT/7S/5HJ8nsl70Ueu+wq1wQlBa7wyp8paeWpj sxsufZdLkHMvxam6tB6oYNG5z9zfU447WyChm+Y3D3mOHhQ9Gbx/Ir9AiT2qv8MlyVHU Zx+M1KLDr20HOSo+YjTFN0M3STvXRVIfRebNa01kGSHCKSQm9PvW38tbR57ew/PXV8UX YtEFqKmhfuulh0+mT0vKOmjzH9dzv+ZY3X/E2ZuNNL6WoXygnzN8TQ0YLi7dit2LfcL4 AwCg== X-Gm-Message-State: AC+VfDyeLS9SoLm75SiDKCxgD8aqCEXRx3Z3aNLMXDfnDp/JmhTwyPLI SVY0zIZCubu2rK1gjVsPDjnJPwghPQKMdQDDrn4= X-Received: by 2002:a81:4c57:0:b0:567:7dc3:2618 with SMTP id z84-20020a814c57000000b005677dc32618mr2611220ywa.1.1686066484784; Tue, 06 Jun 2023 08:48:04 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Askar Safin Date: Tue, 6 Jun 2023 18:47:28 +0300 Message-ID: Subject: Re: [PATCH 0/6] vfs: provide automatic kernel freeze / resume To: Miklos Szeredi Cc: Luis Chamberlain , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Bernd Schubert , linux-pm@vger.kernel.org, fuse-devel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thanks a lot for the answer On Tue, Jun 6, 2023 at 5:38=E2=80=AFPM Miklos Szeredi w= rote: > - if requests are stuck (e.g. network is down) then the requester > process can't be frozen and suspend will still fail Unfortunately, this is exactly the problem I sometimes face. If network is up, then suspend works normally. But if network is down (and I'm trying to access sshfs filesystem in that moment), then suspend doesn't work. So, it seems your solution is not for me > Solution to both these are probably non-kernel: impacted servers need > to receive notification from systemd when suspend is starting and act > accordingly. Okay, I will probably forward this to sshfs devs --=20 Askar Safin