Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3958442pxv; Mon, 28 Jun 2021 17:44:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzX+zt+eR4pKJOM3ABqdqaNftazvTeZ5zhbxhbnmy5dGlLVCZOq1Zc7SGFlBTk9Omj25vK5 X-Received: by 2002:a5e:d80e:: with SMTP id l14mr1711764iok.79.1624927448826; Mon, 28 Jun 2021 17:44:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1624927448; cv=pass; d=google.com; s=arc-20160816; b=jnMDa+Ce2IQOAIWMJCj58ezfNgh2LDQabAleGOd0slhcIygMbL7TQWxXEIu/ulDtW/ Vm6G1iuIMwLlc3RsWgyg+pDpGfyfCslsp/fNPCnvlWTZ+MpYyhLQj4P741/tWjpsxRrt Sg6aj7YLDCtH5vNApYgpjCXLaVUvTBkaakn/HA62AGQnXIQFzqMPH3L4GJGvQ7dNjfHb CAhH8sYvtBuQtcgexiRQ7C9qn0AwQIfBBZeBtIZxEZEGkByBOeHDvpcJScZcRUj8Q6bB nV4ZZWd9hzGCImnAG48hxXkOzNXCujm67a5VA0ydExheZ6xKnMMiYHRmalTB34FJeWL7 dQxw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=D+MB0Jrvc87KJ9WDumWJ1sl4a2lTTu3461oCdBmMPg8=; b=zagWjmBCIofNIQVeGLlvZFTYOz2WihtWDRxo+FplsyetDLfq/b+tF8A/rikx6KVIXr Yf6W0D5Tn1F+LeWbKYl6GSoIhum5qr5ij+gRj452tRhoMl5Zh7O6Tdb/Qi/PiOdfHYlG g5jXH5jkViVxdjJ9kmuqrX/zhSByy4/YN3sq6EzbqBCseT319G8tSnbvB/qTjv9wU+Q7 7qfXYGvPW3P8deNaRWhwOY3GHYPX4Z+gtWJCp43o/NFio8G7o3z2UsaOlsko9+Gd3ifM BRxpSZXgZKD2nX0FyZY+XBALPFqS3Wscc3yhUFzFv7GwbqqAjPXT1r+QQbRyQuhMTZ2A y9PQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@hammerspace.com header.s=selector2 header.b=Vm9yO0eD; arc=pass (i=1 spf=pass spfdomain=hammerspace.com dkim=pass dkdomain=hammerspace.com dmarc=pass fromdomain=hammerspace.com); spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hammerspace.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e3si16695532iom.57.2021.06.28.17.43.55; Mon, 28 Jun 2021 17:44:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@hammerspace.com header.s=selector2 header.b=Vm9yO0eD; arc=pass (i=1 spf=pass spfdomain=hammerspace.com dkim=pass dkdomain=hammerspace.com dmarc=pass fromdomain=hammerspace.com); spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hammerspace.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230005AbhF2Apn (ORCPT + 99 others); Mon, 28 Jun 2021 20:45:43 -0400 Received: from mail-bn8nam12on2096.outbound.protection.outlook.com ([40.107.237.96]:5089 "EHLO NAM12-BN8-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229678AbhF2Apm (ORCPT ); Mon, 28 Jun 2021 20:45:42 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MyQRDMpsrHGfIDAl88fQkgEmWE2RvhkQTr+2m1RpCjbez7K54DcEmdf/Fv3SWqajLQrjI04MsZZCujKm4sJlha8EoHnr+Dpqs9FXGv3xQaktpIyOmyNTjbIIC9DORMvwqjgVBEetUyknQegNU52Eh9mjGIJX4habKpZXg3eIHL6hfGYi0Ty3wHQkSTY/jSHSqH114aDx8xkuW6Y7gCyURd2I0a5hE6kbM1uXM7kqM2KJRxbZN8qsxaoqKpkPPY26H6VHDiQXfN6VClA0AE5aHkDLzDSEs1srq6LEiSKg8ZcjYtqwi2Tf0KlOa93QRBgG24bUhST6NgsEKU/8qUX/gA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=D+MB0Jrvc87KJ9WDumWJ1sl4a2lTTu3461oCdBmMPg8=; b=S5SYdlnzmXW4Wo1BwQlhUYRe5hK6nkjri4prj2ZJBFOy2h17ulwQbk+dSB4mumg94xjZhT4BSKyQJdENpzuSkOTIntrnfn+PXEMnJyDIwZv0eXf7cOBvW0hJVIWaMV2n4DIReLPgxDgeveZO2NncIZMOq9T6uD5h02ZRkSd5J/x9qlCxYb/kBjhzpra5YZ8iCctXLyFPum2BKLvQJatTDrUUDw1NQffs6TkSin4EziCRcEzOaHE6pty8o0ZPJ5BDBLnFoYDBP5GWBHw6HYsWCGaWL5oBrIHdCke9E0km9gRIGsg64J+DGy4xziQ7OUiDzNMge6zNEWozIjvpIrx9Sw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hammerspace.com; dmarc=pass action=none header.from=hammerspace.com; dkim=pass header.d=hammerspace.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hammerspace.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=D+MB0Jrvc87KJ9WDumWJ1sl4a2lTTu3461oCdBmMPg8=; b=Vm9yO0eDKN0uVALpPmo06zmx6a3riNcAm86egpOeXl2xBuCWBeDlGT0p3LPpr+dlALI4koWyPaWSKFzzGKzOuSHv9cJCNWCi7iB03vcIPWivEDaeHR0SuUhYZeXHEJDOrEAxRiSwb9+q7LoeaIzFnqpUhjtpt1XFi6lDumziI2Y= Received: from DM8PR13MB5079.namprd13.prod.outlook.com (2603:10b6:8:22::9) by DM6PR13MB3292.namprd13.prod.outlook.com (2603:10b6:5:19c::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.13; Tue, 29 Jun 2021 00:43:14 +0000 Received: from DM8PR13MB5079.namprd13.prod.outlook.com ([fe80::1cbe:81ae:4a8f:1068]) by DM8PR13MB5079.namprd13.prod.outlook.com ([fe80::1cbe:81ae:4a8f:1068%6]) with mapi id 15.20.4287.016; Tue, 29 Jun 2021 00:43:14 +0000 From: Trond Myklebust To: "bfields@fieldses.org" , "linux-fsdevel@vger.kernel.org" CC: "dai.ngo@oracle.com" , "linux-nfs@vger.kernel.org" Subject: Re: automatic freeing of space on ENOSPC Thread-Topic: automatic freeing of space on ENOSPC Thread-Index: AQHXbFar2GebLqkz70+qFHFJud37ZasqJsmA Date: Tue, 29 Jun 2021 00:43:14 +0000 Message-ID: <9f1263b46d5c38b9590db1e2a04133a83772bc50.camel@hammerspace.com> References: <20210628194908.GB6776@fieldses.org> In-Reply-To: <20210628194908.GB6776@fieldses.org> Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: fieldses.org; dkim=none (message not signed) header.d=none;fieldses.org; dmarc=none action=none header.from=hammerspace.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 72cc5742-4c2e-43c1-bf72-08d93a96e0f6 x-ms-traffictypediagnostic: DM6PR13MB3292: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: nDs1TTja+H2cH1WrWwuuO8h838JfIxmc5BIY6e2+A70hl/SHh1mBn26r7ALme4dHiwnaXPIVqFHxNhbnhvY8MDkXUlPB/l6dEbx91MuQNchMhqnYTHWGrklJrtpDqme/e12yy4/7yOWh3wM6oKDO4sZ+OEvzF3DSCczueieWM50QAQrxa4PMpTnaznK22xzp9gaVm6UZt5TSx7cPrHz3iUAXDySwueZ0iDBNI2NlAWJEepVHxqC0aSp4jVYmkR64FYtKqK2ht7eK3FufDLPPyWpOUpP13u/XsrjdlNwq3NhSIw2SLIcLEYqq4Q2remhmsDQJgN3P+zBT/wijPy5dVqf5GUp6Uqoef/1iJuK+ogFznhbnRxoXW6Q1JwgNwZH7P1WK7TX792zptMTG/QsxFPtPSzhMN07vKv/7cDTq0cFlAa5Yt4HmV9KRthtAmZA5jGvrbxc+fA0TRYPnZ/KVYgUX6m8sPpSyPi9cV3zLoQhAX9qU7LD29t91++BWO6sz65sDaIwJjJbHD7tYL2c4v4lSQhgQbpPhIAGYvjY366OYjApJOPqDtQy/g2SfB+eQYuF8cOxcfVvf5lEQoFZ6mmy/rM6B1qG/bjVwm2+PLYDoo1u7obLi2Pdd4T2zNgYvy/3kFZ/Juh+Db8ISVfLp7UrQjGXc5yFsOX68+qjYIPPTqe9JTb99h3UkjNZNa75dtDFsU6GNpzmaRwIPqNfo71KNAzyD2TviHbfm3qWraQCc8BPvtRnCJy62g7/7NIqa21IeV4+ee8iiOQR5+s+GAw== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM8PR13MB5079.namprd13.prod.outlook.com;PTR:;CAT:NONE;SFS:(376002)(366004)(39840400004)(136003)(346002)(396003)(66446008)(64756008)(71200400001)(66946007)(66556008)(110136005)(66476007)(36756003)(6486002)(122000001)(966005)(76116006)(26005)(186003)(6512007)(6506007)(91956017)(83380400001)(8936002)(8676002)(86362001)(38100700002)(2616005)(5660300002)(2906002)(4326008)(478600001)(54906003)(316002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?UW51eVhjZUlhd3BKN3d3ZUtTcHdPUm9maEpVdC8rWVFlajhGTmZxQ3c3eDlB?= =?utf-8?B?MUI2dU9WSWpqYy9JQ3VmZzNHRGhFc3hVV0JtZWFPVzV5STBOTkgzN1pTQ3RY?= =?utf-8?B?QlRseVlaYWtjZkg2S3J5UUxLQjU1c0JSZGpRVnV5d1pkY2dUeXNtTGRCQ0l4?= =?utf-8?B?bTZhNzFoS0J1Nmt6UnFwVHJ1VG91TUVJSm5jMzVuOXl0SmtHL3RIWTdCNzhr?= =?utf-8?B?dVlnTzJiaXNHeDcxYzZscWNjcTR4VnYrSWVaWEJ6VUUwREVwZmhxMk1SRlFH?= =?utf-8?B?Z25VZXlyc0lZYWtJVFdMYXhvYkZzRktnd29UTExQZGJWV3JvbkVBOHhjQmlR?= =?utf-8?B?b0wwTnl5OEdFOFpac2VlK2hyQzJ0eEpkMmlQR2xZVHI4SkdPQldiNnZ5Sk9k?= =?utf-8?B?MVZqVVZXZUJTOHByaDVMVDRtYVk3S3VmTlg3YjFNNzUvWnVSU0JiMHBhOEcv?= =?utf-8?B?QnRPZHovYWFvOWYrV0pXTFhiV1lMRDhmUTg0MUorbTJ0THV4VFYxVzhkUEFO?= =?utf-8?B?akpZeFBhVC9CSnphZ0JXbDF6c3g4cWRpNW8ra002Z1llNzNhd3BxSDUyM3c3?= =?utf-8?B?VUZxQWlRU2xWQjg2UjdjNWlTME5RZXFMSy9CY29TTGdISjNhS0VSbWpRZTE1?= =?utf-8?B?cGlrUWNqdWtFMThodm5mTWN6by96aVhPbG5zZStkaDNxOURkWi9KVDRKcnZF?= =?utf-8?B?YUJRV0d4RFBUamZXYU1oM3Y1cFRTR3hlU2U2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WDVvMHAxMDhIaXA4bFZ6RkRBbStpeVg3UnptOHJ4MnYw?= =?utf-8?B?U2djNjFKQnlEVWZCQzJZaXo0QTNqWnBWNk9uSkEzWnp2VjJBUE9NRlZDbWdo?= =?utf-8?Q?6B7TtZ9VxEMt3K3khwgfO64f6sPkN6Z/7AyFVlH?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: hammerspace.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM8PR13MB5079.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 72cc5742-4c2e-43c1-bf72-08d93a96e0f6 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jun 2021 00:43:14.2572 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 0d4fed5c-3a70-46fe-9430-ece41741f59e X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: nuO/gilazboYsBYKi086Xqw2FrXJ85U0HdxK926Q1VbUR3cMr1vyAzRrMsr3Qs4s2iPQBKbcc2DgFHsxqApdiQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR13MB3292 Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org T24gTW9uLCAyMDIxLTA2LTI4IGF0IDE1OjQ5IC0wNDAwLCBKLiBCcnVjZSBGaWVsZHMgd3JvdGU6 DQo+IElzIHRoZXJlIGFueXRoaW5nIGFuYWxvZ291cyB0byBhICJzaHJpbmtlciIsIGJ1dCBmb3Ig ZGlzayBzcGFjZT/CoCBTbywNCj4gc29tZSBob29rIHRoYXQgYSBmaWxlc3lzdGVtIGNvdWxkIGNh bGwgdG8gc2F5ICJJJ20gcnVubmluZyBvdXQgb2YNCj4gc3BhY2UsDQo+IGNvdWxkIHlvdSBwbGVh c2UgZnJlZS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