From patchwork Thu Jun 9 10:53:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Luis Henriques X-Patchwork-Id: 12875248 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 021D4C43334 for ; Thu, 9 Jun 2022 10:53:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242955AbiFIKxL (ORCPT ); Thu, 9 Jun 2022 06:53:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230108AbiFIKxG (ORCPT ); Thu, 9 Jun 2022 06:53:06 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE01DA464; Thu, 9 Jun 2022 03:53:04 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 6F57D21DB9; Thu, 9 Jun 2022 10:53:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1654771983; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=PpmQVxjR9EHUStcV+aF59APVHwIa7j+nyVOSQFjuOYk=; b=ifHgm9e2xYrEfBNtQ2MFninUZV4j4wYZtULaJkEfvDApf99uKg6N32eeHNlFfgt2xQKUVd T3pBAHgg94JhBN58N3kSaMoQQn7la/OJQqigidrgW/TdB1Tw95U0Le8kSq6PKqcWqH68C7 WqzNMJEyxcfYIBmFoq9RUuAdqw6VzA0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1654771983; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=PpmQVxjR9EHUStcV+aF59APVHwIa7j+nyVOSQFjuOYk=; b=x8VQrCKQNG0pNnPHeIOv1AyfbUjGDzm1H0RLgh2oUg8OkyB8sjMSmoZlk1W/u9oI/ANb16 t3ADgAkZt1SjqcBw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id EA9E213456; Thu, 9 Jun 2022 10:53:02 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id pbU5Ng7RoWK1EAAAMHmgww (envelope-from ); Thu, 09 Jun 2022 10:53:02 +0000 Received: from localhost (brahms.olymp [local]) by brahms.olymp (OpenSMTPD) with ESMTPA id e222422d; Thu, 9 Jun 2022 10:53:44 +0000 (UTC) From: =?utf-8?q?Lu=C3=ADs_Henriques?= To: fstests@vger.kernel.org Cc: Dave Chinner , "Darrick J. Wong" , Jeff Layton , Xiubo Li , ceph-devel@vger.kernel.org, =?utf-8?q?Lu=C3=ADs_Henriques?= Subject: [PATCH v2 0/2] Two xattrs-related fixes for ceph Date: Thu, 9 Jun 2022 11:53:41 +0100 Message-Id: <20220609105343.13591-1-lhenriques@suse.de> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org Hi! A bug fix in ceph has made some changes in the way xattr limits are enforced on the client side. This requires some fixes on tests generic/020 and generic/486. * Changes since v1: - patch 0001: Set the max size for xattrs values to a 65000, so that it is close to the maximum, but still able to accommodate any pre-existing xattr - patch 0002: Same thing as patch 0001, but in a more precise way: actually take into account the exact sizes for name+value of a pre-existing xattr. Luís Henriques (2): generic/020: adjust max_attrval_size for ceph generic/486: adjust the max xattr size src/attr_replace_test.c | 7 ++++++- tests/generic/020 | 10 +++++++++- 2 files changed, 15 insertions(+), 2 deletions(-)