From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fout-a6-smtp.messagingengine.com (fout-a6-smtp.messagingengine.com [103.168.172.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 174A5374E59 for ; Wed, 22 Jul 2026 15:20:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.149 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784733604; cv=none; b=Hkp6D+Wm1X991SS4r9udjg5ntaCE+vX7qR67tLGDLab+3f3IHcX1XZjf0dxw3Vt6CkwVHWlfdso3SKAGri0tA2kt/+Ibhpw7fy1cq5TzM0mCn9PW6GsInvr8MajDDtggqDbwDLzkMFh21nVivjj+uLlX9CSCitbbvIXJVulBB0I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784733604; c=relaxed/simple; bh=MnreOunCh4G7u1kq/0pcpxXSZIQqvH3ICeqDQJ/l36Y=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=EZWyY5/zwY5RDOEO0ERPYejozzvRZGFslzPXUXg5wuVmDHdEj9QHh3pteOHEnckNfwguqthv7ixCqCFDznHCx8jR0o6ziyC8gr8gHn5wjRsRYjc/wVje6etzjJ0KtxSo+C0gf8+oTxVAUBCpHdX+4toL3Cg2V8FhtzhWUPAthNI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bur.io; spf=pass smtp.mailfrom=bur.io; dkim=pass (2048-bit key) header.d=bur.io header.i=@bur.io header.b=VhC+vR4z; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=D9UfIxs+; arc=none smtp.client-ip=103.168.172.149 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bur.io Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bur.io Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bur.io header.i=@bur.io header.b="VhC+vR4z"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="D9UfIxs+" Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfout.phl.internal (Postfix) with ESMTP id 231ABEC00FF; Wed, 22 Jul 2026 11:19:59 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-05.internal (MEProxy); Wed, 22 Jul 2026 11:19:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bur.io; h=cc:cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1784733599; x=1784819999; bh=eQSpAm77vo vB6qaWoIrx9Q3Rda5XeP9820/cqGGyHB0=; b=VhC+vR4zLPuDFLVf6b2hofgv2/ vJCReKvcoWM4mh97n5wDEGf6mlt1YY8Gwd0CO9FEzyVx+LZjzcAuzuFHovnpcDYa U5pQZJwl3hjKt2nL5dCqkUVt1rjacCcEvwr8910R+zKgPBNuWt6fx3g6jzshxsPS UfpOmntvFUgbcmu2zqtkFYIftTk+psHN/0CuQvBH171g8fzMz3HmJpEJX1imyrgn zLdvifOp5bxeh8zto5lXs5GAd5QpJAuiWHjsTB0BBjRXHTm6fpjkJTUbTzjDX/3R PG7Rc9G/Zj6ZMfunVTzbu6b7scdcmyPgvqREnL2fgmVzjg8m9lWHD42Mqa0Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1784733599; x=1784819999; bh=eQSpAm77vovB6qaWoIrx9Q3R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wkxjnCqZcvZCybtl60wYkhBx6MA X-ME-Proxy: Feedback-ID: i083147f8:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 22 Jul 2026 11:19:58 -0400 (EDT) Date: Wed, 22 Jul 2026 08:19:49 -0700 From: Boris Burkov To: fdmanana@kernel.org Cc: linux-btrfs@vger.kernel.org Subject: Re: [PATCH 0/7] btrfs: some optimizations and cleanups for log syncing Message-ID: <20260722151949.GA26033@zen.localdomain> References: Precedence: bulk X-Mailing-List: linux-btrfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Wed, Jul 22, 2026 at 01:41:36PM +0100, fdmanana@kernel.org wrote: > From: Filipe Manana > > Some optimizations for log syncing, specially for non-sdd mounts, and > some cleanups. Details in the changelogs of each patch. Reviewed-by: Boris Burkov > > Filipe Manana (7): > btrfs: stop sleeping for one jiffy in non-ssd mounts during log commit > btrfs: remove log batch counter use for fsync > btrfs: do an initial lockless committed log transaction check during log syncing > btrfs: check for log writers count first in wait_for_writer() > btrfs: move condition for log commit wait into wait_log_commit() > btrfs: check for exit condition after waking in wait_log_commit() > btrfs: use simple booleans for log_commit field in struct btrfs_root > > fs/btrfs/ctree.h | 6 +-- > fs/btrfs/disk-io.c | 3 -- > fs/btrfs/file.c | 4 -- > fs/btrfs/transaction.c | 8 +-- > fs/btrfs/tree-log.c | 98 ++++++++++++++---------------------- > include/trace/events/btrfs.h | 4 +- > 6 files changed, 42 insertions(+), 81 deletions(-) > > -- > 2.47.2 >