From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 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> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: 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.