From owner-svn-src-all@freebsd.org Wed Nov 7 20:31:53 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F3125112E2A5 for ; Wed, 7 Nov 2018 20:31:52 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it1-x12a.google.com (mail-it1-x12a.google.com [IPv6:2607:f8b0:4864:20::12a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 24E3377D05 for ; Wed, 7 Nov 2018 20:31:52 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it1-x12a.google.com with SMTP id b7-v6so24842947itd.5 for ; Wed, 07 Nov 2018 12:31:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rMQaQk4t1r7hf3haFSb1C5KAXW4ZlHPsrP25lqur6fw=; b=RklflZtiWMlMAqvCSjpAZws/QtgDoRcNMH5j1yyY4OIR8cEKrVXppR+Xgch3Qk9Rnb iSwfEx751+hi0yvRThGcME7z3XeLDxw442gpT6K7QSvVhimSUrmWkWhmOPufi6UsJJMi gd7qbGqj+UHAtHFDCygxUgheO++oEihnEtilKVx03qaYyiXC4DmSHEyCCcaGkLFkQgVd BEdYppdcnHotwCXBfzvAvU8xArPn/8GLCM4cMysjl81EJ+iSeyqn7J/ZVkxWtPznyK09 0vUJh5AvWWXCDx49Z9MijDEhiUgVgdCbS0ItYr75fD0ETiNHWzKnJQRT2o+QJy1oi849 JmIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rMQaQk4t1r7hf3haFSb1C5KAXW4ZlHPsrP25lqur6fw=; b=ngNWWuqUrPenP2f6IwDJTSetYUAcIoTr41ZMZ+TlOkNhvcL1l+urhIc/CPI9ZDSTzT uKu/VPqNS2/4mpZ4TZaB4q8ZH9KhjQwhaAFmzuI4E9adBi/GhUc4UpT6h1IgRcF+mKMP FLEfEPnD5icNThqtvN2bjdQ56imDpvLry/G4OajHSeMDQ0+nSnXvw2f3UfmYu9kwbQWB lK6PHsiyGlwToPAQQ8jRcN+HyXoYxLS/qDi3cxT1J5iOcNtUH/5rAthxA6hsxL7P/Vl9 0JZYjDnmywTyVFxW43uSW2/DcBI7dYWOS6fAFQ7zDtfliyq2XSab1sP9s8gVNP0aW4k+ 8VzQ== X-Gm-Message-State: AGRZ1gK4CJrl8dOGQFYQdNMSqMdrDzmqRbA9ElV0W629pM/AgPehiVKP RWNdYZeXa0nxFT4OBL04Bw69sOYvQKryLySCn59YhQ== X-Google-Smtp-Source: AJdET5cWK08/dP29QeHZPTU6p9VYzQmCYyon8i4iqSjDR7N8QxPwPY2RqJahlyPAf8VGTiH0AevyiXiAR5wzk3x7neE= X-Received: by 2002:a02:9951:: with SMTP id d17-v6mr1589918jak.78.1541622709847; Wed, 07 Nov 2018 12:31:49 -0800 (PST) MIME-Version: 1.0 References: <1541606248.52306.42.camel@freebsd.org> <201811071606.wA7G6mQW001639@pdx.rh.CN85.dnsmgr.net> <1603.1541622015@critter.freebsd.dk> In-Reply-To: <1603.1541622015@critter.freebsd.dk> From: Warner Losh Date: Wed, 7 Nov 2018 13:31:38 -0700 Message-ID: Subject: Re: svn commit: r340187 - head/sys/geom To: Poul-Henning Kamp Cc: "Rodney W. Grimes" , Ian Lepore , Maxim Sobolev , src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org, Pawel Jakub Dawidek X-Rspamd-Queue-Id: 24E3377D05 X-Spamd-Result: default: False [-3.40 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.81)[-0.814,0]; NEURAL_HAM_LONG(-0.99)[-0.994,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[svn-src-all@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; MX_GOOD(-0.01)[cached: ALT1.aspmx.l.google.com]; RCPT_COUNT_SEVEN(0.00)[8]; RCVD_IN_DNSWL_NONE(0.00)[a.2.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-0.59)[ipnet: 2607:f8b0::/32(-1.35), asn: 15169(-1.50), country: US(-0.09)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 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: Wed, 07 Nov 2018 20:31:53 -0000 On Wed, Nov 7, 2018 at 1:20 PM Poul-Henning Kamp wrote: > -------- > In message < > CANCZdfrK-7vBETkhfQ9KkM4usrvjVh8wS_OZJiDmH5336DTsqQ@mail.gmail.com> > , Warner Losh writes: > > >BIO_FLUSH is primarily done to force ordering points, > > Originally BIO_FLUSH was defined the way it is, to make it possible > to flush an isolated specified range on providers which support that > so that fsync(2) could be implemented that way. > > I can't remember the exact semantics of the two "magic" flush > operations (off=0,len=0) and (off=end,len=0) but they were different > from each other in some important aspect (Pawel?) > I couldn't find any place where the different types of flush are differentiated (nothing in CAM for sure), though I suppose I could have missed something. All the CAM drivers just use it to push data to the device and don't look at the flags. Warner