From patchwork Fri Jun 14 02:30:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Hubbard X-Patchwork-Id: 13697738 Return-Path: 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 8E8A8C27C4F for ; Fri, 14 Jun 2024 02:31:58 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 17C5A6B00CE; Thu, 13 Jun 2024 22:31:58 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 12A806B00D0; Thu, 13 Jun 2024 22:31:58 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E987E6B00D1; Thu, 13 Jun 2024 22:31:57 -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 C63716B00CE for ; Thu, 13 Jun 2024 22:31:57 -0400 (EDT) Received: from smtpin28.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 34D6CA043A for ; Fri, 14 Jun 2024 02:31:57 +0000 (UTC) X-FDA: 82227919074.28.E0A06C5 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2043.outbound.protection.outlook.com [40.107.93.43]) by imf01.hostedemail.com (Postfix) with ESMTP id 61C354000A for ; Fri, 14 Jun 2024 02:31:53 +0000 (UTC) Authentication-Results: imf01.hostedemail.com; dkim=pass header.d=Nvidia.com header.s=selector2 header.b=XSGnh9Ys; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=reject) header.from=nvidia.com; spf=pass (imf01.hostedemail.com: domain of jhubbard@nvidia.com designates 40.107.93.43 as permitted sender) smtp.mailfrom=jhubbard@nvidia.com ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1718332311; a=rsa-sha256; cv=pass; b=pAl7swEO4qOMH4Dh91QUGPlrZqdYTbA4J5nP8Zjxjvmqo6W77VxYZNw89I/C2rJF/d3y2T MjkQ45YvnKFOf6Df0hJwg+h3aFoMugRj4IxB3wh7TOTocYpDLjDJixw0H183zXh9YiUumZ 8HA4+4NfRiwf94qiuML8hqO5PzYHQi4= ARC-Authentication-Results: i=2; imf01.hostedemail.com; dkim=pass header.d=Nvidia.com header.s=selector2 header.b=XSGnh9Ys; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=reject) header.from=nvidia.com; spf=pass (imf01.hostedemail.com: domain of jhubbard@nvidia.com designates 40.107.93.43 as permitted sender) smtp.mailfrom=jhubbard@nvidia.com ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1718332311; 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=NoWxrNu2/lNGxpSyzZvJOSkpzkLkvc49dciH5tTtUsE=; b=BmxyWNmNP0M7fa32tsUIzL5MOMeFVrIb6jzNDLwRPTMk/O0FsJA7C0vv/0Sl6yoTjge0X/ w8URHWyAGO5vNy3lxlzYTDZWesMJBnVbk8ekQ99ONimclvXYRk6J4oSuKGx037U86FTf3o ITOsRaSuvB8F/lhmJFQNdYc/OySoW3U= ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n+teUa1lsFgw9IndVXCcJaLbWg8TxygQEpEg01R+pc9g9UR7KIgk11sq4m/60W1kTYSMyGAuXGAsEAwmolH138OYcbgO5dBBgMZGOWnfoy3SYwtLglkhSZdzcZxdsfHo9+66+2V7Z6+ahMPMfS6gfUca/5ZzKe352TsYge8Z1/MJZFVbH+kEZgCWMEp3LZnlE43yQi8vQwqQ1W35n2tQN9q4iGQzzd8or4KerC3YJc9N9tx7O6CcG9N3b1HVRrBh0xVIUI3K3LvUNAEM6qwk5HAsg4o9haoNlui+P/RHQswpo2vybIOcL/TqbCLLzqLqGUj2qusu1KmKy9JR8WX22w== 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=NoWxrNu2/lNGxpSyzZvJOSkpzkLkvc49dciH5tTtUsE=; b=b40th1DDgbcabrufVNcoWz6okaukX1jKL7Ay0NP53djLRcrL6+8SyTjjVW04hnIlQb+i55kN6/Lmx/D7QYmeZcHIluHDeKAkAw+0vcLcoYoIHO+hvVm5yrs3vYlXjPMBHnzHmBk/i/Oz/qsBuevDw8v6dNrHycS360mz0Hg4Pg+0A8rOQdRTM4Mhrakah1hNN8IXVxevBKuwQpK2gH+4LJ7D1wFsQY3ynMEZPTfCXhFOEYtDinT7ZZuKYK8z0pjTpuIwt0azDnWqJbmNLTeVWO/cI3+AkCY4S7eXqWoITXq9bPGgjE4Gz/BuzD6t9F9F7cDYK9dj0u5yWmXhFKPSBQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NoWxrNu2/lNGxpSyzZvJOSkpzkLkvc49dciH5tTtUsE=; b=XSGnh9YsaDJBYBx/xfxprChgw5anYIdirbQEtKNaShLdWVG5f9p5FwcSAvbuo53QhA3hS1vRVJeVQSzeqGl53HuQBLpQgVOc2QBHkt30wi8w1RYyO6oPHhUt1+JVRcflisl2BiKNT+WLEUIfy3p/WW+oFn/pj20HMxIzXSKUg6eHljdEksaf8MjjEr6n6HISCjo9Uszg8R28cPFs5hySnLcETD3+dac7X/SJTSmA+t6MsC2MpxcpOt8DLOd13d+ASigQF97TCM/2o/iLgH2RaWuA3moW/bNKXhCgDncIsakZkYqr5u2JN7HhcI2rIZxcnay5/uTTPrnVKa4IO4836g== Received: from BY5PR12MB4130.namprd12.prod.outlook.com (2603:10b6:a03:20b::16) by PH0PR12MB7932.namprd12.prod.outlook.com (2603:10b6:510:280::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.37; Fri, 14 Jun 2024 02:30:13 +0000 Received: from BY5PR12MB4130.namprd12.prod.outlook.com ([fe80::2cf4:5198:354a:cd07]) by BY5PR12MB4130.namprd12.prod.outlook.com ([fe80::2cf4:5198:354a:cd07%4]) with mapi id 15.20.7633.037; Fri, 14 Jun 2024 02:30:13 +0000 From: John Hubbard To: Andrew Morton , Jeff Xu , Shuah Khan Cc: Andrei Vagin , Axel Rasmussen , Christian Brauner , David Hildenbrand , Kees Cook , Kent Overstreet , "Liam R . Howlett" , Muhammad Usama Anjum , Peter Xu , Rich Felker , linux-mm@kvack.org, linux-kselftest@vger.kernel.org, LKML , John Hubbard Subject: [PATCH v2 4/6] selftests/mm: fix vm_util.c build failures: add snapshot of fs.h Date: Thu, 13 Jun 2024 19:30:07 -0700 Message-ID: <20240614023009.221547-5-jhubbard@nvidia.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240614023009.221547-1-jhubbard@nvidia.com> References: <20240614023009.221547-1-jhubbard@nvidia.com> X-NVConfidentiality: public X-ClientProxiedBy: SJ0P220CA0029.NAMP220.PROD.OUTLOOK.COM (2603:10b6:a03:41b::13) To BY5PR12MB4130.namprd12.prod.outlook.com (2603:10b6:a03:20b::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BY5PR12MB4130:EE_|PH0PR12MB7932:EE_ X-MS-Office365-Filtering-Correlation-Id: 1b723ddc-931b-4407-cba1-08dc8c19ebc8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230035|1800799019|366011|7416009|376009; X-Microsoft-Antispam-Message-Info: 00DwUfb6Cx0kE+iq8+fsxMqckeSp4uwkSI5rQdDahrgh6XipuWh3kPhVbwJGoq7g/5MTLXVDcaf5nP8104H7XMgZPISGjmLEiKrBmRUjsL2yAlECG0jLLXtGST3i+gkcGyQopGomM3WDsS1xS0DuR2wjftjU7c+QgZSf5cAkFbdTPo8w7b0Kz4K6dE4In6loGD01GhdntfDaZ7zrM1I9Rn2Kohwh2fB//nARhiSjbKdfX89vFBue3MGbbUVM6n3fMJ66UrOxZKtax/YgZoe1vRuxfANjNk6aFp203fY6vafz9kmTZKGexHtPppRQCsAj2j7ktKCPhbhHxa9AMFqJc2PHq32qzoX7fyyYVQdlaTPLx1XsGl/cViF0Etpl4BeN5V7J+ya9OytqgoZWOSHQYvD8Jk0VkGNgLpH8pRUY1M4l1BbtC2m/wYdGq4i020gl1CJRhjneUzsTA69dlvTiKifm2vY1yZtNtGktpvKL951g9bZ4g6rw2+15+v+A3VvnAYJWLlrSvTSiDUVOxZTC9NZdln3q3iHP0ti7uHiXfYgiMt3ibH9A29kXrhgikG8J3si3ZcxEG1UZmcIWsu9hY5xcmLol00bZGpB6sFwcN659gwgXTJjsLl41sxlSD94VBS/n+vjOdzt3XPDszlYQGnK5EqYYJ/8EpCPZ8vYlJzxHNM1s2kXvktamd9nXNzgS4bDo3QLZ+nlxvkVapCKA4Jis867xadbiwrFKnzJNZhslt3HcXcjQ1xopIv6GnWH1jSPPNpj09HnDewu6y1+erA/5Vt54taPrT5h31l7OsDVL0MUdt1dDKBZJxaK+JCUVlzUnrxmErk5WSsw4r1vpsguTk+fH1TZz/j2ULwLMVK/Fb8QdvQhlpgUnQgdZGXkEYV5kP8PSu78/fCKePSS+/xDQT/rSxYAqVawwMfJhcrAAoYWpAHrl5eiOnczoZfleA3VTV60mPAe+MA3anedrpAkuuxOw2Qqb11SLQXL7XgT6Cp2E/VvpbllgfNV+1w++y6HpCyPUxyHXF8BVScn7Gj7eXGBu8o2RgSOTR8H0NVxfPJIrd+VO7U2+BLnUllAw9hOVrYK+3ddBUVuSOm3SX7mWYM1+J9l/Qb6CiFG0VSuk+DrQhE3c8rmuZKVL5kLVmi2EG5o3cfsJY3wSxviS2sBJPLsmf796a/3gXd8DmYjExzMvfegQ2GvsaJ7jFLAacQ62skrScauIxFKHDuO72JMXTsI9+drWaeZ5IQpSm7pODexbEkRmTC2oTZLPlXW3FvxZMguFqVSYIXlO+1WD2n2F1hPXSdA2laIgTeqErtiKILbEYG+1v3DUl3OE5SDG X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR12MB4130.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230035)(1800799019)(366011)(7416009)(376009);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Bd+ApD8ZrIBaQUhXhgPwpe50GSqxJ3BEgxAXR/MlMaKs+sNPO0r38prkE892I22O46gqBDWqIWdzN0c9/EfhN+pUoLqAY45+Lc4zv0NlRfBTVC9k3FglEXUSfwfTHrYGCe3HTQpZibglNq76Ru4FHF853Dkw41G5iVP/Sualug1xle/06wGy6naj1KrKzDzxzVz5zZ1vb+sg6tm0SoJVF/uuPwsLP9onz5UId3GzmhTlT/Bs4hf1SMfudBI2LAC1MZPQndVAVf3L4YV3EEFQz6YATvZ0q8p6+waFOarGfu/bmRfc2fZCD9bl7ehBlJNmuirGNTr31ILJSri1oq2pwXv/cJFBW2zks9duklFB+YMURDqKeDkKTtYk+Cr6iRQA/5NSZxQlwSsaFYIaSWHPejoa2crPrPUEWtf2gtnQH8zp7K7NfwumumF4wFJgLeIjbI8Jf+dhKxCG0fntjSeqM8xKLIms8XW8+YSIxW7eUgHHN5N02RWLTfgqZOtCfDlmXLnkHfmorwb/0XJwQT8yeKkr/vouG0x+YGTGHdO9TFxyoESgYRbndmyl+UYKjD0TxGuVv9LljzcDMmEpXyA2vL3iHPoMI5K8I+sgb4RAMrsMUiahlh1ESzh/hMw2DZBhaqhNLtOT4NllDRO3YSoTc5axteNQoYBebvZteeNJmeHgD15sGhm18nB8jacGLi1hmUZQ/6bvWNFmPreRJ+RWeh4OTeThgN3KBwuo020LjvAmDYQ/A8kXsRPrGOHGXQ2FwzS1m8KabXxV/g35Xx2Or0K4qimp3BuwBikQ/mWe4VfE31tx4MGx2QtTKngsfMRI6vO7twtmziyOD4xo5J5kLiy+rZlZndojgFt0uDGsRW65NCzyQhrcicyCW1BNJP/HS6u3UMZfcjhx6J5zXeQI5MUCCTUrNrufMf6B3DH1PIhGdLK8zGx1zx6hAVdUkcxuBdPf+ETmPgTeD4ij4BpvkpHENLPr9an991zapcLge9Iu/ZN6mNv8zWPJaN6FFUgX7J1Lq9Zlmw1hwictFPLpeuNw1oy2vBj9nJ2xyA7UcSRYMOfIImBSYTLpkUg8dTmdJI7i68QyLYL/h8JQIMLHxbQ/Pasnws01ZmrAjmW77JbDc3dumQGYyymg7ehFQW1clGU3iLG7HAewef4StOURabaqPWlzWGxp4HlEJNmzGFmQmzbxk1z0TEVqdtgjyvW+izpuipJ/IWU+CEOuc8cbodgLDMWjFbN8g6YDRdGV1cftGHUMtU5uMP4Eg6cNnT3LIjnT10Y3wzSIveT/jl6cnLoNkLTDNcdypKgnF1/A/k5RqpphCMogRmABGMNF9Hd0CBTbLGhBumRXPbLmcncxbFGcNlPStiqBu2hP3aV9zKlsR4pVFJAbAw0y+iKwzcEIQfXZV/sotklwYtEstbZIukbeVsaGvpXRiq+G5+PnAP10zNHc0P3O9KDxSIfjnDOO8qhNb0OvhmUNNq9t2olZsHLlvn+S88EmuPA2Pf4Cy9BVk5X+Xcw+OO7cwcA43OtfT8QKX+BdtMwTuN/OpQ9ia7jknX+SnBFbcSfJtIhpOYIRvAHgwVysl8t4wSO7eLwP X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1b723ddc-931b-4407-cba1-08dc8c19ebc8 X-MS-Exchange-CrossTenant-AuthSource: BY5PR12MB4130.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jun 2024 02:30:13.8429 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 5crfw4ZB2CNsc4vx3Wxkcu2HJqM54pOPhbaAhUzqH+VlwkiurgEP35vbQeUG8nkoN2D5OR+PTV9lKI34XHh0KA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR12MB7932 X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: 61C354000A X-Stat-Signature: p78rq57qkjtb9bb9zatxj5c761ku4apu X-Rspam-User: X-HE-Tag: 1718332313-952268 X-HE-Meta: U2FsdGVkX18Mcz/Yk1iMqbHzW8JHW5ZDsmDNPFVIizapV0ajmzg70fdszIztX2ZNJsnJle01eTuEPdwbAcKIQhA3JBp4ipYYgEz/vGCli/NK+z5i+Z8piKrb7y+3uqVewhHB4U6soeFj0IBsKB0YdAqxlbOX8P/DUq7wWANDJIssZWM6HrjEMjbLDf6H3S1EsdTzkeZkBdipUx8dESQlBDvnXPp8PrvMTM4HcAZ1xJ1Yq2H1KUPNJyQqOYXdPPx2VmGU2owZh0p8CVdOQFwaLodKYYn24jWA7Esswwzbl0SPiucFBC+4iuxM9POMilMAgCvOqG2c+NZ8VkPppSeFw6nuIHgf95O/knkgTVeV6Uzz/EZ82MM5tNcPARXV3cSwA8LJFdSoeDpCGlUmhfXnNAkwIw2R1IdDvo/K/yQRLvuYZiRDCgrTqFBlNuttAvK/lNHAg57+abqvZtSWsjxzA9N94nj8Zfurdlj1IfEDZds+HKb+eHwl5hj5H+edZikszup2SWH1vHhPiXDkQab7OOIAjf/8siZ6WmpVzHc2COKlaWV0dQSPHAsaHte1Xvqs8EEYXdMrT6Es9d9WdqACMPCQ56Tw/qInF6HW+Qb0n528GSTK5UUVYzFwaRcoiLdt/8bJsKFV8SWUaacfbPefZR34YRGCquSt5vYgO6umYJxLyW2Mc2/JN8r0Kf8Y9d63K0ixpuhUJb67LChxc2u2wgmKnWfFrcM5NWT/AnFEQEcfU/LVVxehcWCVxW16tCci2hC95aOP3NmKW8uB+yLcE8N8DOGfEOoUvdEfNzKzVivzOt920BKfc4R3xmsE6h0osvoU5h6aQdn5KuI/gRhlGmP/WFsSNby8CDH9M3XSK7oJ4El1J4L9Q/SQU52LmDrcK6gXkCqYctqqEkFQm8eDt+63axs1cSm54eb/zr0iQxMnRCGooXWYnJpawfjsCAC78ly5KUEISzS98wFiZ2d 0pG3hxxF l37/Te4LsrckQg2ZXYR9bqS2nqkysOOSZGwMoy/G6Nwullf1CZA51g+XzT0GhNj3SgvB8LMSGpVkf6v4oXV+R/7tkYzCzvkGTM0BQr4JxnYFJi6bz5U2wO8HcwQ1Z2e5NO982nca0kjh/Egask1XtcV2Yh58pGisd4OV/ExLurE1KdiVayJrncv1hdxRxhkilD97bV6fF9ukoidlWd0mYML7wlnFkL4r+Ex0GsnFxSv6PKS1SObmfCS2+b142H79H0oQa1xZ7EOqP9Z8Q8SMh1PdoylpWntOs6MhpySXv0wPSmtPs10Zooyeh16URXfxK3VC78wJZTIMM77r5iq9cv788ZL9ANenMBZo7 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: List-Subscribe: List-Unsubscribe: On Ubuntu 23.04, on a clean git tree, the selftests/mm build fails due 10 or 20 missing items, all of which are found in fs.h, which is created via "make headers". However, as per [1], the idea is to stop requiring "make headers", and instead, take a snapshot of the files and check them in. Here are a few of the build errors: vm_util.c:34:21: error: variable has incomplete type 'struct pm_scan_arg' struct pm_scan_arg arg; ... vm_util.c:45:28: error: use of undeclared identifier 'PAGE_IS_WPALLOWED' ... vm_util.c:55:21: error: variable has incomplete type 'struct page_region' ... vm_util.c:105:20: error: use of undeclared identifier 'PAGE_IS_SOFT_DIRTY' To fix this, add fs.h, taken from a snapshot of ./usr/include/linux/fs.h after running "make headers". [1] commit e076eaca5906 ("selftests: break the dependency upon local header files") Cc: David Hildenbrand Signed-off-by: John Hubbard Acked-by: David Hildenbrand --- tools/include/uapi/linux/fs.h | 392 ++++++++++++++++++++++++++++++++++ 1 file changed, 392 insertions(+) create mode 100644 tools/include/uapi/linux/fs.h diff --git a/tools/include/uapi/linux/fs.h b/tools/include/uapi/linux/fs.h new file mode 100644 index 000000000000..ca9d754bae04 --- /dev/null +++ b/tools/include/uapi/linux/fs.h @@ -0,0 +1,392 @@ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _LINUX_FS_H +#define _LINUX_FS_H + +/* + * This file has definitions for some important file table structures + * and constants and structures used by various generic file system + * ioctl's. Please do not make any changes in this file before + * sending patches for review to linux-fsdevel@vger.kernel.org and + * linux-api@vger.kernel.org. + */ + +#include +#include +#include +#include + +/* Use of MS_* flags within the kernel is restricted to core mount(2) code. */ +#include + +/* + * It's silly to have NR_OPEN bigger than NR_FILE, but you can change + * the file limit at runtime and only root can increase the per-process + * nr_file rlimit, so it's safe to set up a ridiculously high absolute + * upper limit on files-per-process. + * + * Some programs (notably those using select()) may have to be + * recompiled to take full advantage of the new limits.. + */ + +/* Fixed constants first: */ +#undef NR_OPEN +#define INR_OPEN_CUR 1024 /* Initial setting for nfile rlimits */ +#define INR_OPEN_MAX 4096 /* Hard limit for nfile rlimits */ + +#define BLOCK_SIZE_BITS 10 +#define BLOCK_SIZE (1<