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 804CFC4332F for ; Wed, 23 Nov 2022 07:59:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235838AbiKWH73 (ORCPT ); Wed, 23 Nov 2022 02:59:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236371AbiKWH7L (ORCPT ); Wed, 23 Nov 2022 02:59:11 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FBC7F5B2 for ; Tue, 22 Nov 2022 23:58:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=fokwSgpDxHdmMktb3cGOUAQ6ziWVx1/aTXFLbwq0ETk=; b=EAZ9eEzolIVHJjOXybEcdn0r2B CPmyZawv/nw1vA2DdRgkqTkqjIn8gx343quWgcRlRBwB3HEbXTiQC26uvIHJNvGhWP0PyxMkxk5yf 5NP8MkZTMs+57/EyNeEBiwq6srWXQCUIByWNGCdzdeMYrAqScZa49fw4OSighwdKGtdXb0G6tRbRX 3BKEtDXCr6xDmkAjVw6rBQeTWcTWsE8jcVyZGVDyk/tyCVdJaM88jzGKxT+mHA6KpP4l0b9Z0zGBB w+kQKFlbkPSPQZSt2FOohSlWhInO33ZSaB/mShPB5JCTI1wjRuZe1MpaYdZxKNlUNw7bCCOyDJkZp qPbVFskA==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1oxkeP-00FO2g-9H; Wed, 23 Nov 2022 07:58:33 +0000 Date: Tue, 22 Nov 2022 23:58:33 -0800 From: Christoph Hellwig To: Lukas Czerner Cc: Christoph Hellwig , "Darrick J. Wong" , Hugh Dickins , Jan Kara , Eric Sandeen , linux-mm@kvack.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH v2 1/3] quota: add quota in-memory format support Message-ID: References: <20221121142854.91109-1-lczerner@redhat.com> <20221121142854.91109-2-lczerner@redhat.com> <20221122142117.epplqsm4ngwx5eyy@fedora> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221122142117.epplqsm4ngwx5eyy@fedora> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Tue, Nov 22, 2022 at 03:21:17PM +0100, Lukas Czerner wrote: > > That seems like a good idea for memory usage, but I think this might > > also make the code much simpler, as that just requires fairly trivial > > quota_read and quota_write methods in the shmem code instead of new > > support for an in-memory quota file. > > You mean like the implementation in the v1 ? Having now found it: yes.