Received: by 2002:a4a:301c:0:0:0:0:0 with SMTP id q28-v6csp1182621oof; Tue, 25 Sep 2018 09:17:58 -0700 (PDT) X-Google-Smtp-Source: ACcGV61mOv8UF86k3ByAvSdBl0TFKNlEoBap05jSphkcymPYhP2zNmidsTSyuHigo4aST4ZKK/Wt X-Received: by 2002:a63:f848:: with SMTP id v8-v6mr1768407pgj.82.1537892278887; Tue, 25 Sep 2018 09:17:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537892278; cv=none; d=google.com; s=arc-20160816; b=pIh++LHf6Zk7yY70VfHwJMo+Z50BPVrMR1RHuLMmI27lEVoNGiLeFregN4Ys9QcYdz pvmkBgoLUs1jgcCtfRSh8xYp0JIASiRG/NFJ66O10ACGEgvA9lfXtpdYFKPcvOgBLqAL 92URio+ppRmC4XXuXjP2fhvrBaZ/zXheCmDrkhnXy5GCIpFPRkAAWBuc0mLlpgsuByYc QaqGn6IjfeBjSFt7gI3OYpDZs4iOTgbNjtJjM9qujY4FTnIFN1wqtNKYzn+XN8Orr4B+ ASEPmt+c6RB/1znkbXQ5r3O6z/Oafx3CzWm1xtoeFdZZJ5aB5UgZrRxMVVdcIKEQPKVO wPmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:to :from:date; bh=I63/rLxYz/SKN2XOU4izFIUB6nRKTzNOHvMccIhzQEo=; b=yxMPljZMs7ywPOJd9om26gPMn0Hy0CJ5CoTMJ6YDABeCFy0PG9wD+yIv7rB2MMMNyM zH39PsQJxvfnSYHu72H9ChyVImVi9AuX8VnbcoMktGR2UtGw3rso5lxNHvmIT63yaipz se4XwRtRJJvBTfq2GGjdpnmA3zuXnNCPcE8AodEUDTVJQD13NoUG/S7ka9KrBs/UOMgy adBi7WE8f+l83vYGVLY9UUZ7CXH2ULuWxO4v0bx2K0814GrZRYSwwZyy4HqUUYxQFv6r QGRpCQUkuDHNA8Sz8ajEbE7dTaaWynTd9VDrN4El7IrxkmZkmHO08kObFo6xC8iExZ3X 9U5Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x3-v6si2452749pgj.425.2018.09.25.09.17.43; Tue, 25 Sep 2018 09:17:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729575AbeIYWZp (ORCPT + 99 others); Tue, 25 Sep 2018 18:25:45 -0400 Received: from cust-95-128-94-82.breedbanddelft.nl ([95.128.94.82]:44170 "EHLO cust-95-128-94-82.breedbanddelft.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728587AbeIYWZp (ORCPT ); Tue, 25 Sep 2018 18:25:45 -0400 Received: by abra2.bitwizard.nl (Postfix, from userid 1000) id CB05513F64C; Tue, 25 Sep 2018 18:17:30 +0200 (CEST) Date: Tue, 25 Sep 2018 18:17:30 +0200 From: Rogier Wolff To: "Theodore Y. Ts'o" , Jeff Layton , Alan Cox , =?utf-8?B?54Sm5pmT5Yas?= , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: POSIX violation by writeback error Message-ID: <20180925161730.GA32709@BitWizard.nl> References: <486f6105fd4076c1af67dae7fdfe6826019f7ff4.camel@redhat.com> <20180925003044.239531c7@alans-desktop> <0662a4c5d2e164d651a6a116d06da380f317100f.camel@redhat.com> <20180925154627.GC2933@thunk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180925154627.GC2933@thunk.org> Organization: BitWizard B.V. User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 25, 2018 at 11:46:27AM -0400, Theodore Y. Ts'o wrote: > (Especially since you can get most of the functionality by > using some naming convention for files that in the process of being > written, and then teach some program that is regularly scanning the > entire file system, such as updatedb(2) to nuke the files from a cron > job. It won't be as efficient, but it would be much easier to > implement.) It is MUCH easier to have a per-application cleanup job. You can run that at boot-time. #/etc/init.d/myname startup script rm /var/run/myname/unfinished.* Simple things should be kept simple. Roger. -- ** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2600998 ** ** Delftechpark 26 2628 XH Delft, The Netherlands. KVK: 27239233 ** *-- BitWizard writes Linux device drivers for any device you may have! --* The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work.