Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp212821ybz; Tue, 28 Apr 2020 22:01:24 -0700 (PDT) X-Google-Smtp-Source: APiQypIwU08ua3CTvDDYAlt+LRN8/i6AVXZaV8yM1sjqWiX1GxgbgJbhAkmwaVt88qg32n4GE7iE X-Received: by 2002:a05:6402:1a2f:: with SMTP id be15mr937223edb.385.1588136484276; Tue, 28 Apr 2020 22:01:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588136484; cv=none; d=google.com; s=arc-20160816; b=jl+liekz5vs+xeA05Q4Eki+Iwl7Zfu7Oep3uPbC8T1fI9et7i9xUVS8WY2Zm2Lmriy 8vVVguO1r5803fHRbkS12pGr1GVUu34kSd/WhPZkQTICN1YRMlBc9b4Bh8/ZEY/9vSLP KAsWJftI2+C7/EWZNIV+xb0TTf8tYvpEo9y9kBeRQ+VGk2LWO8RzHaKdKwBVRaDGjYyQ HNjAU6T/98MgwMdRSN2kDQAp79EF+O/Jd1Z0GbELGSHcMAeq21Hu842/zcY6hg+UP2lX 63CBHjaFaAwZwDFE+YhenjBJ6ZkR9/0/11TtfnWlNWx4IGx3XsYdr4yIwOWaTLOi8ZLb D8dQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature; bh=SgBgKEZAF4DZDU8n6TNtN6h7mhMj7SRUEgP91LQZcK4=; b=WUerKv38eR3M2vmmNb9t1402U4qi5W0pIJFA64sle9LL87R8I5e3AkN1Jm7b23Sh1v +9QAJ1+FsyEpqn9unPomCIopqy2dagR+uR0lqef7gwQwT3kf6YBMEyOrT909cT+j/bjU 4AXX6+MJEoEkRzj8EbILfHyPj5LCnJRSPMksnzKqt/eKA7rZoVKhk35m/byRs06DHb1u gnhuieD1gVN9aYg4IzXrIE+s3TZykG/2TToxmugJM5/vFPo+Vra5ZHbvUD8BQXmUuW5D y5GTUKvuFUQG/NFtUraBZ+EVWHVSmliASsTEgdek4sk9LI89doF0ZLI3uhRWy4rvUPtK JdCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=B8PZwExd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n22si2959559ejd.119.2020.04.28.22.01.00; Tue, 28 Apr 2020 22:01:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=B8PZwExd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726787AbgD2E7M (ORCPT + 99 others); Wed, 29 Apr 2020 00:59:12 -0400 Received: from mail26.static.mailgun.info ([104.130.122.26]:35465 "EHLO mail26.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726681AbgD2E7M (ORCPT ); Wed, 29 Apr 2020 00:59:12 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1588136351; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: Cc: To: Subject: Sender; bh=SgBgKEZAF4DZDU8n6TNtN6h7mhMj7SRUEgP91LQZcK4=; b=B8PZwExdicNG2LZxiG+LSBcUjk8eiLAi2zgoNokTj8apo9ggQD6oG1XxQOvxj0wQdj7i/3kr IthNeotKSt7I7FcY8HxgKgCeSIKuHqY7pNEg5CRQ05etgr72anydqPgS67r9K7W3J45Wp0TR txLqJC4R5UHpkqvA0gQfAoAtJSs= X-Mailgun-Sending-Ip: 104.130.122.26 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by mxa.mailgun.org with ESMTP id 5ea90981.7f69907913b0-smtp-out-n03; Wed, 29 Apr 2020 04:58:41 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 38F37C433CB; Wed, 29 Apr 2020 04:58:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.0 Received: from [192.168.0.101] (unknown [183.83.143.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sayalil) by smtp.codeaurora.org (Postfix) with ESMTPSA id 0FD72C433D2; Wed, 29 Apr 2020 04:58:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 0FD72C433D2 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=sayalil@codeaurora.org Subject: Re: [f2fs-dev] [PATCH V2] f2fs: Avoid double lock for cp_rwsem during checkpoint To: Markus Elfring , linux-f2fs-devel@lists.sourceforge.net, Jaegeuk Kim , Chao Yu Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org References: <07a820a2-b3b3-32ca-75ce-ceaca106d2c6@web.de> From: Sayali Lokhande Message-ID: <433d4ad5-22e5-fd2b-cab3-9752ed0c66fb@codeaurora.org> Date: Wed, 29 Apr 2020 10:28:36 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <07a820a2-b3b3-32ca-75ce-ceaca106d2c6@web.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Markus On 4/27/2020 4:08 PM, Markus Elfring wrote: >> … This results in deadlock as >> iput() tries to hold cp_rwsem, which is already held at the >> beginning by checkpoint->block_operations(). > Will another imperative wording become helpful besides the provided information > for this change description? > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?id=6a8b55ed4056ea5559ebe4f6a4b247f627870d4c#n151 > > Would you like to add the tag “Fixes” because of adjustments > for the data synchronisation? I couldn't find any past commit which suits to be added under "Fixes" here. Let me know if you have any other comment. > > Regards, > Markus