From mboxrd@z Thu Jan 1 00:00:00 1970 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 2414BEDE9B1 for ; Thu, 14 Sep 2023 12:03:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238303AbjINMD3 (ORCPT ); Thu, 14 Sep 2023 08:03:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236843AbjINMD2 (ORCPT ); Thu, 14 Sep 2023 08:03:28 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17B81CF3; Thu, 14 Sep 2023 05:03:24 -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-out2.suse.de (Postfix) with ESMTPS id C4E481F459; Thu, 14 Sep 2023 12:03:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1694693002; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=KQWm8KDBapshh21qrRIcErJ2RlDP9zV+9QU6PEoBJ+k=; b=YkBphnvbdZ5CsMA+9kdt4PhrsiHoFqlk9I734mbsD57+8MOhwUm+74oFpWcA9tfikj8UJp 5TOF48vX2a6Xe0HujJMYiTWrvTA3qx2rQBDmZ5KqjPLaxGfZcy5081hjESu2nXPPl7rAOV sFBfgMwcE7ATGhUIYiqMBj1pxHJ4kmM= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1694693002; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=KQWm8KDBapshh21qrRIcErJ2RlDP9zV+9QU6PEoBJ+k=; b=WbZR8JHwCVvIzJmC94OsPUt6iienPCFBR+Nuzi+FnLp38bUHuc5ah+4zlAjoaXPbdGxN9M zI4DGXzRfqs3KsCQ== 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 68BA8139DB; Thu, 14 Sep 2023 12:03:22 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id rGHrGIr2AmVVIwAAMHmgww (envelope-from ); Thu, 14 Sep 2023 12:03:22 +0000 Date: Thu, 14 Sep 2023 14:03:20 +0200 From: David Sterba To: Jan Kara Cc: Christoph Hellwig , Al Viro , Christian Brauner , Jens Axboe , Denis Efremov , Josef Bacik , Stefan Haberland , Jan Hoeppner , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , "Darrick J . Wong" , Chris Mason , David Sterba , linux-block@vger.kernel.org, nbd@other.debian.org, linux-s390@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: remove get_super Message-ID: <20230914120320.GY20408@suse.cz> Reply-To: dsterba@suse.cz References: <20230811100828.1897174-1-hch@lst.de> <20230912174245.GC20408@twin.jikos.cz> <20230914084809.arzw34svsvvkwivm@quack3> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230914084809.arzw34svsvvkwivm@quack3> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org On Thu, Sep 14, 2023 at 10:48:09AM +0200, Jan Kara wrote: > On Tue 12-09-23 19:42:45, David Sterba wrote: > > On Fri, Aug 11, 2023 at 12:08:11PM +0200, Christoph Hellwig wrote: > > > Hi all, > > > > > > this series against the VFS vfs.super branch finishes off the work to remove > > > get_super and move (almost) all upcalls to use the holder ops. > > > > > > The first part is the missing btrfs bits so that all file systems use the > > > super_block as holder. > > > > > > The second part is various block driver cleanups so that we use proper > > > interfaces instead of raw calls to __invalidate_device and fsync_bdev. > > > > > > The last part than replaces __invalidate_device and fsync_bdev with upcalls > > > to the file system through the holder ops, and finally removes get_super. > > > > > > It leaves user_get_super and get_active_super around. The former is not > > > used for upcalls in the traditional sense, but for legacy UAPI that for > > > some weird reason take a dev_t argument (ustat) or a block device path > > > (quotactl). get_active_super is only used for calling into the file system > > > on freeze and should get a similar treatment, but given that Darrick has > > > changes to that code queued up already this will be handled in the next > > > merge window. > > > > > > A git tree is available here: > > > > > > git://git.infradead.org/users/hch/misc.git remove-get_super > > > > FYI, I've added patches 2-5 as a topic branch to btrfs for-next. > > Hum, I don't see them there. Some glitch somewhere? There will be a delay before the patches show up in the pushed for-next branch, some tests failed (maybe not related to this series) and there are other merge conflicts that I need to resolve first.