Date: Sat, 21 Apr 2007 12:02:57 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/contrib/opensolaris/cmd/zdb zdb.c src/contrib/opensolaris/lib/libzfs/common libzfs_changelist.c libzfs_config.c libzfs_import.c src/sys/compat/opensolaris/kern opensolaris_vfs.c src/sys/contrib/opensolaris/uts/common/fs/zfs spa.c vdev.c zfs_vnops.c zio.c Message-ID: <200704211202.l3LC2vul045946@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
pjd 2007-04-21 12:02:57 UTC FreeBSD src repository Modified files: contrib/opensolaris/cmd/zdb zdb.c contrib/opensolaris/lib/libzfs/common libzfs_changelist.c libzfs_config.c libzfs_import.c sys/compat/opensolaris/kern opensolaris_vfs.c sys/contrib/opensolaris/uts/common/fs/zfs spa.c vdev.c zfs_vnops.c zio.c Log: MFp4: @118370 Correct typo. @118371 Integrate changes from vendor. @118491 Show backtrace on unexpected code paths. @118494 Integrate changes from vendor. @118504 Fix sendfile(2). I had two ways of fixing it: 1. Fixing sendfile(2) itself to use VOP_GETPAGES() instead of hacking around with vn_rdwr(UIO_NOCOPY), which was suggested by ups. 2. Modify ZFS behaviour to handle this special case. Although 1 is more correct, I've choosen 2, because hack from 1 have a side-effect of beeing faster - it reads ahead MAXBSIZE bytes instead of reading page by page. This is not easy to implement with VOP_GETPAGES(), at least not for me in this very moment. Reported by: Andrey V. Elsukov <bu7cher@yandex.ru> @118525 Reorganize the code to reduce diff. @118526 This code path is expected. It is simply when file is opened with O_FSYNC flag. Reported by: kris Reported by: Michal Suszko <dry@dry.pl> Revision Changes Path 1.2 +6 -6 src/contrib/opensolaris/cmd/zdb/zdb.c 1.2 +4 -11 src/contrib/opensolaris/lib/libzfs/common/libzfs_changelist.c 1.2 +7 -21 src/contrib/opensolaris/lib/libzfs/common/libzfs_config.c 1.3 +1 -3 src/contrib/opensolaris/lib/libzfs/common/libzfs_import.c 1.4 +2 -2 src/sys/compat/opensolaris/kern/opensolaris_vfs.c 1.6 +3 -6 src/sys/contrib/opensolaris/uts/common/fs/zfs/spa.c 1.2 +2 -2 src/sys/contrib/opensolaris/uts/common/fs/zfs/vdev.c 1.3 +19 -9 src/sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c 1.2 +13 -7 src/sys/contrib/opensolaris/uts/common/fs/zfs/zio.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704211202.l3LC2vul045946>