From owner-freebsd-fs@freebsd.org Wed Jul 27 16:14: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 B68FBBA6A71 for ; Wed, 27 Jul 2016 16:14: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 A61E31EC6 for ; Wed, 27 Jul 2016 16:14: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 u6RGE5Lq004665 for ; Wed, 27 Jul 2016 16:14:05 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 211381] L2ARC degraded, repeatedly, on Samsung SSD 950 Pro nvme Date: Wed, 27 Jul 2016 16:14: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.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: braddeicide@hotmail.com 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.22 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jul 2016 16:14:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211381 --- Comment #7 from braddeicide@hotmail.com --- Yes it's on a geli dtrace -n 'sdt:::l2arc-iodone /args[0]->io_error !=3D 0/ { printf("io_error= =3D %d io_offset =3D %d io_size =3D %d", args[0]->io_error, args[0]->io_offset, args[0]->io_size); }' dtrace: description 'sdt:::l2arc-iodone ' matched 1 probe dtrace: buffer size lowered to 512k CPU ID FUNCTION:NAME 2 57400 none:l2arc-iodone io_error =3D 22 io_offset =3D 0= io_size =3D 0 1 57400 none:l2arc-iodone io_error =3D 22 io_offset =3D 0= io_size =3D 0 0 57400 none:l2arc-iodone io_error =3D 22 io_offset =3D 0= io_size =3D 0 1 57400 none:l2arc-iodone io_error =3D 22 io_offset =3D 0= io_size =3D 0 0 57400 none:l2arc-iodone io_error =3D 22 io_offset =3D 0= io_size =3D 0 1 57400 none:l2arc-iodone io_error =3D 22 io_offset =3D 0= io_size =3D 0 0 57400 none:l2arc-iodone io_error =3D 22 io_offset =3D 0= io_size =3D 0 1 57400 none:l2arc-iodone io_error =3D 22 io_offset =3D 0= io_size =3D 0 2 57400 none:l2arc-iodone io_error =3D 22 io_offset =3D 0= io_size =3D 0 0 57400 none:l2arc-iodone io_error =3D 22 io_offset =3D 0= io_size =3D 0 # diskinfo -v /dev/nvd0p3.eli /dev/nvd0p3.eli 4096 # sectorsize 483117756416 # mediasize in bytes (450G) 117948671 # mediasize in sectors 0 # stripesize 0 # stripeoffset 7341 # Cylinders according to firmware. 255 # Heads according to firmware. 63 # Sectors according to firmware. S2GMNCAGA01093W # Disk ident. Oh 4k, this device is pretty deadset on being 512 # diskinfo -v /dev/nvd0p3 /dev/nvd0p3 512 # sectorsize 483117760512 # mediasize in bytes (450G) 943589376 # mediasize in sectors 512 # stripesize 0 # stripeoffset 58735 # Cylinders according to firmware. 255 # Heads according to firmware. 63 # Sectors according to firmware. S2GMNCAGA01093W # Disk ident. I dropped the cache and the dtrace errors stopped so that's the source alri= ght. I detached the geli, attached the geli and added cache and they started aga= in. Dropped the cache, detached geli, added nvd0p3 as cache without geli and no errors and the cache started building. capacity operations bandwidth pool alloc free read write read write cache - - - - - - nvd0p3 514M 449G 0 0 0 0 I recreated geli with 512 Sectorsize, reattached and so far no errors, but = it worked the first time for a while too. Cache is building, no dtrace errors yet, i'll watch. # diskinfo -v /dev/nvd0p3.eli /dev/nvd0p3.eli 512 # sectorsize 483117760000 # mediasize in bytes (450G) 943589375 # mediasize in sectors 0 # stripesize 0 # stripeoffset 58735 # Cylinders according to firmware. 255 # Heads according to firmware. 63 # Sectors according to firmware. S2GMNCAGA01093W # Disk ident. re r300039, yeah looks useful ------------------------------------------------------------------------ r300039 | avg | 2016-05-17 18:43:50 +1000 (Tue, 17 May 2016) | 5 lines MFC r297848: l2arc: make sure that all writes honor ashift of a cache device Note: no MFC stable/9 because it has become quite out of date with head, so the merge would be quite labourious and, thus, risky. ------------------------------------------------------------------------ --=20 You are receiving this mail because: You are the assignee for the bug.=