Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp5878287ybc; Wed, 27 Nov 2019 10:56:44 -0800 (PST) X-Google-Smtp-Source: APXvYqwHrcRdErh1yuUa0lO70rQWpg1EngFqPYVAGF3oWqC8DW5VOVF0jQiWbS0d5bePyvAzzbad X-Received: by 2002:a05:6402:1718:: with SMTP id y24mr32999803edu.220.1574881004478; Wed, 27 Nov 2019 10:56:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574881004; cv=none; d=google.com; s=arc-20160816; b=HakA6Xw11Vz7w6ZAsmOkYkVY1CiITAT90VRjHBjSYs2h+K6t2H+gWTYam9StrTEiSw 7GuirSWQPm89MNEJd/ZQMxGHQoHK7heHdIL5Wt7kRuwe8ibfLVPrMgkuF8bqC73PWrmo YH2PeuUO9RtprJDv9sJownNlxyOY/l3v3Y7nmlbpojq/QVw8ahildGnEC75Bg78s2B0M 6Hh6pwXmUDqwnFMt25gpheKqy5oVOoM3/T7h26MPoZfhun0uHSh2gaGFyYKhzYthWMBo anjClzDF8UWJB9siEmOaP6SR0hezXq7Ha6nitbgrlTM7L4zu/ybtS/Ll1HXetuXp4mIv MZug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=iNMKV6JKx16eJZPWeMfLiRiiW9bu99KddtEjmyG/dBw=; b=cgQABXBsjC1IG0CLz1l7BAdYf2jdf9VEFmndqyzeVYnZz03yxut3RvFXm/SMHlVfs4 Byb5gF9XQZsLeYNzS3Sqb1wd/f7EZALxx4aW2+YSRAZ8RMkLL99Wfve4t+W71CQ8gDU8 V8gHCDyjiyH+i1MBnTR/qIkutoBMSAwEnFmZTQx832unDQ0lUTdcZPEQcv5bImYPE/C+ CppCVEE0bhXsIEbWwMSBbJgaHFPhyU+pXZhxL74Q0YROLEjbkDAabIbef4YEnfiEUnRL V451bueN0NacGDSsvIX/wL86XqNEl8mPf43kHGzqBJ9uomX/S89FdCk1HJjrkNmXZBgD WvyQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d16si10244474edp.283.2019.11.27.10.56.20; Wed, 27 Nov 2019 10:56:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727446AbfK0Syo (ORCPT + 99 others); Wed, 27 Nov 2019 13:54:44 -0500 Received: from mail-pg1-f194.google.com ([209.85.215.194]:39233 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726984AbfK0Syo (ORCPT ); Wed, 27 Nov 2019 13:54:44 -0500 Received: by mail-pg1-f194.google.com with SMTP id b137so9033371pga.6; Wed, 27 Nov 2019 10:54:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=iNMKV6JKx16eJZPWeMfLiRiiW9bu99KddtEjmyG/dBw=; b=iRZSk9YZXucgxSGamn2ePuWOld1AtB7dlllIpqHr1CwQNJkz01jFxrBoWcRpQ+Ly4B TXd5D4yiPRTZYWKsGJc9VlBgXcaF3cRg1+uAFMtddC7OU+qvb78nKuQ8CulRt8gREFDl EScQrazXX0FAzfoyYVuxxP5f6v+e8ODqme2fPNke5ZuxpA93ydjYQRWUOD8wUOqvzqn0 KAh62up1efrIRhg5yQlhFWimnz/a7VvjPWdft3E8UbgD3G1KqV2+Jn+xS1AyE2rIKXFV LJCgm0ySmPREaaD1aUTrL3WEk9H21pZE8iExes1o/RHYaTq0uAFqp5qVqgHu1sLzgJN9 Syvw== X-Gm-Message-State: APjAAAXng/oZb8gaucRTcS69FEOE4cjz3ZTHYqS6or2opOAgGNk7f6aI +DtHBwWW0Bx7aCj8bMGGul8G6isQ4uA= X-Received: by 2002:a63:447:: with SMTP id 68mr6357827pge.364.1574880882964; Wed, 27 Nov 2019 10:54:42 -0800 (PST) Received: from desktop-bart.svl.corp.google.com ([2620:15c:2cd:202:4308:52a3:24b6:2c60]) by smtp.gmail.com with ESMTPSA id j7sm3831350pgn.0.2019.11.27.10.54.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 27 Nov 2019 10:54:41 -0800 (PST) Subject: Re: [f2fs-dev] [PATCH v3] loop: avoid EAGAIN, if offset or block_size are changed To: Jaegeuk Kim , linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Cc: Jens Axboe , linux-block@vger.kernel.org, stable@vger.kernel.org References: <20190518004751.18962-1-jaegeuk@kernel.org> <20190518005304.GA19446@jaegeuk-macbookpro.roam.corp.google.com> <20191127181809.GA42245@jaegeuk-macbookpro.roam.corp.google.com> From: Bart Van Assche Message-ID: <898950e4-3759-c78e-dd5d-422af9f8c507@acm.org> Date: Wed, 27 Nov 2019 10:54:40 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20191127181809.GA42245@jaegeuk-macbookpro.roam.corp.google.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/27/19 10:18 AM, Jaegeuk Kim wrote: > Previously, there was a bug where user could see stale buffer cache (e.g, 512B) > attached in the 4KB-sized pager cache, when the block size was changed from > 512B to 4KB. That was fixed by: > commit 5db470e229e2 ("loop: drop caches if offset or block_size are changed") [ ... ] Reviewed-by: Bart Van Assche