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 4428EC04E69 for ; Mon, 31 Jul 2023 07:29:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229895AbjGaH31 (ORCPT ); Mon, 31 Jul 2023 03:29:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231634AbjGaH1d (ORCPT ); Mon, 31 Jul 2023 03:27:33 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92A801FD6; Mon, 31 Jul 2023 00:24:09 -0700 (PDT) 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=KJOxcqJt/auWhGgw55NsCZuSDH/zfl2Bfbm5nTrd8NI=; b=MRVSS7BTJpcYYG01PhTNrysfey AAPmqJrjOPgjul0tC8EDK1jyvziejlnJEBdBa4r1VIzQOhzVKuJbvjZWHDwNGGWSOY3F3+CQOsPIp rNqIueY4vDu1WaGgDtKQHeV1zxlphQh+p+KIqO92dzEEcpwhlTjvHC2MaOAfXBrH3QtEwdJfRqKpu N88/9nIbjxV66Lu0HRANpMhUJzttJsFp8EkgOFAq8S+A40QT/ZtAQVY2SmVriW8PYq44kkefIY89E yx76Piao/8kvCpJlOJLwJtVv64vjSMLr6c/YEMTjgmsAlCjvgUArgFBJZUb7PfWTPRFjdojXmaYo4 VfH3n2iQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1qQNFI-00EJ3Z-10; Mon, 31 Jul 2023 07:23:12 +0000 Date: Mon, 31 Jul 2023 00:23:12 -0700 From: Christoph Hellwig To: Dmitry Torokhov Cc: Christoph Hellwig , Christian Brauner , Guenter Roeck , Bill O'Donnell , Rob Barnes , bleung@chromium.org, linux-fsdevel@vger.kernel.org, Alexander Viro , linux-kernel@vger.kernel.org Subject: Re: [PATCH] fs: export emergency_sync Message-ID: References: <20230718214540.1.I763efc30c57dcc0284d81f704ef581cded8960c8@changeid> <20230719-zwinkert-raddampfer-6f11fdc0cf8f@brauner> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Wed, Jul 19, 2023 at 01:51:25PM -0700, Dmitry Torokhov wrote: > I am not sure why you would not want modules to use it - in the case we > have here we detect a catastrophic failure in a critical system > component (embedded controller crashed) and would like to have as much > of the logs saved as possible. It is a module because this kind of EC > may not be present on every system, but when it is present it is very > much a core component. I really don't think this is a kernel poicy in any way. Please do a userspace upcall and let userspace deal with the policy decision.