From nobody Sun Apr 24 20:02:24 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E4F131A97C61; Sun, 24 Apr 2022 20:02:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KmfFD69b2z4pXt; Sun, 24 Apr 2022 20:02:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650830544; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=TXXUMcz5wboxMeAOIiny4LxGYirKFFR2CUacaHsqsCs=; b=mXbWzccWg2cIGKWGoZkUpH7I/UD2gta0KOOoNU9ERzBvhkcDdOYPQf0Wd++CBXp2DlJ4Vg ofv+O1SlS2zcLP9fG5FW4acfK6BwSxmL66XkBTNXiryFowZWNuWfBAc+G+OwKnzlFnPXy2 lnLU96V10zhneP9I1il6vM+p57FLTy3k9PrjCSxJTTEF+AGwMwP0uCZrdW4vJ/ngo6Mdpl vqiqmRGNjZ4UTFC98dFITMkZIB2+n5ZylANMZhmNySScQJFaFDQYqgZM6+IobEdQ5barcx Sm4u4MZpBp5CLiBCPduY9QcnPYNkn0wDpVAfgPEoWCj68GnopKKcu5I3lx5U8g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B52F747E3; Sun, 24 Apr 2022 20:02:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23OK2Ope048868; Sun, 24 Apr 2022 20:02:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23OK2Op3048867; Sun, 24 Apr 2022 20:02:24 GMT (envelope-from git) Date: Sun, 24 Apr 2022 20:02:24 GMT Message-Id: <202204242002.23OK2Op3048867@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 965e91950622 - main - bio: Add the speedup flags to PRINT_BIO_FLAGS List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 965e919506220a5cf088026641f16dc0693d52d6 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650830544; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=TXXUMcz5wboxMeAOIiny4LxGYirKFFR2CUacaHsqsCs=; b=jlARO1pRrFkU1dT9j4L8QROAjh9dAZztLJZ0nZXUHE+EW2zK+gkE1W38PZOPDap2mTPwB2 ldyFCtSxygp10kitH927DemZ0/kBLNxEpElpmNDdgxglwKb+HZkWkMKdeO5ENZhlIJdlHt l8BL0502DAEZrQhiMu2GKN8ypaCuVfLoU0QDP5r5fNPqtjo7cPf9+CvcgMlceGlrTDrBvY ceAJX3L+8Q69yMR9jlFMj3La4UHJgOZ3V4q/uD6BA/WlSQrFbwx1Dw4BuYY+V0/MSoEOrY VnfxPPkx+4jxmE2+PWxwV82PiM0Y1v4XowmxobAjbJfbnqcHJstb50FgMRUamA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650830544; a=rsa-sha256; cv=none; b=BV7C8qTey1zYe4Wqx/MqVT+S3ahISOH9VdekkyQxiQ8w3xKDfOY5ei4TDCwQOeyORS7qLR SAq0ovdD1lNRZExy084NhicL5L3qtJrF/+qtsZpbgR00ioFWnBklQF+KTypC+WyZoGXJeq A/KGctlRE2PrxaaXoxaCZWzjz2VdnJ+NQYBRVVdT8Sbr2/6CiPuCfbhafFw/vwJp9xhh6r iJ8GgP4y9Ov+S+UHiLBjMZdWYbwerkldSWTp1KqGcmwPiZOO0ej/aMxCVm7L326QPBtAma AJPCGJDpkWif39u/fL603yeog/9IyMqQptwtF4/ycr4Sw9T3fhuCQQyzKY+g2Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=965e919506220a5cf088026641f16dc0693d52d6 commit 965e919506220a5cf088026641f16dc0693d52d6 Author: Warner Losh AuthorDate: 2022-04-24 19:54:10 +0000 Commit: Warner Losh CommitDate: 2022-04-24 20:01:08 +0000 bio: Add the speedup flags to PRINT_BIO_FLAGS The BIO_SPEEDUP_WRITE and BIO_SPEEDUP_TRIM bits are part of the flags word, so print them as such. Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D35035 --- sys/sys/bio.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/sys/bio.h b/sys/sys/bio.h index e23c2f845e6c..be4f4cd6c073 100644 --- a/sys/sys/bio.h +++ b/sys/sys/bio.h @@ -68,12 +68,12 @@ #define BIO_TRANSIENT_MAPPING 0x20 #define BIO_VLIST 0x40 #define BIO_SWAP 0x200 /* Swap-related I/O */ +#define BIO_SPEEDUP_WRITE 0x4000 /* Resource shortage at upper layers */ +#define BIO_SPEEDUP_TRIM 0x8000 /* Resource shortage at upper layers */ -#define PRINT_BIO_FLAGS "\20\12swap\7vlist\6transient_mapping\5unmapped" \ +#define PRINT_BIO_FLAGS "\20\20speedup_trim\17speedup_write\12swap\7vlist\6transient_mapping\5unmapped" \ "\4ordered\3onqueue\2done\1error" -#define BIO_SPEEDUP_WRITE 0x4000 /* Resource shortage at upper layers */ -#define BIO_SPEEDUP_TRIM 0x8000 /* Resource shortage at upper layers */ #ifdef _KERNEL struct disk;