Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp460959pxk; Thu, 24 Sep 2020 09:41:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZcmXccZf+Oai2YZEwiCmLPxkrht184i3bKsvXYhdAYqkOHeQELJ9YgTB8bETex15NALyB X-Received: by 2002:a50:d591:: with SMTP id v17mr855024edi.92.1600965716300; Thu, 24 Sep 2020 09:41:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1600965716; cv=pass; d=google.com; s=arc-20160816; b=OVXLyjOHpZ4qZSfhYQ4PE2h/S+pP2vPqlG44IyTtPBtGWIFHYZb4HyGbN60T8RvpyX pQ+UIDJgqxLbhERTUXWDvjzvalyKCsDRHbT2dnsVB4i5UuEvdHeMwf4I8tLe5/sF0BiW VLJOC1tUnu81j06EfWyV77c2EpC7jufsPHiAfd5yRTaeeAhseo4R6mfFzMtMXas8uiu7 +LfkWsKiibB8j4JP+3B9Dky5DsZX5he+ohU8ovrc8mPpv17f3/iEeMG2pnPIdyF8eJYP 6u9j5NipE9pjpjbuda4i4zOVKhVEA1rPArt9OnrlHNBkKWpIc6Qsd0yK6Krs30yUFVzo SIBw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :message-id:date:subject:cc:to:from:dkim-signature; bh=j65g5N2xjjPc+P80xUOn25JpzaPzmbFRVZPh8vlif4M=; b=OaFuq4G+a4SlUvoxo4f8U4tkWGzEblp+GqfZR5NL94zLUXbXirH1gCnVoh/fkV+uvW 0tNcvtcVcb4renn83XU5/JdgpNTGS7PfmaDzcr3jI0M5xCBJRJrKh0ZxodPq23QrVhpn VX0wWWKFDmmPS0rlOWlEX8AY7uchasYZHEGTP2jkEJIrTzLRzPOd2Ws81UODc2f69bag jFf8MEhCAFXT1adG5YUcg8hJ6Omv+2EP4AxnsdDeXy+G6Q+LKhBUB4J6CxQYFrbvPZbr 2mug34UClv5cLvQ+xgrRUvXARyQailS894zReh77LuEnR79anNTyP4qAhGXW8CedLlmx rkhw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=selector2 header.b=tL8n6vmI; arc=pass (i=1 spf=pass spfdomain=virtuozzo.com dkim=pass dkdomain=virtuozzo.com dmarc=pass fromdomain=virtuozzo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=virtuozzo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g25si2521389edu.330.2020.09.24.09.41.32; Thu, 24 Sep 2020 09:41:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=selector2 header.b=tL8n6vmI; arc=pass (i=1 spf=pass spfdomain=virtuozzo.com dkim=pass dkdomain=virtuozzo.com dmarc=pass fromdomain=virtuozzo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=virtuozzo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727838AbgIXQiQ (ORCPT + 99 others); Thu, 24 Sep 2020 12:38:16 -0400 Received: from mail-eopbgr50101.outbound.protection.outlook.com ([40.107.5.101]:64359 "EHLO EUR03-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726458AbgIXQiQ (ORCPT ); Thu, 24 Sep 2020 12:38:16 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hCZtcj6sVzzOvkO74iAKUXgIF6GB8ouXCFRTTD6YFdM+RR93ANY+rtjmbW8pHH3jyDG+1vc3vBA4U7hWer4dDLKlvWIrV/snZPdlIkLOSA2tGsqHxbIJUyQgX0qYtGWmCL1lGrvIg9IdentqLZuGQgL7kGW3+kdeHnnFI0qUpZk2IlBuZrurKxyuzAeTKZyCtLgchfKUfzzVZzwZI0cdqfijr82CQLsJtTx7tNRlWBBTGacLkTOpx7NFlWKYVBD+pcBH41BEDhGM9JnNaJrKt8FVCudJYiwCZ3NB96gBUngPqIYEutLpnRO4Zk9VZMw0sUsiBs4Cs5ln4N9pOpfDow== 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-SenderADCheck; bh=j65g5N2xjjPc+P80xUOn25JpzaPzmbFRVZPh8vlif4M=; b=ZlJ9cBMznMOKntCHiOeqE2vgI7B2V0qftajHS1KlY9LTVqNN7d1T1kHerIdmUp0y8uyG1oZA1Awu/6a3GzZN8iQvSqTP3fkPwlLuVIB5yF3Q3sUf/v/Zvzaov5qU6Yi9jTeZ0DelNXSBL63sL0aKJMPXCkyHucWE1eriqr5M+VIymLk5e1idmqvaL2PWiQozJ0ZNIkx2JfkvwPQYqmJxnVf4kvqFzEdD1rRXoK3SwAzYR69J66gB5/xnPwxm4iS7QHwK/y6peX3XsdKxaTBeWYkP8QjhHg2qa/CD7IzcB5EYr7mZkk8AcgmrIun+VkIpsCLOCrKjx2OKEkYgvNWN4w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=virtuozzo.com; dmarc=pass action=none header.from=virtuozzo.com; dkim=pass header.d=virtuozzo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virtuozzo.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=j65g5N2xjjPc+P80xUOn25JpzaPzmbFRVZPh8vlif4M=; b=tL8n6vmIAlaIqhU4RGkzJ5kBAqYZC3bxUkVDGIgs/JPsifcJxBDnsG9ESuYHVlDbWomDUkkISpMVhGJ09yQmLcIB1UgnDLzQ0DiuGZvpmBb1g2dNZY3aTgR21Q8nxqilMR5TyzoCDVS1aUU5J3EXEcqximsS6J4yE25EoXiKHis= Authentication-Results: szeredi.hu; dkim=none (message not signed) header.d=none;szeredi.hu; dmarc=none action=none header.from=virtuozzo.com; Received: from AM6PR08MB4756.eurprd08.prod.outlook.com (2603:10a6:20b:cd::17) by AM7PR08MB5430.eurprd08.prod.outlook.com (2603:10a6:20b:106::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.20; Thu, 24 Sep 2020 16:38:12 +0000 Received: from AM6PR08MB4756.eurprd08.prod.outlook.com ([fe80::71e0:46d9:2c06:2322]) by AM6PR08MB4756.eurprd08.prod.outlook.com ([fe80::71e0:46d9:2c06:2322%7]) with mapi id 15.20.3391.027; Thu, 24 Sep 2020 16:38:12 +0000 From: Pavel Tikhomirov To: Miklos Szeredi Cc: Pavel Tikhomirov , Amir Goldstein , Vivek Goyal , linux-unionfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 0/2] ovl introduce "uuid=off" Date: Thu, 24 Sep 2020 19:37:53 +0300 Message-Id: <20200924163755.7717-1-ptikhomirov@virtuozzo.com> X-Mailer: git-send-email 2.26.2 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: AM3PR07CA0084.eurprd07.prod.outlook.com (2603:10a6:207:6::18) To AM6PR08MB4756.eurprd08.prod.outlook.com (2603:10a6:20b:cd::17) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (95.179.127.150) by AM3PR07CA0084.eurprd07.prod.outlook.com (2603:10a6:207:6::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.15 via Frontend Transport; Thu, 24 Sep 2020 16:38:11 +0000 X-Mailer: git-send-email 2.26.2 X-Originating-IP: [95.179.127.150] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0bdb5d62-657b-4e23-7252-08d860a83a59 X-MS-TrafficTypeDiagnostic: AM7PR08MB5430: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2803; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 43dE3Dhn67zyMJCEV1N9sQwrhJ4kixa84IKKi7qKcC9RqChauaRZuyW3UyPm11ua+4oD32zbAfdr10eQQkJYKJllUZbfxhcDJSdKtqvssvvmpBvT7sTRrdh7b4TBWkAaz5Yc9NhnsiO0Dzq2obkjYZosjoSMviF3BNwmjJlUeiNaTa3wwDJ9XlCGAir9IJ0im51jACayDAA+9XYE8crRtE2rV4OEKS7NjRCpgATD8aQ63KWoJEY4cUFmCGcCsyzVqwF8D4gruLanP0zer2LFJh6LL/Hh+slUNNp56lYnx1Abf1XayPUcwjFMk3lhIeUqhj6ecmGVorR48Y0YqOMtevNvCIv9xAX6wyN2SYJFRJRg0K+Unjk1XBiRAurX+Ppd X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM6PR08MB4756.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(396003)(346002)(39840400004)(376002)(136003)(52116002)(316002)(478600001)(186003)(6506007)(1076003)(36756003)(4326008)(6512007)(86362001)(6916009)(2906002)(16526019)(66556008)(5660300002)(26005)(8936002)(69590400008)(6666004)(6486002)(83380400001)(956004)(66946007)(2616005)(54906003)(8676002)(66476007);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData: KMrYcA62NKDDLVZRb/DhdtNpbX0irRN09BEU5Ua/iJBGYpOySzR5Oc1fD/H3kePJxMT6lWbYdJg38yZ331++98lX9F03PpcDezRxeMOa3uqBUP0uj0ZjTqKvmtCEQuoQOIWLjn0+U/LPGLPgXe+oCnGldmDsoZWy8XDMwNscQqD5qPzyKKfHD5uBsdVVXh6oZe6fP5icvutsFrKsjnGTZ9q/8P1pHL1rDCIHJrQiWZ24wWSGgNEVwp5jG1WqDcXBLPh6vTpJZGxQwGdEtW3o5n+/AbyOPyUt57EjGeTg4qEbzWek2U9I0f0F7Hqtwbi2+wuQSCZnOxTG8tUOj6x9rQFYq9ukFWS8n2iLg7pbsKM92nM/z6saaxh4UIiHcdaJO0Psd4SKeH+wSePe2RT5py+UufLMvOHdgfgOqZJ8Qg4POTn/5gQ3cTyUkm/otNdhSVdeGlhePdAMsBgOg3FuDWUxqly1ZRWb2qjwf5IMYuswfto/T9IIMVZFE2qahEugX2lPxjhBT9xXxXF688tf2x5xwUQjrYrRaPM9WiODOhGI2y9IBoQ7gIN7/Pthmrf+V+0c6+ggTFli2hjglDa75GUGroSq72/qcXWAnt609jR4Mucq9oNvUx/DOAEegbzRqe4PSO5JW/EkvwoMbdQNEQ== X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0bdb5d62-657b-4e23-7252-08d860a83a59 X-MS-Exchange-CrossTenant-AuthSource: AM6PR08MB4756.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Sep 2020 16:38:12.4386 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: uKnISxa3sW5z6ZFu935AHPTf/19AnFHx8+ufR3Uv2pswkBL8FzEe1ZhCGfY8onh8kp2Gt2TAoOhY3H5NoXQGEdekaA4bI8Vqh+jWuEIGnrg= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR08MB5430 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a v3 of: ovl: introduce new "index=nouuid" option for inodes index feature Changes in v3: rebase to overlayfs-next, replace uuid with null in file handles, propagate ovl_fs to needed functions in a separate patch, add separate bool "uuid=on/off" option, fix numfs check fallback, add a note to docs. CC: Amir Goldstein CC: Vivek Goyal CC: Miklos Szeredi CC: linux-unionfs@vger.kernel.org CC: linux-kernel@vger.kernel.org Signed-off-by: Pavel Tikhomirov Pavel Tikhomirov (2): ovl: propagate ovl_fs to ovl_decode_real_fh and ovl_encode_real_fh ovl: introduce new "uuid=off" option for inodes index feature Documentation/filesystems/overlayfs.rst | 6 ++++++ fs/overlayfs/Kconfig | 17 +++++++++++++++++ fs/overlayfs/copy_up.c | 25 ++++++++++++++----------- fs/overlayfs/export.c | 10 ++++++---- fs/overlayfs/namei.c | 24 ++++++++++++++---------- fs/overlayfs/overlayfs.h | 14 ++++++++------ fs/overlayfs/ovl_entry.h | 1 + fs/overlayfs/super.c | 25 +++++++++++++++++++++++++ fs/overlayfs/util.c | 3 ++- 9 files changed, 93 insertions(+), 32 deletions(-) -- 2.26.2