From owner-freebsd-fs@freebsd.org Sun Feb 7 16:59:26 2016 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 69C95AA0E5D for ; Sun, 7 Feb 2016 16:59:26 +0000 (UTC) (envelope-from zanchey@ucc.gu.uwa.edu.au) Received: from mail-ext-sout2.uwa.edu.au (mail-ext-sout2.uwa.edu.au [130.95.128.73]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "IronPort Appliance Demo Certificate", Issuer "IronPort Appliance Demo Certificate" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id AAA6028A for ; Sun, 7 Feb 2016 16:59:24 +0000 (UTC) (envelope-from zanchey@ucc.gu.uwa.edu.au) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2C6BAC3drdW/8+AX4JTAgiEDG2IW51CAQIGlTEXCoUiSgKBagEBAQEBAYELhEIBAQQBAQE3FCAbCxguJwEEBSYOBwICARwEh3oOuQWECwELARkEhUqCPYJChAgGBQEBBYRSBYYUCYcKc4hbhUyFHYRCh2mFL44+YoNxMisBBoccgTABAQE X-IPAS-Result: A2C6BAC3drdW/8+AX4JTAgiEDG2IW51CAQIGlTEXCoUiSgKBagEBAQEBAYELhEIBAQQBAQE3FCAbCxguJwEEBSYOBwICARwEh3oOuQWECwELARkEhUqCPYJChAgGBQEBBYRSBYYUCYcKc4hbhUyFHYRCh2mFL44+YoNxMisBBoccgTABAQE X-IronPort-AV: E=Sophos;i="5.22,411,1449504000"; d="scan'208";a="201132459" Received: from f5-new.net.uwa.edu.au (HELO mooneye.ucc.gu.uwa.edu.au) ([130.95.128.207]) by mail-ext-out2.uwa.edu.au with ESMTP/TLS/ADH-AES256-SHA; 08 Feb 2016 00:58:10 +0800 Received: by mooneye.ucc.gu.uwa.edu.au (Postfix, from userid 801) id F1F3366001; Mon, 8 Feb 2016 00:58:10 +0800 (AWST) Received: from motsugo.ucc.gu.uwa.edu.au (motsugo.ucc.gu.uwa.edu.au [130.95.13.7]) by mooneye.ucc.gu.uwa.edu.au (Postfix) with ESMTP id D90FC3C04E for ; Mon, 8 Feb 2016 00:58:10 +0800 (AWST) Received: by motsugo.ucc.gu.uwa.edu.au (Postfix, from userid 11251) id D27F720083; Mon, 8 Feb 2016 00:58:10 +0800 (AWST) Received: from localhost (localhost [127.0.0.1]) by motsugo.ucc.gu.uwa.edu.au (Postfix) with ESMTP id CB5E32003A for ; Mon, 8 Feb 2016 00:58:10 +0800 (AWST) Date: Mon, 8 Feb 2016 00:58:10 +0800 (AWST) From: David Adam To: freebsd-fs@freebsd.org Subject: Re: Poor ZFS+NFSv3 read/write performance and panic In-Reply-To: Message-ID: References: User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Feb 2016 16:59:26 -0000 Just wondering if anyone has any idea how to identify which devices are implicated in ZFS' vdev_deadman(). I have updated the firmware on the mps(4) card that has our disks attached but that hasn't helped. Thanks David On Fri, 29 Jan 2016, David Adam wrote: > We have a FreeBSD 10.2 server sharing some ZFS datasets over NFSv3. It's > worked well until recently, but has started to routinely perform > exceptionally poorly, eventually panicing in vdev_deadman() (which I > understand is a feature). > > Initally after booting, things are fine, but performance rapidly begins to > degrade. Both read and write performance is terrible, with many operations > either hanging indefinitely or timing out. > > When this happens, I can break into DDB and see lots of nfsd process stuck > waiting for a lock: > Process 784 (nfsd) thread 0xfffff80234795000 (100455) > shared lockmgr zfs (zfs) r = 0 (0xfffff8000b91f548) locked @ > /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c:2196 > > and the backtrace looks like this: > sched_switch() at sched_switch+0x495/frame 0xfffffe04677740b0 > mi_switch() at mi_switch+0x179/frame 0xfffffe04677740f0 > turnstile_wait() at turnstile_wait+0x3b2/frame 0xfffffe0467774140 > __mtx_lock_sleep() at __mtx_lock_sleep+0x2c0/frame 0xfffffe04677741c0 > __mtx_lock_flags() at __mtx_lock_flags+0x102/frame 0xfffffe0467774210 > vmem_size() at vmem_size+0x5a/frame 0xfffffe0467774240 > arc_reclaim_needed() at arc_reclaim_needed+0xd2/frame 0xfffffe0467774260 > arc_get_data_buf() at arc_get_data_buf+0x157/frame 0xfffffe04677742a0 > arc_read() at arc_read+0x68b/frame 0xfffffe0467774350 > dbuf_read() at dbuf_read+0x7ed/frame 0xfffffe04677743f0 > dmu_tx_check_ioerr() at dmu_tx_check_ioerr+0x8b/frame 0xfffffe0467774420 > dmu_tx_count_write() at dmu_tx_count_write+0x17e/frame 0xfffffe0467774540 > dmu_tx_hold_write() at dmu_tx_hold_write+0xba/frame 0xfffffe0467774580 > zfs_freebsd_write() at zfs_freebsd_write+0x55d/frame 0xfffffe04677747b0 > VOP_WRITE_APV() at VOP_WRITE_APV+0x193/frame 0xfffffe04677748c0 > nfsvno_write() at nfsvno_write+0x13e/frame 0xfffffe0467774970 > nfsrvd_write() at nfsrvd_write+0x496/frame 0xfffffe0467774c80 > nfsrvd_dorpc() at nfsrvd_dorpc+0x66b/frame 0xfffffe0467774e40 > nfssvc_program() at nfssvc_program+0x4e6/frame 0xfffffe0467774ff0 > svc_run_internal() at svc_run_internal+0xbb7/frame 0xfffffe0467775180 > svc_run() at svc_run+0x1db/frame 0xfffffe04677751f0 > nfsrvd_nfsd() at nfsrvd_nfsd+0x1f0/frame 0xfffffe0467775350 > nfssvc_nfsd() at nfssvc_nfsd+0x124/frame 0xfffffe0467775970 > sys_nfssvc() at sys_nfssvc+0xb7/frame 0xfffffe04677759a0 > amd64_syscall() at amd64_syscall+0x278/frame 0xfffffe0467775ab0 > Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe0467775ab0 > > Is this likely to be due to bad hardware? I can't see any problems in > the SMART data, and `camcontrol tags da0 -v` etc. does not reveal any > particularly long queues. Are there other useful things to check? > > If not, do you have any other ideas? I can make the full DDB information > available if that would be helpful. > > The pool is configured thus: > NAME STATE READ WRITE CKSUM > space ONLINE 0 0 0 > mirror-0 ONLINE 0 0 0 > da0 ONLINE 0 0 0 > da1 ONLINE 0 0 0 > mirror-1 ONLINE 0 0 0 > da2 ONLINE 0 0 0 > da3 ONLINE 0 0 0 > mirror-2 ONLINE 0 0 0 > da4 ONLINE 0 0 0 > da6 ONLINE 0 0 0 > mirror-3 ONLINE 0 0 0 > da7 ONLINE 0 0 0 > da8 ONLINE 0 0 0 > logs > mirror-4 ONLINE 0 0 0 > gpt/molmol-slog ONLINE 0 0 0 > gpt/molmol-slog0 ONLINE 0 0 0 > where the da? devices are WD Reds and the SLOG partitions are on Samsung > 840s. > > Many thanks, > > David Adam > zanchey@ucc.gu.uwa.edu.au > > _______________________________________________ > freebsd-fs@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" > Cheers, David Adam zanchey@ucc.gu.uwa.edu.au Ask Me About Our SLA! From owner-freebsd-fs@freebsd.org Sun Feb 7 21:00:20 2016 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A8C8FAA1B8B for ; Sun, 7 Feb 2016 21:00:20 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8A88B1D99 for ; Sun, 7 Feb 2016 21:00:20 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u17L01Ta017702 for ; Sun, 7 Feb 2016 21:00:20 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201602072100.u17L01Ta017702@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: freebsd-fs@FreeBSD.org Subject: Problem reports for freebsd-fs@FreeBSD.org that need special attention Date: Sun, 07 Feb 2016 21:00:20 +0000 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Feb 2016 21:00:20 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- New | 203492 | mount_unionfs -o below causes panic Open | 136470 | [nfs] Cannot mount / in read-only, over NFS Open | 139651 | [nfs] mount(8): read-only remount of NFS volume d Open | 144447 | [zfs] sharenfs fsunshare() & fsshare_main() non f 4 problems total for which you should take action. From owner-freebsd-fs@freebsd.org Mon Feb 8 14:15:32 2016 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A4553AA276F for ; Mon, 8 Feb 2016 14:15:32 +0000 (UTC) (envelope-from thomasrcurry@gmail.com) Received: from mail-io0-x235.google.com (mail-io0-x235.google.com [IPv6:2607:f8b0:4001:c06::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7B31F1FA for ; Mon, 8 Feb 2016 14:15:32 +0000 (UTC) (envelope-from thomasrcurry@gmail.com) Received: by mail-io0-x235.google.com with SMTP id 9so196264600iom.1 for ; Mon, 08 Feb 2016 06:15:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=WgdGxaC5Zr/kZZafYTDSmUDsYuRxu3mDnIqZZgL7KOI=; b=J7N9cUHTRpwA85orHrn7HQxh7VmlduwNccFSc3cJQ7G07ay3CDHbWForybou/o1bQC 9FY/fwcjr6/9WoDzy9RRx2MieR8stKc9dT25Q95E5EOPIQBRmAwYicyTcPEr4pgnHvne B/lughexX3FIDqXuNNyXOGK+JdEWLcroDY/2AkKhdmY8t1afEBfr6fMWcl23M6+3LiLo XfmTs9BKgFSV8TJE+mbZ2w8QiQ56vqeCl6BVDNWI9wPU8zmaVpLbt2GRaYvMwE5PFRa6 G9umNSOcdOJdMnh3l3tq6hEtqpj9h/OG4NLitgeR1nmQeOQgSbm/BxgH+J/7b7svN2zx OAaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=WgdGxaC5Zr/kZZafYTDSmUDsYuRxu3mDnIqZZgL7KOI=; b=l6LgENkaZq5ovPE5jqOgJNy/pSWT5ipX4Rnknv8CQbVHu9H6yNJIYVBYjRAvZOJVmg M9HdE/3JSzA7827myZg61x+lcK6WswIkagGFuzSONPZbMBstqUqGXDgENyCgNPW+p02c DN+Qk5Z8DFDcwKhFgLUHGRO8GZpQi6fQVlajutIOtx3W3ox//6qIB0adqpwxByqmnbO7 oWClnSnJuXDqOtfXr1sr0cuv67nzJtIguDKTh8ZLksQM/QCDs7TqbKeahDDVBbSxSy97 XL4B9DWkdSbhaHLxfpls2XyPNyadG+u1N3wtBsw9h6xGxoVemE+ne0cg7RJa0U+ZGtZ5 amYQ== X-Gm-Message-State: AG10YOSGGCcBTuuUdzY0q8q9kQE1FRr0HJn/blO8Sjm8Wt3MavWcRezYoWe9tdo4a+B5POPVbJiAClSqEXcAkg== MIME-Version: 1.0 X-Received: by 10.107.136.200 with SMTP id s69mr27504303ioi.120.1454940931737; Mon, 08 Feb 2016 06:15:31 -0800 (PST) Received: by 10.107.4.71 with HTTP; Mon, 8 Feb 2016 06:15:31 -0800 (PST) In-Reply-To: References: Date: Mon, 8 Feb 2016 09:15:31 -0500 Message-ID: Subject: Re: Poor ZFS+NFSv3 read/write performance and panic From: Tom Curry To: David Adam Cc: FreeBSD Filesystems Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 14:15:32 -0000 On Sun, Feb 7, 2016 at 11:58 AM, David Adam wrote: > Just wondering if anyone has any idea how to identify which devices are > implicated in ZFS' vdev_deadman(). I have updated the firmware on the > mps(4) card that has our disks attached but that hasn't helped. > > Thanks > > David > > On Fri, 29 Jan 2016, David Adam wrote: > > We have a FreeBSD 10.2 server sharing some ZFS datasets over NFSv3. It's > > worked well until recently, but has started to routinely perform > > exceptionally poorly, eventually panicing in vdev_deadman() (which I > > understand is a feature). > > > > Initally after booting, things are fine, but performance rapidly begins > to > > degrade. Both read and write performance is terrible, with many > operations > > either hanging indefinitely or timing out. > > > > When this happens, I can break into DDB and see lots of nfsd process > stuck > > waiting for a lock: > > Process 784 (nfsd) thread 0xfffff80234795000 (100455) > > shared lockmgr zfs (zfs) r = 0 (0xfffff8000b91f548) locked @ > > > /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c:2196 > > > > and the backtrace looks like this: > > sched_switch() at sched_switch+0x495/frame 0xfffffe04677740b0 > > mi_switch() at mi_switch+0x179/frame 0xfffffe04677740f0 > > turnstile_wait() at turnstile_wait+0x3b2/frame 0xfffffe0467774140 > > __mtx_lock_sleep() at __mtx_lock_sleep+0x2c0/frame 0xfffffe04677741c0 > > __mtx_lock_flags() at __mtx_lock_flags+0x102/frame 0xfffffe0467774210 > > vmem_size() at vmem_size+0x5a/frame 0xfffffe0467774240 > > arc_reclaim_needed() at arc_reclaim_needed+0xd2/frame > 0xfffffe0467774260 > > arc_get_data_buf() at arc_get_data_buf+0x157/frame 0xfffffe04677742a0 > > arc_read() at arc_read+0x68b/frame 0xfffffe0467774350 > > dbuf_read() at dbuf_read+0x7ed/frame 0xfffffe04677743f0 > > dmu_tx_check_ioerr() at dmu_tx_check_ioerr+0x8b/frame > 0xfffffe0467774420 > > dmu_tx_count_write() at dmu_tx_count_write+0x17e/frame > 0xfffffe0467774540 > > dmu_tx_hold_write() at dmu_tx_hold_write+0xba/frame 0xfffffe0467774580 > > zfs_freebsd_write() at zfs_freebsd_write+0x55d/frame 0xfffffe04677747b0 > > VOP_WRITE_APV() at VOP_WRITE_APV+0x193/frame 0xfffffe04677748c0 > > nfsvno_write() at nfsvno_write+0x13e/frame 0xfffffe0467774970 > > nfsrvd_write() at nfsrvd_write+0x496/frame 0xfffffe0467774c80 > > nfsrvd_dorpc() at nfsrvd_dorpc+0x66b/frame 0xfffffe0467774e40 > > nfssvc_program() at nfssvc_program+0x4e6/frame 0xfffffe0467774ff0 > > svc_run_internal() at svc_run_internal+0xbb7/frame 0xfffffe0467775180 > > svc_run() at svc_run+0x1db/frame 0xfffffe04677751f0 > > nfsrvd_nfsd() at nfsrvd_nfsd+0x1f0/frame 0xfffffe0467775350 > > nfssvc_nfsd() at nfssvc_nfsd+0x124/frame 0xfffffe0467775970 > > sys_nfssvc() at sys_nfssvc+0xb7/frame 0xfffffe04677759a0 > > amd64_syscall() at amd64_syscall+0x278/frame 0xfffffe0467775ab0 > > Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe0467775ab0 > > > > Is this likely to be due to bad hardware? I can't see any problems in > > the SMART data, and `camcontrol tags da0 -v` etc. does not reveal any > > particularly long queues. Are there other useful things to check? > > > > If not, do you have any other ideas? I can make the full DDB information > > available if that would be helpful. > > > > The pool is configured thus: > > NAME STATE READ WRITE CKSUM > > space ONLINE 0 0 0 > > mirror-0 ONLINE 0 0 0 > > da0 ONLINE 0 0 0 > > da1 ONLINE 0 0 0 > > mirror-1 ONLINE 0 0 0 > > da2 ONLINE 0 0 0 > > da3 ONLINE 0 0 0 > > mirror-2 ONLINE 0 0 0 > > da4 ONLINE 0 0 0 > > da6 ONLINE 0 0 0 > > mirror-3 ONLINE 0 0 0 > > da7 ONLINE 0 0 0 > > da8 ONLINE 0 0 0 > > logs > > mirror-4 ONLINE 0 0 0 > > gpt/molmol-slog ONLINE 0 0 0 > > gpt/molmol-slog0 ONLINE 0 0 0 > > where the da? devices are WD Reds and the SLOG partitions are on Samsung > > 840s. > > > > Many thanks, > > > > David Adam > > zanchey@ucc.gu.uwa.edu.au > > > > _______________________________________________ > > freebsd-fs@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-fs > > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" > > > > Cheers, > > David Adam > zanchey@ucc.gu.uwa.edu.au > Ask Me About Our SLA! > _______________________________________________ > freebsd-fs@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" > I too ran into this problem and spent quite some time troubleshooting hardware. For me it turns out it was not hardware at all, but software. Specifically the ZFS ARC. Looking at your stack I see some arc reclaim up top, it's possible you're running into the same issue. There is a monster of a PR that details this here https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=187594 If you would like to test this theory out, the fastest way is to limit the ARC by adding the following to /boot/loader.conf and rebooting vfs.zfs.arc_max="24G" Replacing 24G with what makes sense for your system, aim for 3/4 of total memory for starters. If this solves the problem there are more scientific methods to a permanent fix, one would be applying the patch in the PR above, another would be a more finely tuned arc_max value. From owner-freebsd-fs@freebsd.org Tue Feb 9 01:15:41 2016 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 43342AA22CE for ; Tue, 9 Feb 2016 01:15:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 32A5BD0E for ; Tue, 9 Feb 2016 01:15:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u191Fe8Q033071 for ; Tue, 9 Feb 2016 01:15:41 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 207022] stat() 4 to 16 times slower on FreeBSD/UFS than on Linux/Ext4 Date: Tue, 09 Feb 2016 01:15:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 01:15:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207022 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-fs@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Tue Feb 9 03:36:46 2016 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 92537AA2A93 for ; Tue, 9 Feb 2016 03:36:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 82C661C23 for ; Tue, 9 Feb 2016 03:36:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u193aiZA053542 for ; Tue, 9 Feb 2016 03:36:46 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 205816] [ext2fs] [patch] EXT4 sparse blocks unsupported, contain garbage when read Date: Tue, 09 Feb 2016 03:36:45 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: feature, patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: pfg@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pfg@FreeBSD.org X-Bugzilla-Flags: mfc-stable9- mfc-stable10+ X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 03:36:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205816 Pedro F. Giffuni changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |will_brokenbourgh@yahoo.com --- Comment #22 from Pedro F. Giffuni --- *** Bug 205932 has been marked as a duplicate of this bug. *** --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-fs@freebsd.org Tue Feb 9 03:43:49 2016 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 73637AA2E46 for ; Tue, 9 Feb 2016 03:43:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 642E21393 for ; Tue, 9 Feb 2016 03:43:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u193hnum027429 for ; Tue, 9 Feb 2016 03:43:49 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 155199] [ext2fs] ext3fs mounted as ext2fs gives I/O errors Date: Tue, 09 Feb 2016 03:43:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pfg@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 03:43:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D155199 Pedro F. Giffuni changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed CC| |pfg@FreeBSD.org Resolution|--- |Overcome By Events --- Comment #4 from Pedro F. Giffuni --- This report is practically 5 years old and a lot has happened since then. For one thing, the ext2fs implementation was rewritten for FreeBSD 9 and has been improving. I haven't seen similar issues nowadays and I doubt the issue can be reprodu= ced. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Tue Feb 9 08:03:50 2016 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CE085AA06D8 for ; Tue, 9 Feb 2016 08:03:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BF09C7F6 for ; Tue, 9 Feb 2016 08:03:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1983ofP009137 for ; Tue, 9 Feb 2016 08:03:50 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 207022] stat() 4 to 16 times slower on FreeBSD/UFS than on Linux/Ext4 Date: Tue, 09 Feb 2016 08:03:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: fabianosidler@swissonline.ch X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 08:03:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207022 --- Comment #4 from Fabiano Sidler --- No, it doesn't make a difference, but interestingly, now the last line of t= he output is something like: fbt enter spinlock_exit 70396867793752 rather than fbt enter spinlock_exit 11744981165023 with both the HPET and the TSC-low (small Ell) kern.timecounter.hardware, e= ven after a reboot. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Tue Feb 9 09:29:05 2016 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AAE9EAA2585 for ; Tue, 9 Feb 2016 09:29:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9B265EFF for ; Tue, 9 Feb 2016 09:29:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u199T4pc061758 for ; Tue, 9 Feb 2016 09:29:05 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 207022] stat() 4 to 16 times slower on FreeBSD/UFS than on Linux/Ext4 Date: Tue, 09 Feb 2016 09:29:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: avg@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 09:29:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207022 --- Comment #5 from Andriy Gapon --- (In reply to Fabiano Sidler from comment #0) The script looks very strange. What do you expect it to do? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Tue Feb 9 09:46:16 2016 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6C853AA2F7A for ; Tue, 9 Feb 2016 09:46:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5C8E71C3B for ; Tue, 9 Feb 2016 09:46:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u199kG6W098281 for ; Tue, 9 Feb 2016 09:46:16 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 207022] stat() 4 to 16 times slower on FreeBSD/UFS than on Linux/Ext4 Date: Tue, 09 Feb 2016 09:46:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: fabianosidler@swissonline.ch X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 09:46:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207022 --- Comment #6 from Fabiano Sidler --- (In reply to Andriy Gapon from comment #5) Originally, the script was like so: =3D=3D=3D snip =3D=3D=3D fbt:::entry { entry_times[probefunc] =3D timestamp; printf("fbt enter %s\n", probefunc); } fbt:::return { printf("fbt return %s\t%d\n", probefunc, timestamp-entry_times[probefun= c]); } =3D=3D=3D snap =3D=3D=3D But unexpectedly, the returns weren't in reverse call order, so I'm simply printing the time since last function call. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Tue Feb 9 14:52:08 2016 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 90557AA340E for ; Tue, 9 Feb 2016 14:52:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8227212DC for ; Tue, 9 Feb 2016 14:52:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u19Eq8EL025442 for ; Tue, 9 Feb 2016 14:52:08 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 207022] stat() 4 to 16 times slower on FreeBSD/UFS than on Linux/Ext4 Date: Tue, 09 Feb 2016 14:52:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: fabianosidler@swissonline.ch X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 14:52:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207022 --- Comment #7 from Fabiano Sidler --- Following http://www.brendangregg.com/blog/2015-03-10/freebsd-flame-graphs.= html I've done this: dtrace -x stackframes=3D100 -n 'profile-197 /arg0/ { @[stack()] =3D count()= ; }' -c ./cstat -o out.stacks ./stackcollapse.pl out.stacks | ./flamegraph.pl > out.svg uploaded to http://imgh.us/out_4.svg =3D=3D=3D snip out.stacks =3D=3D=3D kernel`cache_lookup+0x21c kernel`namei+0x4d4 kernel`kern_statat_vnhook+0xae kernel`sys_stat+0x2d kernel`amd64_syscall+0x357 kernel`0xffffffff80d30a8b 1 kernel`cache_lookup+0x53f kernel`namei+0x4d4 kernel`kern_statat_vnhook+0xae kernel`sys_stat+0x2d kernel`amd64_syscall+0x357 kernel`0xffffffff80d30a8b 1 kernel`acpi_cpu_c1+0x6 kernel`sched_idletd+0x1d5 kernel`fork_exit+0x9a kernel`0xffffffff80d30cde 14 =3D=3D=3D snap out.stacks =3D=3D=3D I don't see anything helpful in it, but maybe someone else does? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Tue Feb 9 16:31:49 2016 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9A542AA248F for ; Tue, 9 Feb 2016 16:31:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8B0BA1144 for ; Tue, 9 Feb 2016 16:31:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u19GVn05052326 for ; Tue, 9 Feb 2016 16:31:49 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 207022] stat() 4 to 16 times slower on FreeBSD/UFS than on Linux/Ext4 Date: Tue, 09 Feb 2016 16:31:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: fabianosidler@swissonline.ch X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 16:31:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207022 --- Comment #8 from Fabiano Sidler --- Created attachment 166811 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D166811&action= =3Dedit graph --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Tue Feb 9 16:33:02 2016 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B9CB4AA2555 for ; Tue, 9 Feb 2016 16:33:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AAC8E12FB for ; Tue, 9 Feb 2016 16:33:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u19GX2lR057316 for ; Tue, 9 Feb 2016 16:33:02 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 207022] stat() 4 to 16 times slower on FreeBSD/UFS than on Linux/Ext4 Date: Tue, 09 Feb 2016 16:33:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: fabianosidler@swissonline.ch X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 16:33:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207022 --- Comment #9 from Fabiano Sidler --- Dtraced again, with: dtrace -x ustackframes=3D100 -n 'profile-99 { @[ustack()] =3D count(); } ti= ck-60s { exit(0); }' Very weird graph, actually. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Tue Feb 9 18:38:12 2016 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 41E44AA249B for ; Tue, 9 Feb 2016 18:38:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2FED1E9B for ; Tue, 9 Feb 2016 18:38:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u19IcBfR034128 for ; Tue, 9 Feb 2016 18:38:11 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 207022] stat() 4 to 16 times slower on FreeBSD/UFS than on Linux/Ext4 Date: Tue, 09 Feb 2016 18:38:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: smh@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 18:38:12 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207022 --- Comment #10 from Steven Hartland --- Second graph is not for the process in question, so not much use. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Tue Feb 9 23:08:42 2016 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8648AAA274E for ; Tue, 9 Feb 2016 23:08:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 77FED1E30 for ; Tue, 9 Feb 2016 23:08:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u19N8gIP054927 for ; Tue, 9 Feb 2016 23:08:42 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 207022] stat() 4 to 16 times slower on FreeBSD/UFS than on Linux/Ext4 Date: Tue, 09 Feb 2016 23:08:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: fabianosidler@swissonline.ch X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 23:08:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207022 --- Comment #11 from Fabiano Sidler --- Created attachment 166819 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D166819&action= =3Dedit php-cgi graph --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Tue Feb 9 23:14:06 2016 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3575AAA2A37 for ; Tue, 9 Feb 2016 23:14:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 275A5264 for ; Tue, 9 Feb 2016 23:14:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u19NE5EQ070529 for ; Tue, 9 Feb 2016 23:14:06 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 207022] stat() 4 to 16 times slower on FreeBSD/UFS than on Linux/Ext4 Date: Tue, 09 Feb 2016 23:14:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: fabianosidler@swissonline.ch X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 23:14:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207022 --- Comment #12 from Fabiano Sidler --- Dtraced again, with: dtrace -x ustackframes=3D100 -n 'profile-99 /uid =3D=3D 1042/ { @[stack()] = =3D count(); } tick-600s { exit(0); }' There are no other processes running with uid 1042. There aren't that many HTTP requests anymore, it's 00:13 AM local time. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Wed Feb 10 01:28:37 2016 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 35AB2AA300A for ; Wed, 10 Feb 2016 01:28:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 25AD33DD for ; Wed, 10 Feb 2016 01:28:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1A1Sa3n056531 for ; Wed, 10 Feb 2016 01:28:37 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 207022] stat() 4 to 16 times slower on FreeBSD/UFS than on Linux/Ext4 Date: Wed, 10 Feb 2016 01:28:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: smh@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2016 01:28:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207022 --- Comment #13 from Steven Hartland --- How much time is this really using when testing here with =3D=3D gen =3D=3D perl -e 'for (1..4200) {my $file =3D "file$_";open(my $fh, ">", $file) or d= ie "cannot open > $file: $!";}' /=3D=3D gen =3D=3D =3D=3D bin =3D=3D #include #include #include #include #include #include int main(int argc, char* argv[]) { struct stat buf; char name[1024]; int i; for (i =3D 1; i <=3D 4200; i++) { sprintf(name, "file%d", i); if (stat(name, &buf) !=3D 0) { printf("Tested %d files\n", i - 1); err(EX_OSERR, NULL); } } printf("Tested %d files\n", i - 1); } /=3D=3D bin =3D=3D I'm seeing: /usr/bin/time ./test Tested 4201 files 0.00 real 0.00 user 0.00 sys --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Wed Feb 10 08:32:01 2016 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4999EAA2507 for ; Wed, 10 Feb 2016 08:32:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3B1F215DB for ; Wed, 10 Feb 2016 08:32:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1A8W0ix031035 for ; Wed, 10 Feb 2016 08:32:01 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 207022] stat() 4 to 16 times slower on FreeBSD/UFS than on Linux/Ext4 Date: Wed, 10 Feb 2016 08:32:01 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: fabianosidler@swissonline.ch X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2016 08:32:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207022 --- Comment #14 from Fabiano Sidler --- Hi Steven! Thank you for your help! I'm seeing the same: /usr/bin/time ./test Tested 4200 files 0.00 real 0.00 user 0.00 sys The interesting thing is that in my cstat program, the files are NOT actual= ly all in the same directory. Could this be the issue? Then the directory tree traversal needed to be speeded up somehow. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Wed Feb 10 18:29:20 2016 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EA628AA4767 for ; Wed, 10 Feb 2016 18:29:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D53471A0B for ; Wed, 10 Feb 2016 18:29:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1AITKlM062803 for ; Wed, 10 Feb 2016 18:29:20 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 206652] [ext2fs][patch] EXT4: sparse file fixes and mmap optimizations Date: Wed, 10 Feb 2016 18:29:20 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: pfg@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pfg@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2016 18:29:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206652 Pedro F. Giffuni changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |In Progress CC| |pfg@FreeBSD.org Assignee|freebsd-fs@FreeBSD.org |pfg@FreeBSD.org --- Comment #1 from Pedro F. Giffuni --- Grab. --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.= From owner-freebsd-fs@freebsd.org Wed Feb 10 19:59:21 2016 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 155C1AA3001 for ; Wed, 10 Feb 2016 19:59:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 05D0C1C4 for ; Wed, 10 Feb 2016 19:59:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1AJxKXf081164 for ; Wed, 10 Feb 2016 19:59:20 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 206652] [ext2fs][patch] EXT4: sparse file fixes and mmap optimizations Date: Wed, 10 Feb 2016 19:59:21 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: pfg@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pfg@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2016 19:59:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206652 Pedro F. Giffuni changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #166156|0 |1 is obsolete| | --- Comment #2 from Pedro F. Giffuni --- Created attachment 166850 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D166850&action= =3Dedit clean up Some style(9) cleanups: When returning a value enclose it in parenthesis. Lines too long. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-fs@freebsd.org Thu Feb 11 00:35:14 2016 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4A546AA41E2 for ; Thu, 11 Feb 2016 00:35:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3B31015ED for ; Thu, 11 Feb 2016 00:35:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1B0ZErC004060 for ; Thu, 11 Feb 2016 00:35:14 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 206652] [ext2fs][patch] EXT4: sparse file fixes and mmap optimizations Date: Thu, 11 Feb 2016 00:35:14 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pfg@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 00:35:14 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206652 --- Comment #3 from commit-hook@freebsd.org --- A commit references this bug: Author: pfg Date: Thu Feb 11 00:34:12 UTC 2016 New revision: 295494 URL: https://svnweb.freebsd.org/changeset/base/295494 Log: Ext4: fix handling of files with sparse blocks before extent's index. This is ongoing work from Damjan Jovanovic to improve ext4 read support with sparse files: Keep track of the first and last block in each extent as it descends down the extent tree, thus being able to work out that some blocks are sparse earlier. This solves an issue on r293680. In ext4_bmapext() start supporting the runb parameter, which appears to be the number of adjacent blocks prior to the block being converted in the same way that runp is the number of blocks after, speding up random access to mmaped files. PR: 206652 Changes: head/sys/fs/ext2fs/ext2_bmap.c head/sys/fs/ext2fs/ext2_extents.c --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-fs@freebsd.org Thu Feb 11 00:49:51 2016 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BE781AA4836 for ; Thu, 11 Feb 2016 00:49:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AF5B61B1D for ; Thu, 11 Feb 2016 00:49:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1B0npT1032873 for ; Thu, 11 Feb 2016 00:49:51 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 206652] [ext2fs][patch] EXT4: sparse file fixes and mmap optimizations Date: Thu, 11 Feb 2016 00:49:51 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: pfg@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pfg@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 00:49:51 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206652 Pedro F. Giffuni changed: What |Removed |Added ---------------------------------------------------------------------------- CC|pfg@FreeBSD.org | Resolution|--- |FIXED Status|In Progress |Closed --- Comment #4 from Pedro F. Giffuni --- Thank you! I think, ep_is_sparse should be a boolean, but it is better to change that = in a subsequent commit. Note that I won't be merging this code to the stable branches. --=20 You are receiving this mail because: You are on the CC list for the bug.=