From: Johannes Thumshirn <Johannes.Thumshirn@wdc.com>
To: Josef Bacik <josef@toxicpanda.com>, David Sterba <dsterba@suse.com>
Cc: Nikolay Borisov <nborisov@suse.com>,
"linux-btrfs @ vger . kernel . org" <linux-btrfs@vger.kernel.org>
Subject: Re: [PATCH v2 2/6] btrfs: remove buffer heads from super block reading
Date: Thu, 23 Jan 2020 13:53:56 +0000 [thread overview]
Message-ID: <EAD03B78-F757-4103-BC46-6F8A861D54C4@wdc.com> (raw)
In-Reply-To: <9c65b644-6769-12f8-ba93-5f13f89f9bff@toxicpanda.com>
On 23/01/2020, 14:51, "Josef Bacik" <josef@toxicpanda.com> wrote:
[...]
> - brelse(bh);
> +
> + bio.bi_iter.bi_sector = bytenr >> SECTOR_SHIFT;
> + bio_set_dev(&bio, bdev);
> + bio_set_op_attrs(&bio, REQ_OP_WRITE, 0);
nit: We're losing REQ_SYNC here, not that it matters but if you have to re-roll
it may be nice to have. Otherwise
No actually we don't. submnit_bio_wait() implies REQ_SYNC, so we're all good.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Thanks,
Johannes
next prev parent reply other threads:[~2020-01-23 13:54 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-23 8:18 [PATCH v2 0/6] btrfs: remove buffer heads form superblock handling Johannes Thumshirn
2020-01-23 8:18 ` [PATCH v2 1/6] btrfs: export btrfs_release_disk_super Johannes Thumshirn
2020-01-23 13:42 ` Josef Bacik
2020-01-23 8:18 ` [PATCH v2 2/6] btrfs: remove buffer heads from super block reading Johannes Thumshirn
2020-01-23 13:51 ` Josef Bacik
2020-01-23 13:53 ` Johannes Thumshirn [this message]
2020-01-23 14:13 ` Nikolay Borisov
2020-01-23 16:45 ` Johannes Thumshirn
2020-01-23 22:25 ` David Sterba
2020-01-24 13:54 ` David Sterba
2020-01-24 14:03 ` David Sterba
2020-01-23 8:18 ` [PATCH v2 3/6] btrfs: remove use of buffer_heads from superblock writeout Johannes Thumshirn
2020-01-23 13:59 ` Josef Bacik
2020-01-23 14:19 ` Nikolay Borisov
2020-01-24 14:15 ` David Sterba
2020-01-23 8:18 ` [PATCH v2 4/6] btrfs: remove btrfsic_submit_bh() Johannes Thumshirn
2020-01-23 14:00 ` Josef Bacik
2020-01-23 8:18 ` [PATCH v2 5/6] btrfs: remove buffer_heads from btrfsic_process_written_block() Johannes Thumshirn
2020-01-23 14:00 ` Josef Bacik
2020-01-23 8:18 ` [PATCH v2 6/6] btrfs: remove buffer_heads form superblock mirror integrity checking Johannes Thumshirn
2020-01-23 14:03 ` Josef Bacik
2020-01-23 14:23 ` Nikolay Borisov
2020-01-24 14:22 ` David Sterba
2020-01-24 14:59 ` Johannes Thumshirn
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=EAD03B78-F757-4103-BC46-6F8A861D54C4@wdc.com \
--to=johannes.thumshirn@wdc.com \
--cc=dsterba@suse.com \
--cc=josef@toxicpanda.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=nborisov@suse.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.