From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f200.google.com (mail-pl1-f200.google.com [209.85.214.200]) (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 E487846C4B9 for ; Tue, 21 Jul 2026 15:59:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.200 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784649561; cv=none; b=t3F+bsylobAjq+ObcbmxI7t/W2qAk592ZNZ/gFmDqi0vGv84k52eiwBFh9fVBuf2NR7gtrIuldSfCkromhNZN5HbJvI2YOsg07PqjCWCgdDhkFRqNvKL0nW6GoOriwodkcLMyxsOPiecaPUrFZlyDZnVFHJhR5V30LyD7OFGxKg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784649561; c=relaxed/simple; bh=qwHbx2jV7SFI/v/1k/rAgWYOMTSq5LiDCWOfmWedO1E=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=AKUzEt0C9tugwlDgDdFtQUhzaDaKc06hUVmtrmri+AtxYbZRMzfm5TS8mk4dD8RUuZCWmDtQzEk1h1GkZyeYqZXJf8TfY1Nm3ufM+frORzi6kAF4XKRekygX7563woJzR90BQQvI6MZdy8mgM1iJmcr/kZnF1+vAHXOFVBv6AEE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--ankitkap.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=Z655I5Ch; arc=none smtp.client-ip=209.85.214.200 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--ankitkap.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="Z655I5Ch" Received: by mail-pl1-f200.google.com with SMTP id d9443c01a7336-2cc77a6943eso196060135ad.0 for ; Tue, 21 Jul 2026 08:59:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1784649559; x=1785254359; darn=vger.kernel.org; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:from:to:cc:subject:date:message-id:reply-to :content-type; bh=Dp9XP4/tBbCGxcyaahXau3Cz1lTBhAkt8+2pZA6U+mM=; b=Z655I5ChZmZzY6XcDwjRBmsh3uvEeWQpim/r0OaowE5kwYUjlT6/VxGfzBhoF9kV1R Zj8xapigOwuB1VVgKt0hUuOZ6ngsZm/O7pH+26Dholoyc44BYZfxYcO8pvQN3CveWeXv 7K21r/7+WPcpqnrPx28Ht6nBwWrpV+Cq538cnW4dbZjuj4k0xgQzXkXy6TEP43XWdRsK 6PQp6FPv4IdaFA9hCVRc18WPWAD2kcSUGpqzbyIITmWuJ1YkhAyC0GrEmQiw3sg8tTpL RGvGNKm/F+fMaI4/wCqjfZ/Pf/m8MSnS0+0oHBo1aRuBCDnBTjsFeA489mm0pRB8jgrN NVmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784649559; x=1785254359; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=Dp9XP4/tBbCGxcyaahXau3Cz1lTBhAkt8+2pZA6U+mM=; b=WN3vjWL2X6W/gYjMFBLpk7m1XTSkWHDwUq+JnmaQUvC8WoxBdCxoJBDPqOK99CvmAC vEAdHEfa1c3FPfJ0p4KkpEQSpMXmD8V3JBGiKFr3nsUZ+8qIXJY839ePCWtIYadyFImy ddSjiFwKilAA/6VoT3vlXFUerc0qB8ih5X/jGPeJMTQKqaBypX0Yt1DI5XsJPzltudTs mA4xyF6y2TxoMxVaedqgUmwxdYJe1xPbQEo1wiUjjUArGk18EzRgtMqpw/arFhW1XtPo RoFxQSGT7qmRFj7dLhg4KpPPQRSll/QAJbVGFZ/M2OC7WmUvJpHzTFL6ZEmkLzojhRYG wN3w== X-Forwarded-Encrypted: i=1; AHgh+RpaIlyZJQy/iZj4krF6MPwdDSS+oM4PVf7+r8b5OSKSXAC0H1MBAmz4TW4jsNps4K1Y/71A8Bw1S8PC2qM=@vger.kernel.org X-Gm-Message-State: AOJu0YwtnDHbVAUtn4PF/AvoA9jjy9x9fAdebTIgarr6jSK2eIXyt62I YORSv8vIIRalohiB/ueQiEvS8nOV1uypZT9friL4XB8oo9IrI92yWCh4qQd//jQ/N9SvWNSLhEN 9QlpjyxnH38Osdg== X-Received: from pldr4.prod.google.com ([2002:a17:903:4104:b0:2c6:a4ed:efee]) (user=ankitkap job=prod-delivery.src-stubby-dispatcher) by 2002:a17:902:d984:b0:2ca:11af:5ee9 with SMTP id d9443c01a7336-2cf3494b34dmr210203205ad.25.1784649558421; Tue, 21 Jul 2026 08:59:18 -0700 (PDT) Date: Tue, 21 Jul 2026 15:59:16 +0000 In-Reply-To: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: X-Mailer: git-send-email 2.55.0.229.g6434b31f56-goog Message-ID: <20260721155916.3238369-1-ankitkap@google.com> Subject: Re: [PATCH v2 1/1] bcache: track active bypass writes to prevent stale cache reads From: Ankit Kapoor To: colyli@fygo.io Cc: ankitkap@google.com, kent.overstreet@linux.dev, linux-bcache@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" On Tue, 7 Jul 2026 13:14:52 +0800, Coly Li wrote: > Hi Ankit, > > This is not an easy and simple fix, finally I find a long enough and > peaceful time to reivew the whole patch. > > Thanks for your patience. I add my comments inline in your code. Hi Coly, Thanks for the detailed review and your comments. I am currently working on incorporating your feedback and will send out a new version of the patch soon. Thanks, Ankit