From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk1-f169.google.com (mail-qk1-f169.google.com [209.85.222.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0F4421FAC42 for ; Thu, 13 Feb 2025 10:40:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739443227; cv=none; b=GAkPot2LRx1pyJ7hydIdqrIQrGLAAzo5siSyfaR83+uQaMJUi13QRcJmVEJAE+sAYowlag5VB63l0kmaY/Kt6mdfriRJ+D3qPF/zOS3pjAfbd1z7PvmjFr8BWJuqB+bUi2yxvSYCMqP2kiHGR3WArJmVHwGNkEjFDLGW4m9sii8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739443227; c=relaxed/simple; bh=JsVXYWKYEmqlueQ5Dmhe4uJrs2X53jk8MY1CucfezlY=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=UVrPMnQNffByItFMRCptXMnOdxyMkNAuLDvN1wEsZaD3qxqBH2sW5Hc458QbI9zoE/dg41w7nb6lY0yyncj+hSHhE//CM1lxqCLQdWzrEUutRS/zb4oCvv7LGWKOi3ARSx/nUxeaKKIZhSgT41I522Nd44kqhS1ZH77DLJLA5dk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=szeredi.hu; spf=pass smtp.mailfrom=szeredi.hu; dkim=pass (1024-bit key) header.d=szeredi.hu header.i=@szeredi.hu header.b=H2FNE6/8; arc=none smtp.client-ip=209.85.222.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=szeredi.hu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=szeredi.hu Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=szeredi.hu header.i=@szeredi.hu header.b="H2FNE6/8" Received: by mail-qk1-f169.google.com with SMTP id af79cd13be357-7be8f28172dso43372485a.3 for ; Thu, 13 Feb 2025 02:40:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=szeredi.hu; s=google; t=1739443225; x=1740048025; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=JsVXYWKYEmqlueQ5Dmhe4uJrs2X53jk8MY1CucfezlY=; b=H2FNE6/8+ao5s3Rubq4Vcq1qewNccgBcXGVv55TMCMxkAFZTw4d7Yvd5p7QCp5gpx0 xUJMSq6FbeJOXoqrxi8/rju0m8Alid17eiRU//QMtGb+yhb5pKMFvs9hQt5ADj0xOlQD DcdeSEpq+fdN/sI7P/8qffMT2pGAEsQ8Ij6uo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739443225; x=1740048025; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=JsVXYWKYEmqlueQ5Dmhe4uJrs2X53jk8MY1CucfezlY=; b=KqwjY1ghgMoHjRja8srjdycgFrFAMidwpvxRQYxMVRqaz0f9qvbWtiz5UInAB7+y+/ bHBQwIq5EBBoEElJ1+bu5+8wqUYKcFTE3+vqtlVvGshHog5aw3W4cqsbEurih28ikuOa SbATs+7YxvbBB7hLZzgduPBozm1aBkPbsJZz7dkRbYvUIfsPGxTU6EEqAkZ8AaLOIlWl T3xB6pRDWbkLcS9/e1yYb3P6tO1O59E6DGn/16BrsfwJAbeoB9MzNk62i3a1n81ojmbW NSHste10Z5MIXLVLsj0/9K7ar2ZFx28tQIx3bJtZUH5yvR56qS8HX60OZUGjUx9k7oNG 2FnA== X-Gm-Message-State: AOJu0Yx3VnWJvzqdilwMxzfQiRz2L97rBVvTZAIwX5MXF5zgbIc6xG2v J7P5apbkgXAqaFQFVfbu43rw1mI4aWDwOyOhOwBGRtU9ec7b/kg3BvjhGTBJjEuJkyeQjR3LT7v V6Vl1qrRgo6b8AhiEU2bC2PltpAqO9ymwihuS/A== X-Gm-Gg: ASbGnctP5mt36VcxiOZOAHK7DBY07VBuAuIXg5zScZN05DN1Onv7ACyyQHvOySBA5xO zA2PZlt7p/8o05o/VTWDEhMhVVtdO7CMWizimOhK2XfLMi4+QCfubdgVJSo7qOaknXYF8dg== X-Google-Smtp-Source: AGHT+IES7Wq/c8Wha7OQPciT4W4vsKg4h55hXzDfZBmTqkbm4nWumYHNj5nAJMi7S6W4FwEcaH6bfqCs+of3dBRm+AA= X-Received: by 2002:a05:622a:1449:b0:471:c14f:5ef6 with SMTP id d75a77b69052e-471c14f6144mr27620461cf.17.1739443224991; Thu, 13 Feb 2025 02:40:24 -0800 (PST) Precedence: bulk X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20250211214750.1527026-1-joannelkoong@gmail.com> In-Reply-To: <20250211214750.1527026-1-joannelkoong@gmail.com> From: Miklos Szeredi Date: Thu, 13 Feb 2025 11:40:14 +0100 X-Gm-Features: AWEUYZnH71sCx2vS7F-ixqQY8DRlp00tM7NXt4xsKY8ZKjLN5VbJHLl2N1KwWi8 Message-ID: Subject: Re: [PATCH] fuse: revert back to __readahead_folio() for readahead To: Joanne Koong Cc: linux-fsdevel@vger.kernel.org, jlayton@kernel.org, josef@toxicpanda.com, vbabka@suse.cz, bernd.schubert@fastmail.fm, christian@heusel.eu, grawity@gmail.com, willy@infradead.org, stable@vger.kernel.org Content-Type: text/plain; charset="UTF-8" On Tue, 11 Feb 2025 at 22:48, Joanne Koong wrote: > > In 3eab9d7bc2f4 ("fuse: convert readahead to use folios"), the logic > was converted to using the new folio readahead code, which drops the > reference on the folio once it is locked, using an inferred reference > on the folio. Previously we held a reference on the folio for the > entire duration of the readpages call. Applied to #for-next Thanks everyone for taking care of this. Miklos