Message ID | 20240604174145.563900-11-sidhartha.kumar@oracle.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 900F2C25B78 for <linux-mm@archiver.kernel.org>; Tue, 4 Jun 2024 18:49:04 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 2B1666B0083; Tue, 4 Jun 2024 14:49:04 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 261696B0092; Tue, 4 Jun 2024 14:49:04 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0DAAC6B0095; Tue, 4 Jun 2024 14:49:04 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id E40986B0083 for <linux-mm@kvack.org>; Tue, 4 Jun 2024 14:49:03 -0400 (EDT) Received: from smtpin19.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 9B4281A0917 for <linux-mm@kvack.org>; Tue, 4 Jun 2024 18:49:03 +0000 (UTC) X-FDA: 82194093366.19.920D1A8 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by imf09.hostedemail.com (Postfix) with ESMTP id 1DDF014000D for <linux-mm@kvack.org>; Tue, 4 Jun 2024 18:48:59 +0000 (UTC) Authentication-Results: imf09.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-11-20 header.b=IyNif54f; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=kG2vutiO; arc=pass ("microsoft.com:s=arcselector9901:i=1"); spf=pass (imf09.hostedemail.com: domain of sidhartha.kumar@oracle.com designates 205.220.165.32 as permitted sender) smtp.mailfrom=sidhartha.kumar@oracle.com; dmarc=pass (policy=quarantine) header.from=oracle.com ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1717526940; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=7+x3u2+/bHbWB8/QSGmRsO0iD0mdBl8MbJVOtKnMvyA=; b=etDv/vxS3h9LCkwoZCzq/gBo5IclKWIDeREKM0fyilAyJbueCCvGfDF8cZswLaVgozPJoR PTPfaiBBJt710VAuA2j8ds/NYbrfNMPdDvoi+UCoEw7dqHxWoeNxpckjAS8ieky9nmcmKi GCmBru6clHgLYFCDO3myyn9MKFRJL84= ARC-Authentication-Results: i=2; imf09.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-11-20 header.b=IyNif54f; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=kG2vutiO; arc=pass ("microsoft.com:s=arcselector9901:i=1"); spf=pass (imf09.hostedemail.com: domain of sidhartha.kumar@oracle.com designates 205.220.165.32 as permitted sender) smtp.mailfrom=sidhartha.kumar@oracle.com; dmarc=pass (policy=quarantine) header.from=oracle.com ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1717526940; a=rsa-sha256; cv=pass; b=8CCPqnvYMyQSSqrgX2vcRsu1ullAD1AavDOB7J4WJgL95wcxuTDyxxPYLPst3dA0VMwrRP Sk51XOdRCab4bFo0MAyiTemrLK4oe8rvuQGvcz/f6Cfs+nkQypKu1u3Wt/gP0YB0lTniHN 511qavqO1wreSyWRqoIf9u8E3EHBNKo= Received: from pps.filterd (m0333521.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 454BnRx4026501; Tue, 4 Jun 2024 17:42:18 GMT DKIM-Signature: =?utf-8?q?v=3D1=3B_a=3Drsa-sha256=3B_c=3Drelaxed/relaxed=3B_?= =?utf-8?q?d=3Doracle=2Ecom=3B_h=3Dcc=3Acontent-transfer-encoding=3Acontent-?= =?utf-8?q?type=3Adate=3Afrom=3Ain-reply-to=3Amessage-id=3Amime-version=3Are?= =?utf-8?q?ferences=3Asubject=3Ato=3B_s=3Dcorp-2023-11-20=3B_bh=3D7+x3u2+/bH?= =?utf-8?q?bWB8/QSGmRsO0iD0mdBl8MbJVOtKnMvyA=3D=3B_b=3DIyNif54fyiEwHSTIc90GO?= =?utf-8?q?SCgw8IIkLiYMNjUfv/Dnd01lyOMbBstC37tXDQ3xqntT65c_xvdU7lcMD8n9ilwar?= =?utf-8?q?Q1rRKCmQx2xEsPYrMvEeSqqB92/Z1KH5REwSm+ijT83NycngfJu_/SSRSW/bqG2Qk?= =?utf-8?q?Lfb0jiZ1GjFoeZHpkZwVd9j1K7sgBzp/nKznJSIt2yBY5VrNs2F5c/Z_ZvjY0QZEl?= =?utf-8?q?kIkxbK7LrRJK4ZUZPS9takZW/5RUqH7gF8idbmGC7sJR2LEs5GTeNmkbHxn_vYJaO?= =?utf-8?q?63RmiNJquJwwzBIJqJvQSSP02ShcZiENZ7JHNOi1lbUDUhTfTGT2M1q1zJnTIe1_+?= =?utf-8?q?A=3D=3D_?= Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3yfv07wjy6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 04 Jun 2024 17:42:18 +0000 Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 454HbJvF024002; Tue, 4 Jun 2024 17:42:17 GMT Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2045.outbound.protection.outlook.com [104.47.55.45]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ygrqx69q2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 04 Jun 2024 17:42:17 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=joVKZxE8R4GowqHZCQZ5z9ym5VnlqPzRWKVvFuF7AIMGEA2KoYxEbWx9PbT5bTDU0fEG1iMBqJJDUbPJSA7R9Cxcvl9Y9Mt2YJWktISgRJ/eWmy19tKkD2qyEReKomhVTC0MNZmtFmmJvHsHRAFhKCQKTcb6la9YhuMczSgTGvP6TQkj9P15JZlhcCew3iejc6tydy4SKgdD/MH+rRM3esYQnYyUyt+g+VCpw2FCVp6NfiVjNk/eW4GnVSXKBiLNZvWFRM6wSo4JpTU2LXTEHBtoccqunZgaApEjdVnTqI/x7GMhSUbZ/dUuUvt9RHPN5nA3y0U8SNw8KPeW+Vh3Ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=7+x3u2+/bHbWB8/QSGmRsO0iD0mdBl8MbJVOtKnMvyA=; b=XJb/tSLSftW3D8bH9SQlfaeamiPo8kvyHoywhZOJcQKRZEOOtOyVw4C/0SGdCU9aAwW9BNDTTlr0hvgAtuI0b6oLCapm+xiHFLOhrZ9FxGAoDEShIpZwa2PYF3jUNEgdLafdhhS4bjVVVRpEh6mXP9u7GEaBOKvMh2bITGvZDDposl8O1xJztBt7MRc1XwdK3XcH+varskk8NgA297+W390CwCDQvCeiz2oFXGLfCEuRkbbm8g22QQoo07IpuNNW+3F68ieMqQQTRLPW4/GrxjUQrkXsXM3iUOWnjFs05BuTN8ivQcdVK0rXVwr8hZvxmFVu1bpcUZvLHlu46F7gzQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7+x3u2+/bHbWB8/QSGmRsO0iD0mdBl8MbJVOtKnMvyA=; b=kG2vutiOhRzOQGPB7N9Xv809UBi3EH1pnwSl8y7jeVCdCgpjLgR0jILtlZbEtCwgYRYQEcdynG9VgeYWNeFsiKcAP9efCcnQGtyRjroIhhzgijgLXeVXOHL5i8BvMiIDpRhI8Afcrf4UFBaaoNrWkLVF27t37hfhVLJh9Psrq14= Received: from CH0PR10MB5113.namprd10.prod.outlook.com (2603:10b6:610:c9::8) by PH0PR10MB5893.namprd10.prod.outlook.com (2603:10b6:510:149::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.17; Tue, 4 Jun 2024 17:42:13 +0000 Received: from CH0PR10MB5113.namprd10.prod.outlook.com ([fe80::eab6:6dcc:f05f:5cb2]) by CH0PR10MB5113.namprd10.prod.outlook.com ([fe80::eab6:6dcc:f05f:5cb2%7]) with mapi id 15.20.7633.021; Tue, 4 Jun 2024 17:42:13 +0000 From: Sidhartha Kumar <sidhartha.kumar@oracle.com> To: linux-kernel@vger.kernel.org, maple-tree@lists.infradead.org Cc: linux-mm@kvack.org, akpm@linux-foundation.org, liam.howlett@oracle.com, zhangpeng.00@bytedance.com, willy@infradead.org, Sidhartha Kumar <sidhartha.kumar@oracle.com> Subject: [PATCH 10/18] maple_tree: print store type in mas_dump() Date: Tue, 4 Jun 2024 10:41:37 -0700 Message-ID: <20240604174145.563900-11-sidhartha.kumar@oracle.com> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240604174145.563900-1-sidhartha.kumar@oracle.com> References: <20240604174145.563900-1-sidhartha.kumar@oracle.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SJ0PR05CA0191.namprd05.prod.outlook.com (2603:10b6:a03:330::16) To CH0PR10MB5113.namprd10.prod.outlook.com (2603:10b6:610:c9::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH0PR10MB5113:EE_|PH0PR10MB5893:EE_ X-MS-Office365-Filtering-Correlation-Id: 405d5cee-37d2-4432-7490-08dc84bdab2a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|366007|1800799015; X-Microsoft-Antispam-Message-Info: B5C6gJRc3G9mEcWGvyjccogHpND2SQeeNX5R1swj2dGv3c3I8XScWPJwBdFuYd9sYNibzziz4wYD1Idmp3r2XyxtQaYXolkweL8BQXWBewHXQhwfpfJjYE3JXiUiW8vKZN/0kfWFjEjmbbkJVauCMXsRFu3TCR5VJVHFFajb//aaCO9vmlkbw9q12mTqQOaOabFesZXuTzA/6+NwbGiJVYO2k+8Ue9btzLRG9DoFNwKzaWbSGQktUKLqmPNYNchUgXjp12QVOMTHPkKBNofniP1RH/BtQeVorkOJhMDLhdqWYUQolJtN4cdHyUnJYJcBO5/ds5zczTsE2nIXCp5cViKA/BJwZo8Y5zcJXElAiKLKvCwoeZFhTss3bh5YUBRSxHrRVTpBdapj6QvOR3HpVWa1srZeKwmg/vpGKLsjqhyr/9cdTMhlOmyXqmynPT5ZKif6PBCpUXAjji2nU1y8T5uf5ZnGpj3YlONjoJBBt2o9bNW7lkA3AUKW0XJ0wWRkiN1gPZMTeMi+VaYT4upK0Zjgtrk5ANXLCd9cG80VxfI+qwm8V8lF6fOFFYFcvqa44jASzvY/jkO8pkj1NvOkdR63Ejl7zzl3+HZRSY1bZkhsvmTXhleVxBbci5iszFRQPFDVBB8Lp7gf6rjNMaz8WRamTdGjRIB6IyGaqHHTyE+cJ37eFztlrHOaI7LMZMKJX7nSJUYN9P39xRnUqnjEfU1BDU8JhqRaA1mwli3UDGdVAyBEcooWfyaJIhNrpVJoi12H/a15xdD+KnJhTwGohtkmYZf6J0srkO3Gw+0gJVtkyj43+OIg1sgi6CR+FUpvpsnQYcOiQGHQhAO0s2q7szll22z8EnD8Oty1SWW/82UjL4eof/5BtaU3OvAsFJ1udD1yFSQsbM/cbmCZVLPLCoe7s7wEYx27aumIBcAGrelE8ipiX8adCS+2yoAvCczNsWEiV1QPS7xCdwtTyoUAlFtdD8UflpGTlAb/HzY0NOII00Kge4n4Mc5C62CxuN54eTfA/sEG2LMy72oVOeuFeAgMUswT6ryq9lJ9K2++44SVjB+/eIeuaKPiZBlVAHaHr4beZATQYxt39FXeu7UelxCLnVS2l6+i/QjDURhU29hc3HXUqCqw42cOe0Ap2Ewb7pdLJS8yCFY1gwnda01XinOPOsFleExfedr5KDiSBm0pdxgdsPQSGik+Mipo58eypI8U+MBhkgt0DoQs2RWVGX+k537cDFGb4EUDhKWcgx59pTwed30X4m4CEnPNyi1ppCVXk4Xpay9Ia0fG8inE537wgrMKK0rIji1jrosizVVqAabrk4ni0cSRYM08sv22 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CH0PR10MB5113.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(366007)(1800799015);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 7F/y5xskdkhdGZRMJNUIo7hDeHEz4bFd+iu85SHXxl00EdBo8s5PFHwf6zqKoSDZ0xAwNIxc0N1bGg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Io4cOvBohW/X3UcibKM1Ep6eEoZWuBl8Vg452auoRKE/AxSUNGV9ADuil9/Iv5MOqVfYPLZ3jdDWCkKCKlHyV9rp083Yw4ApeJhK8oXE8L1777tnprwrHlR0qyxoYYj6HIpts6P8KjeMzpDvnqeVlT6SNjfRXixLU/MH+1aXngxT1O3cbwKJnJkYl3Vmfdbj0SvoCcVnxt0eKhxU2X8biTCilbmqThb2vkNWrv1JkkZpl3Bgl2CLllQ31JI2gO79iIUgUp0iayhrHK2hRqPa4/icvCkXN4GP6twZRRJifO6jtDnpPY7QQMep2S3LL0nPAhnOVFlGJPaGkkbwnrevI2xcEPHtbdLTzJKyzloHakvnRCI8EdCJBixjgIQMOT1uEvlzW+O+QqfossDvfrvxzjnMQAwwvpmjzf6hymBGgbtz11ZwuhjBojcoDIaMjKd27gJJ5BuGwxTvWsi2I6hGfU5EOleGPRtuzy6JEaEN8= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: AwFAtePsqkSbVCtKJx23r1ADD1ce18c4sz7Vu8gMzaYr5eYDez1XCdvYT6RasVXimWKspy/x+ohgTBrROGl4sKNzNZzSpMbRppz3U+qBfAnbxDkMymhhCtn1DcM6n569gzo4MvF5+lrAbqT56yps/QAqxe5yHqlMGwRFiNDxAR86czPrObPdSkFwELgaNq/AHwvQYkf92ippFJqOIeK3LZdkziZVIJv37giTY8iHmnjRmeDwuGxD45E9d6sza6jM991S8aL0/7dzNUE0xSqGEjqwzaIzE5ozmwR55fqhtJRnYs08vPeoJuF2u9f9FA7ejREea9JNebrjJaVwhGvDz+Mmu2p89nCvtRoVTjXfk21LdDzqHVPIM90HaMhrfwYpZ7vOv0tEEbi1S4ifNYssxlHfvkTjZW44N9SdKX9UXXSgtYlwQu//UEx8RMX41YR6VGfiqoGBL0B9wEJhxSE0XJonY1nb7Nyyz7JgvRFivAlIA0mT0PkTnfjmNPGW+NQ3QS3maPZllc8jMn9bwQoXajhBAxgFjElulilrWiSqiRz4R7SVXvvZ4mm3rzAJH04Y3bD2lwCL9HNK+YTpR1kuD9gvJcdbvTmbkJhYdSO1q2I= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 405d5cee-37d2-4432-7490-08dc84bdab2a X-MS-Exchange-CrossTenant-AuthSource: CH0PR10MB5113.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jun 2024 17:42:13.6768 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: txgWmva+J+Fbj5Ol6cTvyuguffRclpQ4qFeHFcM/lPREVppb8FDJsJx8KTgrghZuuyi/ybW87jwiJZRQldYys1Jv/PddwGS/JMFoSnFtcr4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR10MB5893 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-06-04_09,2024-06-04_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 malwarescore=0 adultscore=0 phishscore=0 suspectscore=0 bulkscore=0 spamscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2405010000 definitions=main-2406040142 X-Proofpoint-GUID: 2Pa2Yr5cXPSwAKD5iVotpNt70RXKAHXJ X-Proofpoint-ORIG-GUID: 2Pa2Yr5cXPSwAKD5iVotpNt70RXKAHXJ X-Stat-Signature: dca58xxgmuixe9renc5uoxiyb1yoaezc X-Rspamd-Queue-Id: 1DDF014000D X-Rspam-User: X-Rspamd-Server: rspam10 X-HE-Tag: 1717526939-198105 X-HE-Meta: U2FsdGVkX1/1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1YDRiZbdLEXtBMtaK+EHm+OHcwT14xjfPWUl0xyfT5/LzsknI+zrqjZe8DmWws9g2Kxn1Xl9uFfIxikcKfDDPb2zZyfmUpx3Gh3d5GOSkqwHLk/Dx0jt+ujAYafW1Fn0Vk5RPRXmJymmFOxvxqijUAJkGTzjykfpY7u5i5grNC4LV7mp/jNePRXdscJh0Px+Ec4Gls4AbEzQT1kjh1oORo5brzxMhmzbZRIXOl4EFg0JNVdD3uy7sIALcbJLf86c9TBnYzlftMhz1RJ+Qarz0Esq1XSLaUoJqQR+jxdGpDwNqfhnhEiJLi3BVeICPVVSFtM1w6LqSxtCY6o8nmOW4s6TOsWyj8NltDeSMeR2TIotOUQ== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
Introduce a store type enum for the Maple tree
|
expand
|
diff --git a/lib/maple_tree.c b/lib/maple_tree.c index e3ec6649f7da..abd2f396bb1e 100644 --- a/lib/maple_tree.c +++ b/lib/maple_tree.c @@ -7729,6 +7729,45 @@ void mas_dump(const struct ma_state *mas) break; } + pr_err("Store Type: "); + switch (mas->store_type) { + case wr_invalid: + pr_err("invalid store type\n"); + break; + case wr_new_root: + pr_err("new_root\n"); + break; + case wr_store_root: + pr_err("store_root\n"); + break; + case wr_exact_fit: + pr_err("exact_fit\n"); + break; + case wr_split_store: + pr_err("split_store\n"); + break; + case wr_slot_store: + pr_err("slot_store\n"); + break; + case wr_append: + pr_err("append\n"); + break; + case wr_node_store: + pr_err("node_store\n"); + break; + case wr_spanning_store: + pr_err("spanning_store\n"); + break; + case wr_rebalance: + pr_err("rebalance\n"); + break; + case wr_bnode: + pr_err("write_bnode\n"); + break; + + } + + pr_err("[%u/%u] index=%lx last=%lx\n", mas->offset, mas->end, mas->index, mas->last); pr_err(" min=%lx max=%lx alloc=%p, depth=%u, flags=%x\n",
Knowing the store type of the maple state could be helpful for debugging. Have mas_dump() print mas->store_type. Signed-off-by: Sidhartha Kumar <sidhartha.kumar@oracle.com> --- lib/maple_tree.c | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+)