From owner-cvs-src@FreeBSD.ORG Mon Jan 15 18:45:37 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9AA0816A407; Mon, 15 Jan 2007 18:45:37 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 73DA013C46A; Mon, 15 Jan 2007 18:45:37 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id l0FIjbn0073606; Mon, 15 Jan 2007 18:45:37 GMT (envelope-from pav@repoman.freebsd.org) Received: (from pav@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l0FIjb4e073605; Mon, 15 Jan 2007 18:45:37 GMT (envelope-from pav) Message-Id: <200701151845.l0FIjb4e073605@repoman.freebsd.org> From: Pav Lucistnik Date: Mon, 15 Jan 2007 18:45:37 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/fs/udf udf_vnops.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jan 2007 18:45:37 -0000 pav 2007-01-15 18:45:37 UTC FreeBSD src repository (doc,ports committer) Modified files: sys/fs/udf udf_vnops.c Log: Rewrite the udf_read() routine to use a file vnode instead of the devvp vnode. The code is modelled after cd9660, including support for simple read-ahead courtesy of clustered read. Fix udf_strategy to DTRT. This change fixes sendfile(2) not to send out garbage. Reviewed by: scottl MFC after: 1 month Revision Changes Path 1.63 +52 -24 src/sys/fs/udf/udf_vnops.c