From owner-freebsd-arch Fri Jun 7 10:24: 0 2002 Delivered-To: freebsd-arch@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id CBFA537B403; Fri, 7 Jun 2002 10:23:57 -0700 (PDT) Received: by elvis.mu.org (Postfix, from userid 1192) id AD2BCAE2AC; Fri, 7 Jun 2002 10:23:57 -0700 (PDT) Date: Fri, 7 Jun 2002 10:23:57 -0700 From: Alfred Perlstein To: John Baldwin Cc: arch@FreeBSD.org Subject: Re: KTRACE genio trace question Message-ID: <20020607172357.GS88163@elvis.mu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * John Baldwin [020607 09:35] wrote: > > What I would like to do is change the behavior of I/O trace events to > go back to doing the copyin() before the VOP_WRITE(), but to set a max > limit on the amount of data we will output in the trace. This limit > would probably default to a single page and could be a loader tunable > and sysctl. This would allow us to get rid of the need for synchronous > ktrace events cleaning up the ktrace code a bit. It would also go back > to using a single VOP_WRITE for all of the the I/O. Thoughts? That sounds reasonable. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message