From owner-cvs-src-old@FreeBSD.ORG Thu Apr 28 14:27:41 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54C431065707 for ; Thu, 28 Apr 2011 14:27:41 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 3FB898FC12 for ; Thu, 28 Apr 2011 14:27:41 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p3SERfuW063542 for ; Thu, 28 Apr 2011 14:27:41 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p3SERftU063539 for cvs-src-old@freebsd.org; Thu, 28 Apr 2011 14:27:41 GMT (envelope-from jhb@repoman.freebsd.org) Message-Id: <201104281427.p3SERftU063539@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jhb@repoman.freebsd.org using -f From: John Baldwin Date: Thu, 28 Apr 2011 14:27:17 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/fs/ext2fs ext2_balloc.c ext2_extern.h ext2_inode.c ext2_lookup.c ext2_readwrite.c ext2_vnops.c inode.h src/sys/modules/ext2fs Makefile X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2011 14:27:41 -0000 jhb 2011-04-28 14:27:17 UTC FreeBSD src repository Modified files: sys/fs/ext2fs ext2_balloc.c ext2_extern.h ext2_inode.c ext2_lookup.c ext2_readwrite.c ext2_vnops.c inode.h sys/modules/ext2fs Makefile Log: SVN rev 221166 on 2011-04-28 14:27:17Z by jhb Sync with several changes in UFS/FFS: - 77115: Implement support for O_DIRECT. - 98425: Fix a performance issue introduced in 70131 that was causing reads before writes even when writing full blocks. - 98658: Rename the BALLOC flags from B_* to BA_* to avoid confusion with the struct buf B_ flags. - 100344: Merge the BA_ and IO_ flags so so that they may both be used in the same flags word. This merger is possible by assigning the IO_ flags to the low sixteen bits and the BA_ flags the high sixteen bits. - 105422: Fix a file-rewrite performance case. - 129545: Implement IO_INVAL in VOP_WRITE() by marking the buffer as "no cache". - Readd the DOINGASYNC() macro and use it to control asynchronous writes. Change i-node updates to honor DOINGASYNC() instead of always being synchronous. - Use a PRIV_VFS_RETAINSUGID check instead of checking cr_uid against 0 directly when deciding whether or not to clear suid and sgid bits. Submitted by: Pedro F. Giffuni giffunip at yahoo Revision Changes Path 1.2 +14 -7 src/sys/fs/ext2fs/ext2_balloc.c 1.2 +7 -5 src/sys/fs/ext2fs/ext2_extern.h 1.3 +10 -14 src/sys/fs/ext2fs/ext2_inode.c 1.4 +10 -2 src/sys/fs/ext2fs/ext2_lookup.c 1.3 +118 -35 src/sys/fs/ext2fs/ext2_readwrite.c 1.6 +5 -5 src/sys/fs/ext2fs/ext2_vnops.c 1.5 +3 -0 src/sys/fs/ext2fs/inode.h 1.8 +1 -1 src/sys/modules/ext2fs/Makefile