From: Chris Mason <chris.mason@fusionio.com>
To: Miao Xie <miaox@cn.fujitsu.com>, <linux-btrfs@vger.kernel.org>
Subject: Re: [PATCH 3/5] Btrfs: don't cache the csum value into the extent state tree
Date: Thu, 11 Jul 2013 10:29:20 -0400 [thread overview]
Message-ID: <20130711142920.12026.77064@localhost.localdomain> (raw)
In-Reply-To: <1373520339-13870-3-git-send-email-miaox@cn.fujitsu.com>
Quoting Miao Xie (2013-07-11 01:25:38)
> Before applying this patch, we cached the csum value into the extent state
> tree when reading some data from the disk, this operation increased the lock
> contention of the state tree.
>
> Now, we just store the csum value into the bio structure or other unshared
> structure, so we can reduce the lock contention.
Perfect, this is a great way to use the extra bio struct.
-chris
next prev parent reply other threads:[~2013-07-11 14:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-11 5:25 [PATCH 1/5] Btrfs: remove unnecessary argument of bio_readpage_error() Miao Xie
2013-07-11 5:25 ` [PATCH 2/5] Btrfs: add branch prediction hints in the read page end IO function Miao Xie
2013-07-11 14:31 ` Chris Mason
2013-07-12 22:19 ` David Sterba
2013-07-11 5:25 ` [PATCH 3/5] Btrfs: don't cache the csum value into the extent state tree Miao Xie
2013-07-11 14:29 ` Chris Mason [this message]
2013-07-11 5:25 ` [PATCH 4/5] Btrfs: batch the extent state operation in the end io handle of the read page Miao Xie
2013-07-11 18:56 ` Josef Bacik
2013-07-11 8:05 ` [PATCH 1/5] Btrfs: remove unnecessary argument of bio_readpage_error() Miao Xie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130711142920.12026.77064@localhost.localdomain \
--to=chris.mason@fusionio.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=miaox@cn.fujitsu.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.