From owner-cvs-all Fri May 11 10:40:27 2001 Delivered-To: cvs-all@freebsd.org Received: from beastie.mckusick.com (beastie.mckusick.com [209.31.233.184]) by hub.freebsd.org (Postfix) with ESMTP id F368137B440; Fri, 11 May 2001 10:40:21 -0700 (PDT) (envelope-from mckusick@mckusick.com) Received: from beastie.mckusick.com (localhost [127.0.0.1]) by beastie.mckusick.com (8.9.3/8.9.3) with ESMTP id KAA15819; Fri, 11 May 2001 10:40:14 -0700 (PDT) (envelope-from mckusick@beastie.mckusick.com) Message-Id: <200105111740.KAA15819@beastie.mckusick.com> To: Garrett Wollman Subject: Re: cvs commit: src/sys/ufs/ffs fs.h softdep.h ffs_softdep.c ... Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org In-Reply-To: Your message of "Fri, 11 May 2001 10:36:07 EDT." <200105111436.KAA93071@khavrinen.lcs.mit.edu> Date: Fri, 11 May 2001 10:40:14 -0700 From: Kirk McKusick Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Date: Fri, 11 May 2001 10:36:07 -0400 (EDT) From: Garrett Wollman To: Kirk McKusick Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/ufs/ffs fs.h softdep.h ffs_softdep.c .. In-Reply-To: <200105110227.TAA14458@beastie.mckusick.com> < said: > At the point that you know that there are no blocks currently > available, you are deep in the allocation code holding a > vnode locked. For cases where a system call was interrupted by a signal and needs to be restarted, an ``unwind and retry'' error (ERESTART) was invented for internel kernel use. It seems to me that the same sort of approach (ECANTBLOCKNOW?) ought to work for this case as well. -GAWollman An intriguing idea. It would be a rather inefficient solution, but could be made to work. I would still want to have some proactive flushing going on so that processes would not be delayed up to the usual 60 seconds to get their space. Kirk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message