From owner-svn-src-all@freebsd.org Thu May 19 16:00:14 2016 Return-Path: Delivered-To: svn-src-all@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 53C2EB41CCE; Thu, 19 May 2016 16:00:14 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-oi0-x22e.google.com (mail-oi0-x22e.google.com [IPv6:2607:f8b0:4003:c06::22e]) (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 154F51705; Thu, 19 May 2016 16:00:14 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-oi0-x22e.google.com with SMTP id x19so135851365oix.2; Thu, 19 May 2016 09:00:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc; bh=ElUFEXoL85Uzzx4/ET7e9eWTQZCP/2Aofi4/K9ASNtg=; b=VPqIk2PpRRDzW3Evf+J8aF5ykPIxqiTtaki3EOL6OqkZUrOu1vxE95rjnhz2pIvoWt nccZDvZkYfsK2ZtqGGZd7EyZxYnmEMS9fLoWF2MYT7oUUh9JwFfcVgxF2uVvKU9g0A9r jyoyM47c+5l8G16m+bH6w0zSxc4nDlhKM0sa3uceWXkUxC/XEc/l3SGOkb/nGuNTdNbt x239jgPOc/8zmYpTKwE/pCYb0jOX30q09gFEEIEB/8U6W1ewfBTa25RYRYhSwMS8nx74 4YGS1WqovqqVcKTFIZJ4RUgErozYTd0mU7hYLSuyUehBpL+rfyWZm1kKlO55oPA4EdBm j/1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc; bh=ElUFEXoL85Uzzx4/ET7e9eWTQZCP/2Aofi4/K9ASNtg=; b=VhrTE8IYQ64a0leqLIPXJM+PGfaCU5TiY7uuYMGMWWMRT+m6qZxKEcgFqhPV3Z9gBa uAj6lUFONXg5zLVJN7PDJGfv9rEr+I5E6oi2RB85rlmjZNzUCmMsQEmiLVHpVu/E79O5 BVxjHqPqS3m0EaQDZ+fowzhDG6+oaATN4vgppltIxTeb4btmAP2a3xPVy0d9jcGJ+82F Y8TkYpM0GOmDesco3biKhHuGrBnwOz/NfxZ2UuH0BdDb8jUG8eX7BETLgngBS/w+y+ht L+5+OzVZ9hymindXF1TwfT6Wluk+BSbYE4S/4tPVkUALultLkpG2EAtSR84kqsdso/U0 OUiA== X-Gm-Message-State: AOPr4FVOP7VUT/ABRP+h9QMUOk3+/ofUZdeWGu7lzWJSfa2dhuDXlzIjxnJ4KjWcY3DP5hcJbfRkLvwSPhSEdw== MIME-Version: 1.0 X-Received: by 10.157.43.3 with SMTP id o3mr3025901otb.10.1463673613252; Thu, 19 May 2016 09:00:13 -0700 (PDT) Sender: asomers@gmail.com Received: by 10.202.4.200 with HTTP; Thu, 19 May 2016 09:00:13 -0700 (PDT) In-Reply-To: References: <201605191408.u4JE8aPL079390@repo.freebsd.org> <573DCE0D.70400@fastmail.net> <20160519145033.GA69089@mithlond.kdm.org> Date: Thu, 19 May 2016 10:00:13 -0600 X-Google-Sender-Auth: tGRJWeYCpnWuRiHvCPar9FdIU7Q Message-ID: Subject: Re: svn commit: r300207 - in head: sbin/camcontrol sys/cam/ata sys/cam/scsi sys/dev/ahci sys/geom sys/geom/eli sys/kern sys/sys usr.sbin usr.sbin/diskinfo usr.sbin/zonectl From: Alan Somers To: Adrian Chadd Cc: "Kenneth D. Merry" , Bruce Simpson , "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 May 2016 16:00:14 -0000 On Thu, May 19, 2016 at 9:54 AM, Adrian Chadd wrote: > On 19 May 2016 at 07:50, Kenneth D. Merry wrote: > > On Thu, May 19, 2016 at 15:30:37 +0100, Bruce Simpson wrote: > >> Right On Commander! > >> > >> Now here is hoping the random-write issues with OpenZFS are solved... > > > > Well, this is of course only the underlying infrastructure for SMR > drives. > > > > As for the random write issues with ZFS (or rather sequential I/O going > out > > in random order), we (Spectra) are working on that in general. > > > > The original plan was to do full SMR support for ZFS, but it looks like > we > > may get good enough write performance with Drive Managed drives by just > > making writes from ZFS to drives more sequential rather than going for > full > > Host Aware and Host Managed support. If that turns out that performance > > isn't good enough after all, then we'll have to put in the effort to put > > Host Aware support at least into ZFS. > > > > That's why I said (in the commit message) that I don't know of anyone > > working on using the SMR infrastructure for UFS or ZFS. Now that the > > plumbing is in place in CAM and GEOM, it is possible at the filesystem > > level if someone wants to do the work. > > Is it possible to use this from userland for now? Ie, probe whatever > we need to in order to understand the transaction geometries (ie, the > optimal sizes for reading/writing, etc) and then issue IOs that are in > line with this? > > > > -adrian > > Sure. You can do all that with zonectl or its ioctls, if you have a userland program that writes to raw block devices. Reset Write Pointer is supported, too. -Alan