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 31B46EB64D9 for ; Mon, 19 Jun 2023 06:48:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230045AbjFSGsC (ORCPT ); Mon, 19 Jun 2023 02:48:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229456AbjFSGsB (ORCPT ); Mon, 19 Jun 2023 02:48:01 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41E1513D for ; Sun, 18 Jun 2023 23:47:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=MA/scusGI4Xbiy9z3n4wDSbyE8K4jgIoWvCOdFwHHTQ=; b=jtY4TV+MyKHs4EQjJ8862DC4Pj u1jX6wzkiYeOWRFrPQ/BMmJCpo4la3p3dHUgDN6Ct2Aqsh/Nq2SGTmSV9n51rkRuLs+YndONOSR3Y 7a/xbcgVe0DkDhxXwpv+c7FBr6RRluqQmhnLOYLlzr8mRiUUpMa76AVeF3Uk9rKqSIy04fG1ucHyy Y1lonYYhrFZav2nOCoo7lwy4Pwf5POd7S+PjTdewg87rlSnhrTckFndZ0CEpBhTTJ9GISV2hVD956 QGAnH4PHuKSTFX/D+arTcb1RT7Qc5TaqV8Uuba0LiP28zhr7D6SHg3Wwnjr67rm3OorT1HbE+Basd fgWTouug==; Received: from 2a02-8389-2341-5b80-39d3-4735-9a3c-88d8.cable.dynamic.v6.surfer.at ([2a02:8389:2341:5b80:39d3:4735:9a3c:88d8] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qB8g8-007cu2-2w; Mon, 19 Jun 2023 06:47:57 +0000 From: Christoph Hellwig To: Chris Mason , Josef Bacik , David Sterba Cc: linux-btrfs@vger.kernel.org Subject: don't create inline extents in fallback_to_cow Date: Mon, 19 Jun 2023 08:47:40 +0200 Message-Id: <20230619064742.629345-1-hch@lst.de> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-btrfs@vger.kernel.org Hi all, this is a little thing I found during code inspection, let me know if the fix makes sense or if there is some other good way to avoid dropping the page_started flag on the floor here. Diffstat: inode.c | 83 ++++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 42 insertions(+), 41 deletions(-)