Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp745105rwd; Thu, 1 Jun 2023 06:08:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4STWofZmJOvyLXxMXEOwQ8wyBtgW8l+GQZ8BRY3nItuc8ukR1HHtyDzuFzbicxqH4oOVvY X-Received: by 2002:a17:902:6903:b0:1b0:42ac:74ef with SMTP id j3-20020a170902690300b001b042ac74efmr5318689plk.57.1685624922851; Thu, 01 Jun 2023 06:08:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685624922; cv=none; d=google.com; s=arc-20160816; b=qxIKi7Yd0weoQ6PmXm7SlaSx7gATQpcVAMNwn58Q8tAnDUTH8oSBKS8lyT9xSCO3+y ZZ4QJEc7YPbEdR8an5/RS81GCETU50eAM38dbyv84njYOSi0gQLfZuV1PlXkmr0l3Dc7 GNRM+54cCZ3ckW0T/5Eh8wqPxRKg+4UhGpL1jZdB5chBaUguSomCwXmV/qGX/MTHSeRN vkEwfs48iieaH73s7LFeveU78Rj7avqr0wAEU6KOC1HBCiqjeeoTF8lZjFq+45RQFQZD 4VjgfBCsXNqGc5kqM5MHttWDgV1AJAh8+fvNvqoHI05TGOpCDBtPh5K5Ue7XAalr8hL8 8sGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:dkim-signature; bh=8x1uoNpgM5IX5BiPKnhSb/ZauUWOslfg6+9IkI8nFwo=; b=g5o8RZF9LZgX2KUsulaUEQO8RLFQPONZOruoEl9QTF0K+Hoc5HxiwUmWUWh4x8hqyb eY6cK7WDaZxN3X1oGFb0RtVXcQp2t8rd4NBfpqXbp3ux80DGzzxVLk1atcDF+5XeWh9H vC+Cjom0SOtOpcLv6ES8NRsRvWf4coGuIk6c3KI5INjzY7VWXQzJWdqWMUAVfs2ZG77o ZLcFl/qnj4ALAq6GE0QQCwdrqPe56GBmwZXSMvmAEE73P2JkiGVXO7Qsc9GWzOLtttYc BU8fPKj5og71d+Lb8hIle3kHwETiXCvIAWHLx5kz4FSGi4S9v5lISlzQ812It6vD5C0t gj5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=OxRy+vR8; dkim=neutral (no key) header.i=@suse.cz; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p1-20020a1709026b8100b001aafea6f85esi2661322plk.435.2023.06.01.06.08.20; Thu, 01 Jun 2023 06:08:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=OxRy+vR8; dkim=neutral (no key) header.i=@suse.cz; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230268AbjFANCS (ORCPT + 99 others); Thu, 1 Jun 2023 09:02:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232679AbjFANCQ (ORCPT ); Thu, 1 Jun 2023 09:02:16 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68155E7; Thu, 1 Jun 2023 06:02:15 -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 B525921981; Thu, 1 Jun 2023 13:02:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1685624533; 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: in-reply-to:in-reply-to:references:references; bh=8x1uoNpgM5IX5BiPKnhSb/ZauUWOslfg6+9IkI8nFwo=; b=OxRy+vR8rw0DB8tXFEUojTcVeqikFJUmX/+LzYh5qbJlXRrgUwIxQZxNahDIiXzac2+Sn5 sFL7ZqGZi+hQuJoiQMlw/nus2BvsdRfFja15owWIB6cCroVln5kBv57XeFaYONdtM7nQuX aRUhr8Bz/CtpLEsAecPIsJi7lisFrPw= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1685624533; 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: in-reply-to:in-reply-to:references:references; bh=8x1uoNpgM5IX5BiPKnhSb/ZauUWOslfg6+9IkI8nFwo=; b=hayvR+sVNPDzCntOwfP6W+KnecYu4SePmHLzbsxXYNiVYGumMCHYJl9SQB26+Ru3/MZyI+ Lrb24iHAxvTKkLDA== 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 A7D77139B7; Thu, 1 Jun 2023 13:02:13 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 0lr1KNWWeGTwHgAAMHmgww (envelope-from ); Thu, 01 Jun 2023 13:02:13 +0000 Received: by quack3.suse.cz (Postfix, from userid 1000) id 0A000A0754; Thu, 1 Jun 2023 15:02:11 +0200 (CEST) Date: Thu, 1 Jun 2023 15:02:11 +0200 From: Jan Kara To: Amir Goldstein Cc: Dan Carpenter , Jeff Layton , Jan Kara , linux-fsdevel@vger.kernel.org, Chuck Lever , Linux NFS Mailing List Subject: Re: [bug report] fanotify: support reporting non-decodeable file handles Message-ID: <20230601130211.a3lqvahrauqqymr7@quack3> References: <20230524140648.u6pexxspze7pz63z@quack3> <080107ac-873c-41dc-b7c7-208970181c40@kili.mountain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Thu 25-05-23 12:48:33, Amir Goldstein wrote: > On Thu, May 25, 2023 at 12:26 PM Dan Carpenter wrote: > > > > On Wed, May 24, 2023 at 04:06:48PM +0200, Jan Kara wrote: > > > Yes, I've checked and all ->encode_fh() implementations return > > > FILEID_INVALID in case of problems (which are basically always only > > > problems with not enough space in the handle buffer). > > > > ceph_encode_fh() can return -EINVAL > > Ouch! thanks for pointing this out > > Jeff, > > In your own backyard ;-) > Do you think this new information calls for rebasing my fix on top of master > and marking it for stable? or is this still low risk in your opinion? OK, since I don't see a strong push for merging this ASAP, I'm keeping the fix in my fsnotify branch and will push it to Linus during the merge window. Honza -- Jan Kara SUSE Labs, CR