Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3546032ybb; Mon, 6 Apr 2020 10:46:34 -0700 (PDT) X-Google-Smtp-Source: APiQypJNAZbykPiZTNrL/rlVkU/TkS9/5g53KL3aaNYYxZznEaw1IA6UIKaehPkwVPKmo2nhEbVG X-Received: by 2002:a05:6830:22d9:: with SMTP id q25mr189747otc.164.1586195194712; Mon, 06 Apr 2020 10:46:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586195194; cv=none; d=google.com; s=arc-20160816; b=o8QlYnKmPb58tiAzIYAbIk+1GeDuNTts43WngnOEgjLEYrfsgoO0MtXWRBCkFqNTl4 4ZXHhTsDeHWW6WVEyDd2flgzU/BrrUp9NPILaXTOMS+tfof51GINmb/JgYuL3JglEU2k 51P+W7ZSezQMd9hsSVF7JXxuNC3SshsAss7XinsDJE0kUYM6BIKzkfXiNCyMUsiKR7wK fY1T1KxaOabkLnfw/Cww/VUgcnPh0tayAod7PLgdkpV2kciGrIVqc0mNsn6VGDlaReRi Mr3+k/qtJxcJhSmocsnE4vPP3DTPbA6iFFe9g2sO21UiDEXK86Xbw970D97XBY+jE8Rl b5cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=M/KcOK912SL+Mw9eCXTN+kRkAUvYIbQKwztK2qLZuAs=; b=gmRCjblZwKLhRS6dp2L3THh5PyrDX4blYtK4TVANL9ipfdCR0Oq2f7SLzl6OjzGd9u ihqxeLXcveWnb1DfEfYHF9+aT1WOvrrhtN36ULF7k2LmKcSaPNeXxDW4tC6fNXgzdAvM OJ3jmhL5aG3OSRnjgzITdWx04Xd+6ADjZI7kEMoQqa9u3iWLgTAvFCx+SwdPnTwARr99 iovXZKpEz/yfGSoEuRXDjRM/77yamjZsNvGzNHLARakoaJPHlahKfGytXUjAi9Vafbsy AUZXJZ8quCB8bcWqKaNhl6YdFHzbrB/sk4aV6PtLOOiqKGPhKoXnOJ5jQv6jbDOqS6tj 2Jnw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l10si109960otq.305.2020.04.06.10.46.22; Mon, 06 Apr 2020 10:46:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729737AbgDFR3w (ORCPT + 99 others); Mon, 6 Apr 2020 13:29:52 -0400 Received: from mx2.suse.de ([195.135.220.15]:59268 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726610AbgDFR3w (ORCPT ); Mon, 6 Apr 2020 13:29:52 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 66010B20D3; Mon, 6 Apr 2020 17:29:49 +0000 (UTC) From: Luis Henriques To: Jeff Layton , Sage Weil , Ilya Dryomov , Gregory Farnum , Zheng Yan Cc: Frank Schilder , ceph-devel@vger.kernel.org, linux-kernel@vger.kernel.org, Luis Henriques Subject: [PATCH 0/2] ceph: support cross-quota-tree renames Date: Mon, 6 Apr 2020 16:11:59 +0100 Message-Id: <20200406151201.32432-1-lhenriques@suse.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi! The following patches will make the cephfs kernel client behave the same way as the fuse client when doing renames across different quota realms. Luis Henriques (2): ceph: normalize 'delta' parameter usage in check_quota_exceeded ceph: allow rename operation under different quota realms fs/ceph/dir.c | 9 +++---- fs/ceph/quota.c | 62 +++++++++++++++++++++++++++++++++++++++++++++---- fs/ceph/super.h | 3 ++- 3 files changed, 65 insertions(+), 9 deletions(-)