From owner-freebsd-hackers@FreeBSD.ORG Tue May 10 13:30:50 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3607E16A4D7 for ; Tue, 10 May 2005 13:30:50 +0000 (GMT) Received: from eva.fit.vutbr.cz (eva.fit.vutbr.cz [147.229.10.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8C0A43D3F for ; Tue, 10 May 2005 13:30:48 +0000 (GMT) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (localhost [127.0.0.1]) (8.13.4/8.13.3) with ESMTP id j4ADUeiL098828 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 10 May 2005 15:30:40 +0200 (CEST) Received: (from xdivac02@localhost) by eva.fit.vutbr.cz (8.13.4/8.13.3/Submit) id j4ADUeRF098827; Tue, 10 May 2005 15:30:40 +0200 (CEST) Date: Tue, 10 May 2005 15:30:40 +0200 From: Divacky Roman To: Siddharth Aggarwal Message-ID: <20050510133040.GA98680@stud.fit.vutbr.cz> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2i X-Scanned-By: MIMEDefang 2.49 on 147.229.10.14 cc: freebsd-hackers@freebsd.org Subject: Re: ffs snapshots X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 May 2005 13:30:50 -0000 On Mon, May 09, 2005 at 09:43:02AM -0600, Siddharth Aggarwal wrote: > > Hi, > > I was wondering why the limit for file system snapshots in BSD 5 has been > set to 20. Is it a limitation due to the way this feature has been > implemented? use the force, read the source ;) /* * The maximum number of snapshot nodes that can be associated * with each filesystem. This limit affects only the number of * snapshot files that can be recorded within the superblock so * that they can be found when the filesystem is mounted. However, * maintaining too many will slow the filesystem performance, so * having this limit is a good idea. */ #define FSMAXSNAP 20