From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jamie Lokier Subject: Re: [PATCH v2 2/2] relatime: Allow making relatime the default behaviour Date: Sat, 29 Nov 2008 18:56:45 +0000 Message-ID: <20081129185645.GA20194@shareable.org> References: <20081126195457.GA3541@srcf.ucam.org> <20081126195824.GB3541@srcf.ucam.org> <492DD035.5020705@oracle.com> <20081127150126.GA20941@srcf.ucam.org> <20081127150341.GB20941@srcf.ucam.org> <20081127170345.GA14991@infradead.org> <20081129002419.abfd2504.akpm@linux-foundation.org> <20081129130308.GX25548@parisc-linux.org> <20081129135742.GC11959@logfs.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Matthew Wilcox , Andrew Morton , Christoph Hellwig , Matthew Garrett , Randy Dunlap , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, mingo@redhat.com, val.henson@gmail.com To: =?iso-8859-1?Q?J=F6rn?= Engel Return-path: Received: from mail2.shareable.org ([80.68.89.115]:47642 "EHLO mail2.shareable.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750955AbYK2S5G (ORCPT ); Sat, 29 Nov 2008 13:57:06 -0500 Content-Disposition: inline In-Reply-To: <20081129135742.GC11959@logfs.org> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: J=F6rn Engel wrote: > ...and check the tmpreaper manpage, you will notice that tmpreaper ca= n > be configured as well. So relatime has a default timeout of T and > tmpreaper is configured to delete files after 1/2 T (never mind what = T > might be), the system breaks. Guessing a value of T that is good eno= ugh > for everyone is a complicated business, so one configurable makes sen= se > imo. > > One per mountpoint is rather silly, of course. If it's configurable at all for tmpreaper (or similar), it should work the same for tmpreaper in virtual machine containers. (Same as, e.g. utsname is different in containers). If not now, someone will have to patch it later. Each VM runs it's own tmpreaper, configured usually by separate people. It's probably simpler to make it per-mountpoint than a virtualised glob= al. I don't see why there is an objection to per-mountpoint. Andrew Morton's syntax: mount /dev/foo /mnt/bar -o relatime=3D86400 looks natural to me. -- Jamie -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel= " in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html