From owner-freebsd-geom@FreeBSD.ORG Sun Dec 28 21:39:18 2014 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5D2011CC for ; Sun, 28 Dec 2014 21:39:18 +0000 (UTC) Received: from mail-wg0-x229.google.com (mail-wg0-x229.google.com [IPv6:2a00:1450:400c:c00::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DEF6D1A0E for ; Sun, 28 Dec 2014 21:39:17 +0000 (UTC) Received: by mail-wg0-f41.google.com with SMTP id y19so17751126wgg.28 for ; Sun, 28 Dec 2014 13:39:16 -0800 (PST) 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:content-type; bh=IWYWga+jY2VTDc8QpZnSCGeeiphAbqEmljH+5qqZOf0=; b=sdpJTcJDBi5KyFehZkrux9udYo+EAPdHTAHuSs9sb73rsu7xSuhLy9WboMa0p296Z8 KvXEa3496E6y8Zw5GE03xWa8GFb6REt4AEUdltySN/E+53/yV0BYWtcX70uVKd/pOU16 yRlzw1Do/YXONeQQdo8zxmrbBze/LejIvoH4Xl7AApfs0Xbd/XC1NuDwUfcgBwbokb6G m8R1vb13Od9jAt2nEMKeRaqYtJI6L3ENT+zjJzTMb9XcYEGExjJjSl6dTEkOj6iHluy5 0RouA0uwpi+baLX+MJRKYmMxpHaotyj8wLMNOO2xSczqKR0gQAhP8y0RbpACgQWFsvpZ BFlQ== MIME-Version: 1.0 X-Received: by 10.180.7.198 with SMTP id l6mr89941244wia.26.1419802756360; Sun, 28 Dec 2014 13:39:16 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.216.106.195 with HTTP; Sun, 28 Dec 2014 13:39:16 -0800 (PST) In-Reply-To: References: <20141219015210.GY25139@funkthat.com> Date: Sun, 28 Dec 2014 13:39:16 -0800 X-Google-Sender-Auth: -Q-z_eIEu-kGfG6Lzn4ERlI5C-A Message-ID: Subject: Re: Converting LBAs to byte offsets through the GEOM stack From: Adrian Chadd To: "Pokala, Ravi" Content-Type: text/plain; charset=UTF-8 Cc: John-Mark Gurney , "freebsd-geom@freebsd.org" X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Dec 2014 21:39:18 -0000 On 28 December 2014 at 11:48, Pokala, Ravi wrote: > Hi Adrian, > >>So I had a thing that I attached commands to that would funnel down to >>the geom layer that did this mirroring/caching/remapping thing, and it >>would handle schedule the commands to whatever block(s) on whatever >>disk(s) actually represented that particular logical offset. I actually >>had something that'd let me issue commands that would map to a single >>command to a single disk, or could be replicated to multiple commands to >>multiple disks (and then i'd just get the completion from them all in the >>reply message, as the bio didn't have enough space to write multiple >>block reads into, and mostly I was issuing status check commands like you >>are. :) >> >>Is that making more sense? I can whiteboard it up next time we're in the >>same place. > > That would be very helpful. :-) Next BAFUG? Sure thing. -adrian