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 44884C636CC for ; Tue, 14 Feb 2023 01:47:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230466AbjBNBre (ORCPT ); Mon, 13 Feb 2023 20:47:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230457AbjBNBr2 (ORCPT ); Mon, 13 Feb 2023 20:47:28 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF44F1ABCB for ; Mon, 13 Feb 2023 17:47:24 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 89B03B819C8 for ; Tue, 14 Feb 2023 01:47:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 61C9DC433EF; Tue, 14 Feb 2023 01:47:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1676339242; bh=rZbOO6fi0qlXqZxxlVYOUHBpebE6n/8vf1D0V3jhIio=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=NxGQLaDQsJz5BGuW145xpgLE6yRpq0gVjihbwsIaQ3GsdlWssEwzEMgWi5VwDO7Jh L3P1q9lZfdzfsGOl4g+s7gnWWcImHUjv1RiLnouPs2eU1KOKZgJPGDktqPJ/EoGkqQ 5ygtYf9pNC1LTELSgKWe8iAd9dnctp4g/HiT6X22az1rX0NXCgjV0Gy4h+J+8DI4MK MlOgPDkMCNnSNqglHl3xSS7WBAtklYOWXfoWC2RXYoS323RxntwEYVCsHVonecZZkj EAIqTvsrIhEUwQlv0II5TDx2Zioz4Wn4C/l5rTQOqsCx0WMtlixsxNN6pDykvO/0cO c+koKE99z5HjA== Message-ID: <8de864c2-c055-584b-f3d2-9240d0115785@kernel.org> Date: Tue, 14 Feb 2023 09:47:18 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.7.2 Subject: Re: [f2fs-dev] [PATCH] f2fs: synchronize atomic write aborts Content-Language: en-US To: Daeho Jeong , linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, kernel-team@android.com Cc: Daeho Jeong , syzbot+823000d23b3400619f7c@syzkaller.appspotmail.com References: <20230209181819.2333522-1-daeho43@gmail.com> From: Chao Yu In-Reply-To: <20230209181819.2333522-1-daeho43@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023/2/10 2:18, Daeho Jeong wrote: > From: Daeho Jeong > > To fix a race condition between atomic write aborts, I use the inode > lock and make COW inode to be re-usable thoroughout the whole > atomic file inode lifetime. > > Reported-by: syzbot+823000d23b3400619f7c@syzkaller.appspotmail.com > Fixes: 3db1de0e582c ("f2fs: change the current atomic write way") > Signed-off-by: Daeho Jeong Reviewed-by: Chao Yu Thanks, 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 lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6B8AAC636D4 for ; Tue, 14 Feb 2023 01:47:32 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-4.v29.lw.sourceforge.com) by sfs-ml-4.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1pRkPr-0004zP-LV; Tue, 14 Feb 2023 01:47:31 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1pRkPq-0004zI-JL for linux-f2fs-devel@lists.sourceforge.net; Tue, 14 Feb 2023 01:47:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: From:References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=uXFNZPkoKkW+cQJtlcWqZy5zCIq5cdigcWjavtxPyyM=; b=B8eHAP9dDqt3R4dp6EybB4U3o9 ZwrX6WcbzbAtjdG0oApcgQdfgu32i7VWfvG9weXLekV4I8SoZ0XMcmsYceuVDOUmndKEIB99nqmJN o/a/qFS9uFjEIDzyPoA5m+9xOaRsbzNgmH99gulLL3ddFa28Ze20L2sQGhneLxrb3mAw=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=uXFNZPkoKkW+cQJtlcWqZy5zCIq5cdigcWjavtxPyyM=; b=SRyym4+l7rdQUKifuBjoLfKCBP WGbTJzCKocMJ9Td7/s6Va9wVYOHu28UX/MY43YTNUAsLNmtY31vYRQv8qXuN1XQYDg5lOuG5g4VTi vTsG6e5/0ln/l/bBPvDaNbRQTIQ0rhocKXdKmx3QBCMGMUwjxMZmhfy2EK1oQstErhnc=; Received: from ams.source.kernel.org ([145.40.68.75]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1pRkPp-0005B9-5m for linux-f2fs-devel@lists.sourceforge.net; Tue, 14 Feb 2023 01:47:30 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id A1D1CB81A3C; Tue, 14 Feb 2023 01:47:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 61C9DC433EF; Tue, 14 Feb 2023 01:47:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1676339242; bh=rZbOO6fi0qlXqZxxlVYOUHBpebE6n/8vf1D0V3jhIio=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=NxGQLaDQsJz5BGuW145xpgLE6yRpq0gVjihbwsIaQ3GsdlWssEwzEMgWi5VwDO7Jh L3P1q9lZfdzfsGOl4g+s7gnWWcImHUjv1RiLnouPs2eU1KOKZgJPGDktqPJ/EoGkqQ 5ygtYf9pNC1LTELSgKWe8iAd9dnctp4g/HiT6X22az1rX0NXCgjV0Gy4h+J+8DI4MK MlOgPDkMCNnSNqglHl3xSS7WBAtklYOWXfoWC2RXYoS323RxntwEYVCsHVonecZZkj EAIqTvsrIhEUwQlv0II5TDx2Zioz4Wn4C/l5rTQOqsCx0WMtlixsxNN6pDykvO/0cO c+koKE99z5HjA== Message-ID: <8de864c2-c055-584b-f3d2-9240d0115785@kernel.org> Date: Tue, 14 Feb 2023 09:47:18 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.7.2 Content-Language: en-US To: Daeho Jeong , linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, kernel-team@android.com References: <20230209181819.2333522-1-daeho43@gmail.com> From: Chao Yu In-Reply-To: <20230209181819.2333522-1-daeho43@gmail.com> X-Headers-End: 1pRkPp-0005B9-5m Subject: Re: [f2fs-dev] [PATCH] f2fs: synchronize atomic write aborts X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Daeho Jeong , syzbot+823000d23b3400619f7c@syzkaller.appspotmail.com Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net On 2023/2/10 2:18, Daeho Jeong wrote: > From: Daeho Jeong > > To fix a race condition between atomic write aborts, I use the inode > lock and make COW inode to be re-usable thoroughout the whole > atomic file inode lifetime. > > Reported-by: syzbot+823000d23b3400619f7c@syzkaller.appspotmail.com > Fixes: 3db1de0e582c ("f2fs: change the current atomic write way") > Signed-off-by: Daeho Jeong Reviewed-by: Chao Yu Thanks, _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel