From owner-freebsd-hackers@freebsd.org Wed Feb 3 14:43:22 2021 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DED30538754 for ; Wed, 3 Feb 2021 14:43:22 +0000 (UTC) (envelope-from khng300@gmail.com) Received: from mail-oi1-x229.google.com (mail-oi1-x229.google.com [IPv6:2607:f8b0:4864:20::229]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DW4DV282Bz4h3D for ; Wed, 3 Feb 2021 14:43:22 +0000 (UTC) (envelope-from khng300@gmail.com) Received: by mail-oi1-x229.google.com with SMTP id h6so77833oie.5 for ; Wed, 03 Feb 2021 06:43:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=OgAi298qzLGTkFLS9Wt4KPlvmNVSGvQy97jei7gncBA=; b=dGexM3g4WITzcfZcxrK+26DTovutAEok5SY0bB2uBUGTFNj2cQMoiN7m/9dQ4smVJT 37GRyCeNtDTY01YR+/wDrCMGZz+MbO+hOdzQ6dAib73GCi3iD3YzTNjTIxt9oPppXZVy VVqUDfM/Tj+eC+Wj9gT9JNfLjaQYSKtZ71apUEenqawXJzqcvZ53rtUWJ5UiddCPpEgY OjVKCLdavnAtutmHw8lZCFCmuhxOZG3rGNVBL0nLvT/wllirhUsJWgAue7oE7RlRZ1VI EWJrzo6pMwhJXZ9sYoSMetEyLNG6lPOjjflvtgdKmFR138i8B9nsblMKZqhIwa2yuFba nsiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=OgAi298qzLGTkFLS9Wt4KPlvmNVSGvQy97jei7gncBA=; b=NqXt40LY1Z3QInMIxe/FbY9TUI/4bo0TDMnehbw6oYVDJssn5zAEWFgLVtuJOk3T2p xlKDT+CBzg4+N7zDBOte1rvaBxh9ik64btzBXi8xrZk8tA0l/R7/W4gHeOhJ+l534y1C kahrVLwafIqSv8bQ92jFHtS3QwZN2L6KgJrWvmQHjhTTxuGuIM3jRy7+JOq7VRkcMtnP UGbjq3Xx7m6imUPz3w9R9VEYP8PtpAxr7zNtNF6Wd7aOkopsMzg4TUEgl2X8iHyfutXK Hj5VjIs1DAj1oMZHSlAQU97CRE1m2yHG6+45nlOMqmd5NcnAbzUx5szLofdB7dPtFbDO JvQA== X-Gm-Message-State: AOAM532zmZKBaMboNg+BEQ1QjUjbzJbycHiUibdQHR/RQTji1w6sQ2us M0YlFaRxMKLt0TKlH103H+iMisdPWcJwwdVKJEOxFvVtOgFlIw== X-Google-Smtp-Source: ABdhPJz4u2VsTdgUymk7+PE/c3UH52bNASMu4BAoWb0xpcHtKi/wd0wK5WejONRltsviYZYbrme1+NroSyQR8PyZi0g= X-Received: by 2002:aca:ec89:: with SMTP id k131mr2201581oih.131.1612363401197; Wed, 03 Feb 2021 06:43:21 -0800 (PST) MIME-Version: 1.0 From: Ka Ho Ng Date: Wed, 3 Feb 2021 22:43:10 +0800 Message-ID: Subject: About upgrading vnode lock in VOP To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4DW4DV282Bz4h3D X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=dGexM3g4; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of khng300@gmail.com designates 2607:f8b0:4864:20::229 as permitted sender) smtp.mailfrom=khng300@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::229:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::229:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::229:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-hackers] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2021 14:43:22 -0000 Hi all, Is it generally okay if an VOP upgrades the vnode lock from shared lock to exclusive lock in case it is held as shared lock? The reason behind is, the VOP would possibly extend the file size. Ka Ho From owner-freebsd-hackers@freebsd.org Wed Feb 3 18:06:24 2021 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 505D453ECFF for ; Wed, 3 Feb 2021 18:06:24 +0000 (UTC) (envelope-from rpokala@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DW8km1qNlz3GBs for ; Wed, 3 Feb 2021 18:06:24 +0000 (UTC) (envelope-from rpokala@freebsd.org) Received: from [192.168.1.10] (unknown [98.42.164.217]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: rpokala) by smtp.freebsd.org (Postfix) with ESMTPSA id D6DE836838 for ; Wed, 3 Feb 2021 18:06:23 +0000 (UTC) (envelope-from rpokala@freebsd.org) User-Agent: Microsoft-MacOutlook/16.45.21011103 Date: Wed, 03 Feb 2021 10:06:20 -0800 Subject: Including IB utils in install images From: Ravi Pokala To: "freebsd-hackers@freebsd.org" Message-ID: <377FA5D1-0DC8-463D-A8E3-5645801C2858@freebsd.org> Thread-Topic: Including IB utils in install images Mime-version: 1.0 Content-type: text/plain; charset="UTF-8" Content-transfer-encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2021 18:06:24 -0000 Hi folks, I'm using release/release.sh to create install images. We recently determined that we need to start including the InfiniBand utilities (contrib/ofed/infiniband-diags / usr.bin/ofed/infiniband-diags). I updated my release.conf to add 'WITH_OFED_EXTRA=1' to MAKE_FLAGS, and I confirmed that the utilities are being built. However, they are not subsequently copied to the distdir, or included in the resulting image. Well, technically, `ibstat' is, but per usr.bin/ofed/infiniband-diags/Makefile, it is not contingent on WITH_OFED_EXTRA / MK_OFED_EXTRA. Bug, or operator error? Thanks, Ravi (rpokala@) From owner-freebsd-hackers@freebsd.org Wed Feb 3 18:29:30 2021 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D769053F52F for ; Wed, 3 Feb 2021 18:29:30 +0000 (UTC) (envelope-from gjb@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DW9FQ5Pjtz3HZw; Wed, 3 Feb 2021 18:29:30 +0000 (UTC) (envelope-from gjb@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1612376970; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Z8qp4hhs17nJ3LNLUjiEmNFgPXBib8g1I6sC3j+uGX8=; b=T04dwyLyGvPrWqMHhf2sfWzW7ahPTjvSy45B7CyzQNdRbfBr9iCH8z2tKzmc9LXRj5oGuM YCtky951whnuRX2DbX3XddF6y3ka0kNc7A129d2w0xGtpZD8Ok0q9XaP41YfeyZH/77QVw KMvbmYSDgbgbFjmJGT33jgc5M/9h8oKre0oZIU87xYgizly1BDBGpCZyLiRz9qyVXpSaM6 AiUclspMQo4q3zgYHJ/ny7FOzeKs33IGpPfMK2BKneXqt7ZQGReyy/DqwxiVADxtK+pHrg FGiITcX0UmnBMcvg4k15E8gzwhchcHP/8Ja3TN3YLvF4WypdFaj2Q9/XzBwoRg== Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 6C79014D7E; Wed, 3 Feb 2021 18:29:30 +0000 (UTC) (envelope-from gjb@freebsd.org) Date: Wed, 3 Feb 2021 18:29:28 +0000 From: Glen Barber To: Ravi Pokala Cc: "freebsd-hackers@freebsd.org" Subject: Re: Including IB utils in install images Message-ID: <20210203182928.GG77557@FreeBSD.org> References: <377FA5D1-0DC8-463D-A8E3-5645801C2858@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="c1ZK2iIXW32Oz72x" Content-Disposition: inline In-Reply-To: <377FA5D1-0DC8-463D-A8E3-5645801C2858@freebsd.org> ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1612376970; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Z8qp4hhs17nJ3LNLUjiEmNFgPXBib8g1I6sC3j+uGX8=; b=K+Fn95dVZcrpFwnQUYQ9F4Wb4RbTWH4xK2VnGUcRA0+plv2O/DJ32UrWXH5m8p0C5SNQ8Z wPiwPXAr9kN9suZqcNyuzCBO7JHXXyqQBOyeyOh4IkN+isMM6/iu7FE+aJWTmOuu6G75Gl zb6yix5P4W7ycZd2HDdYgwz0yHZQSllWzUk5aCHQ8TlTUCr1hHzc/80tDwy8X3fVLn3hs9 t+dkWVUX4Lwd2SIKlSROVWLlH4ZY/t11aLifS62SOMatbnsZmTBW029ocDbLjwD4A6As1m 9z83xWqC2czhHsI8+SM8Vw469YM+yK+cVDBIjeyrB7uJBiWCXT1Mz9AaALZIkw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1612376970; a=rsa-sha256; cv=none; b=LBTJBHGBZD2jWaCGK5quKOJBc4rvtEYB71w6/Y9pijjpbxY/bhOyTrW0aCT+Hnc6VS6RPk k3bli7/4370BauGa2BrhmPoK8uzROVw8smmMV7xGPZm9B7lRAxXOrKKDO4aRB9/2NKILfn nr1GvXwDD0cc8d5T9PF9/NJKYBngOtOklu0ozm+nNMyfqfpP2G56zWF0pStjmUd56/eeMn iPSdkTC6NDuK59Mu87Yi5iRSeP3s3lnRxJ01byWyZGBS4V9ELqeUnfLeG0AZATsA/2VgIf 6/OZGMPtLUDnhbPZ42bO28dzMGVNljt241dRRLJyWkPwDjIstPrNMCltikT4Kg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2021 18:29:30 -0000 --c1ZK2iIXW32Oz72x Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 03, 2021 at 10:06:20AM -0800, Ravi Pokala wrote: > Hi folks, >=20 > I'm using release/release.sh to create install images. We recently determ= ined that we need to start including the InfiniBand utilities (contrib/ofed= /infiniband-diags / usr.bin/ofed/infiniband-diags). I updated my release.co= nf to add 'WITH_OFED_EXTRA=3D1' to MAKE_FLAGS, and I confirmed that the uti= lities are being built. However, they are not subsequently copied to the di= stdir, or included in the resulting image. Well, technically, `ibstat' is, = but per usr.bin/ofed/infiniband-diags/Makefile, it is not contingent on WIT= H_OFED_EXTRA / MK_OFED_EXTRA. >=20 > Bug, or operator error? >=20 You could set a local SRC_CONF (see release/release.conf.sample), but I *think* you also need to set WITH_OFED=3D1. According to src.conf(5), it seems WITH_OFED_EXTRA is ignored unless WITH_OFED is explicitly set. Glen --c1ZK2iIXW32Oz72x Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEjRJAPC5sqwhs9k2jAxRYpUeP4pMFAmAa64IACgkQAxRYpUeP 4pMiMw//RMoIvDVvo4Hgbrgx/rK0obaljK8z2KhrBW4jicrnjK4wJDVKFKqyioN5 4rEMfJubsyah+iyWk81H6PgOxDgYMwdoJax4RTIVmAiwYERVo5nN4VoOd+HU00X5 vodwTQ8ADxODhedu1vMvZ9oTLhy0wFDxKHckDuZNtOR7S/XSt170Jg12uZemzFIO GMPi+UzJxHOUUO0Xk4yLKZaxIRuqtcBP90LAyt068cn4toqLaX+Ufz3XI3S3IYQE MZjqfSetoRW4x7YF86fw42+aJt0DwgUiraL/mKTq4/5VvwjCRE634gPaXwIyb/X8 JvETUM/0l3N9b52kh3Zci1uKQSin00RxY102BjnH+AFZkIa6y4cwBmvjmmBYUti9 nJVQVxVS2fqcnkED2FAP19Y32xuJsOQJ8hrITc6cxQ75R/ev1B1Uahu3HjArP3ly XhKm9Z0zxKwiUt8/iHY7rG926cX3cQ/l9q6SoHZGmS8PReaN/o1bTrUchsZpND5S vc2t7+tv1Qm2sq7yD+EJv0A+/HxE0yLoWOGK0h/FAG4Mfi9TEWYlkmPL1673sZ1c l7HvXbP/ZRFseN+8xNJQVhfaHH6oZWsCt8PFqZIm4F0jZOyn0t8PjvcFM4djcgS3 pOegwdXEaa3eH8A8Q1PmpMoU0LeF6WyhfOVsE2fmlT+mFzghs88= =aA5Y -----END PGP SIGNATURE----- --c1ZK2iIXW32Oz72x-- From owner-freebsd-hackers@freebsd.org Wed Feb 3 19:17:40 2021 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 91ABD5289C0 for ; Wed, 3 Feb 2021 19:17:40 +0000 (UTC) (envelope-from rpokala@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DWBK03rWHz3MFB; Wed, 3 Feb 2021 19:17:40 +0000 (UTC) (envelope-from rpokala@freebsd.org) Received: from [192.168.1.10] (unknown [98.42.164.217]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: rpokala) by smtp.freebsd.org (Postfix) with ESMTPSA id 0C20036AB5; Wed, 3 Feb 2021 19:17:39 +0000 (UTC) (envelope-from rpokala@freebsd.org) User-Agent: Microsoft-MacOutlook/16.45.21011103 Date: Wed, 03 Feb 2021 11:17:37 -0800 Subject: Re: Including IB utils in install images From: Ravi Pokala To: Glen Barber CC: "freebsd-hackers@freebsd.org" Message-ID: <383934FB-B779-42CD-8F91-2F1786B7DB02@panasas.com> Thread-Topic: Including IB utils in install images Thread-Index: AQHW+lw4Axie7eybUkG6T4Z4Be/d+A== References: <377FA5D1-0DC8-463D-A8E3-5645801C2858@freebsd.org> <20210203182928.GG77557@FreeBSD.org> In-Reply-To: <20210203182928.GG77557@FreeBSD.org> Mime-version: 1.0 Content-type: text/plain; charset="UTF-8" Content-transfer-encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2021 19:17:40 -0000 -----Original Message----- From: Glen Barber Date: 2021-02-03, Wednesday at 10:29 To: Ravi Pokala Cc: "freebsd-hackers@freebsd.org" Subject: Re: Including IB utils in install images On Wed, Feb 03, 2021 at 10:06:20AM -0800, Ravi Pokala wrote: > Hi folks, > > I'm using release/release.sh to create install images. We recently determined that we need to start including the InfiniBand utilities (contrib/ofed/infiniband-diags / usr.bin/ofed/infiniband-diags). I updated my release.conf to add 'WITH_OFED_EXTRA=1' to MAKE_FLAGS, and I confirmed that the utilities are being built. However, they are not subsequently copied to the distdir, or included in the resulting image. Well, technically, `ibstat' is, but per usr.bin/ofed/infiniband-diags/Makefile, it is not contingent on WITH_OFED_EXTRA / MK_OFED_EXTRA. > > Bug, or operator error? > Hi Glen, You could set a local SRC_CONF (see release/release.conf.sample), but I *think* you also need to set WITH_OFED=1. According to src.conf(5), it seems WITH_OFED_EXTRA is ignored unless WITH_OFED is explicitly set. While that's certainly logical, src.conf(5) does not actually contain that wording. But it's moot; OFED is already in __DEFAULT_YES_OPTIONS in src.opts.mk, so WITH_OFED=1 is implied. Looking for what's happening with `ibstat' (outside MK_OFED_EXTRA) and `ibping' (inside MK_OFED_EXTRA), this is what I see: ================================================================ [builder:/usr0/rpokala] rpokala> egrep '^===> .*/(ibstat|ibping)' release.out ===> usr.bin/ofed/infiniband-diags/ibstat (cleandir) ===> usr.bin/ofed/infiniband-diags/ibping (cleandir) ===> usr.bin/ofed/infiniband-diags/ibstat (cleandir) ===> usr.bin/ofed/infiniband-diags/ibping (cleandir) ===> usr.bin/ofed/infiniband-diags/ibstat (includes) ===> usr.bin/ofed/infiniband-diags/ibping (includes) ===> usr.bin/ofed/infiniband-diags/ibstat (all) ===> usr.bin/ofed/infiniband-diags/ibping (all) ===> usr.bin/ofed/infiniband-diags/ibstat (install) ===> usr.bin/ofed/infiniband-diags/ibstat (installconfig) ===> usr.bin/ofed/infiniband-diags/ibstat (cleandir) ===> usr.bin/ofed/infiniband-diags/ibping (cleandir) ===> usr.bin/ofed/infiniband-diags/ibstat (cleandir) ===> usr.bin/ofed/infiniband-diags/ibping (cleandir) ===> usr.bin/ofed/infiniband-diags/ibstat (includes) ===> usr.bin/ofed/infiniband-diags/ibping (includes) ===> usr.bin/ofed/infiniband-diags/ibstat (all) ===> usr.bin/ofed/infiniband-diags/ibping (all) ===> usr.bin/ofed/infiniband-diags/ibstat (distribute) ===> usr.bin/ofed/infiniband-diags/ibstat (installconfig) ===> usr.bin/ofed/infiniband-diags/ibstat (install) ===> usr.bin/ofed/infiniband-diags/ibstat (installconfig) ===> usr.bin/ofed/infiniband-diags/ibstat (install) ===> usr.bin/ofed/infiniband-diags/ibstat (installconfig) ===> usr.bin/ofed/infiniband-diags/ibstat (install) ===> usr.bin/ofed/infiniband-diags/ibstat (installconfig) ================================================================ Note that both are part of "cleandir", "includes", and "all", but only `ibstat' is part of "install", "installconfig", and "distribute". I have no idea how things get onto those lists, but it appears that that's not happening in the MK_OFED_EXTRA case. Thanks, Ravi (rpokala@) Glen From owner-freebsd-hackers@freebsd.org Wed Feb 3 19:44:27 2021 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1307B52977B for ; Wed, 3 Feb 2021 19:44:27 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DWBvt1DlDz3NyY for ; Wed, 3 Feb 2021 19:44:25 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.16.1/8.16.1) with ESMTPS id 113JiB2T040357 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 3 Feb 2021 21:44:14 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 113JiB2T040357 Received: (from kostik@localhost) by tom.home (8.16.1/8.16.1/Submit) id 113JiBqf040356; Wed, 3 Feb 2021 21:44:11 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 3 Feb 2021 21:44:11 +0200 From: Konstantin Belousov To: Ka Ho Ng Cc: freebsd-hackers@freebsd.org Subject: Re: About upgrading vnode lock in VOP Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on tom.home X-Rspamd-Queue-Id: 4DWBvt1DlDz3NyY X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=gmail.com (policy=none); spf=softfail (mx1.freebsd.org: 2001:470:d5e7:1::1 is neither permitted nor denied by domain of kostikbel@gmail.com) smtp.mailfrom=kostikbel@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:470:d5e7:1::1:from]; R_SPF_SOFTFAIL(0.00)[~all:c]; SPAMHAUS_ZRD(0.00)[2001:470:d5e7:1::1:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-hackers]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : No valid SPF, No valid DKIM,none] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2021 19:44:27 -0000 On Wed, Feb 03, 2021 at 10:43:10PM +0800, Ka Ho Ng wrote: > Hi all, > > Is it generally okay if an VOP upgrades the vnode lock from shared > lock to exclusive lock in case it is held as shared lock? The reason > behind is, the VOP would possibly extend the file size. It is up to VOP. As a note, you generally cannot upgrade from shared to exclusive without dropping the lock. This opens a possibility for the vnode to be reclaimed, which means that VOP can no longer safely operate on the vnode. If the scope is not just a VOP call from top of VFS, then again it might be not safe to continue the operation. From owner-freebsd-hackers@freebsd.org Thu Feb 4 05:11:42 2021 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BA4AC5382A7 for ; Thu, 4 Feb 2021 05:11:42 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DWRVQ3k4Hz4qNj for ; Thu, 4 Feb 2021 05:11:42 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 7FA295382A6; Thu, 4 Feb 2021 05:11:42 +0000 (UTC) Delivered-To: hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7F670537FE7 for ; Thu, 4 Feb 2021 05:11:42 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DWRVP5nYjz4qJj for ; Thu, 4 Feb 2021 05:11:41 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: by mail-ej1-x630.google.com with SMTP id w1so2946455ejf.11 for ; Wed, 03 Feb 2021 21:11:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version :content-transfer-encoding; bh=Yi2n+O81yd0GEhuL4d1QG13LzSOLJaB2KUSjzsHWoqg=; b=PDfVfeYuzT9rAf3QwxyVWPs7dXn3MVmYzeSop84cRj53o+b2h5gg8yNe2oy3niheIs w7tPaxcbxykZs2PjCFpANeEaZ42+HoZQlDrkaampDtMTll1brJxeChdvDSaGoymUV/KB GK84A+KDM/DPdWOALub/9IBtAxjX+MYw2KJqCQ0eLAMyEPuGCjuRucQe+X8rQLuiQ0sm wQ4zv/ASR6ZHKfPWVUOPP/m2CxSiC3aGF0CKm+8RKh85cg9ykuNDyDCSnFAE3GRQVHR/ ABeuV4g+t4R50rYScIVz/ADKKF4lIFdG6VsXvfT6bggqlaPxWic5rh1nfnNMyRahg+62 cxpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-transfer-encoding; bh=Yi2n+O81yd0GEhuL4d1QG13LzSOLJaB2KUSjzsHWoqg=; b=o2C8JM128SMj7axMGl08+eBIiBf4AZI8UjHEXii1VeI37ni2AHjKABniAtlfMdPWCl qao0FAegc+Xx/1s4RXV6GVb7KJp7RitofxGeHLhk5M+XhypRv9QJFujAnOhS1C0JRGmI Vf+A3xqW2BkN2d+wp9STy2fxV6QlI5lHYVYdhZZk4p0ppfabAh/VpgNYqmDN3KVp2UYc 9UXM8lKZYxUsRVddth/VX51WzNEpK2oLxUhLm8yMjJDcye52cmFhzvoAhbN6wV2MoWd8 k9QTDc1DPdTSsePSmsGiGL7GP+OLm3KxJm9SY3BXNdW0Esg9H0z4E36j1fK0TU4zd3Ew VzcA== X-Gm-Message-State: AOAM532yq/4e3THr99FB1/LarKgm3aV7FlYYiCBDk1Z3EForXBrr7UQ+ zO+oZZHZnHLz+4nfrFf8DqdYlvbQ0yQ= X-Google-Smtp-Source: ABdhPJzPKgHHUvchYxLdJbnG2zH5ALYSnHKg3ezmSlFFoFyCJfQg6HaVLGuyVQ/JEHm+u/dddOejkA== X-Received: by 2002:a17:907:9495:: with SMTP id dm21mr6394420ejc.462.1612415500137; Wed, 03 Feb 2021 21:11:40 -0800 (PST) Received: from localhost (cpe-109-60-4-48.st3.cable.xnet.hr. [109.60.4.48]) by smtp.gmail.com with ESMTPSA id p2sm1860492ejg.45.2021.02.03.21.11.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Feb 2021 21:11:39 -0800 (PST) Date: Thu, 4 Feb 2021 06:11:52 +0100 From: Domagoj =?UTF-8?Q?Smol=C4=8Di=C4=87?= To: hackers@freebsd.org Subject: kbdcontrol can't assign strings to Function Keys Message-ID: <20210204061152.00000a33@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DWRVP5nYjz4qJj X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=PDfVfeYu; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of rank1seeker@gmail.com designates 2a00:1450:4864:20::630 as permitted sender) smtp.mailfrom=rank1seeker@gmail.com X-Spamd-Result: default: False [-2.89 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; R_MIXED_CHARSET(1.11)[subject]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::630:from]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[hackers@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::630:from:127.0.2.255]; RECEIVED_SPAMHAUS_PBL(0.00)[109.60.4.48:received]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::630:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[hackers] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Feb 2021 05:11:42 -0000 Yo Crew! As said in subject # kbdcontrol -f ... Doesn't work with BOTH, used and unused Function Keys listed in: # man 4 atkbd Ticket exists? I've found this (which also links one important thread): https://forums.freebsd.org/threads/binding-ctrl-left-right-to-back-forward-word-outside-x.59815/ I don't want to modify source code and recompile. PS: Why can't I match output of 'kbdcontrol -d' to any file in '/usr/share/*/keymaps/' Layout hasn't been set, so it is buil-in default. Domagoj