From: Pavel Goran <via-bcache@pvgoran.name>
To: Junhui Tang <tang.junhui.linux@gmail.com>
Cc: colyli@suse.de, linux-bcache@vger.kernel.org,
linux-block@vger.kernel.org
Subject: Re: [PATCH] bcache: add a command to show bcache topology
Date: Thu, 20 Sep 2018 21:58:08 +0700 [thread overview]
Message-ID: <1481894441.20180920215808@pvgoran.name> (raw)
In-Reply-To: <CA+NNRhHpArYXt7YofXcH0h8yhcPvFhWC9ZKnRTcPhXziSPDHPg@mail.gmail.com>
Hello Junhui,
Thursday, September 20, 2018, 8:26:58 PM, you wrote:
> From 647ac21a0068df1fafb038a628791d2fcc135462 Mon Sep 17 00:00:00 2001
> From: Tang Junhui <tang.junhui.linux@gmail.com>
> Date: Fri, 21 Sep 2018 04:52:20 +0800
> Subject: [PATCH] bcache: add a command to show bcache topology
> This patch add a command to show bcache topology as bellow:
> [root@ceph x86_64]# cat /sys/fs/bcache/show
"show" doesn't look like a good file name here, it's vague and doesn't
convey the meaning. Maybe just use "topology" instead?
> ( sdb ) : ( sdg:bcache4 sdf:bcache3 sde:bcache2 sdd:bcache1 sdc:bcache0 )
> ( sdh ) : ( sdm:bcache9 sdl:bcache8 sdk:bcache7 sdj:bcache6 sdi:bcache5 )
> In the output result, each line shows cache devices in the first () and
> its cached devices in the second (). By this command, we can be easily
> to know cached device bcache4 base on backing device sdg and cache device
> sdb, we also can see bcache0 bcache1 bcache2 bcache3 and bcache4 are in
> the same cache set.
> (patch skipped)
Pavel Goran
prev parent reply other threads:[~2018-09-20 20:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-20 13:26 [PATCH] bcache: add a command to show bcache topology Junhui Tang
2018-09-20 14:58 ` Pavel Goran [this message]
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=1481894441.20180920215808@pvgoran.name \
--to=via-bcache@pvgoran.name \
--cc=colyli@suse.de \
--cc=linux-bcache@vger.kernel.org \
--cc=linux-block@vger.kernel.org \
--cc=tang.junhui.linux@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox