diff mbox

btrfs-progs doc: emphasis that only mounted device works for btrfs device stats

Message ID 1427874777-11871-1-git-send-email-chenhanxiao@cn.fujitsu.com (mailing list archive)
State Accepted
Headers show

Commit Message

Chen Hanxiao April 1, 2015, 7:52 a.m. UTC
We provided format <path>|<device> in command line.
But btrfs device stats doesn't work if device is not mounted.

Also fix some tailing whitespace.

Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
---
 Documentation/btrfs-device.txt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

David Sterba April 2, 2015, 3:26 p.m. UTC | #1
On Wed, Apr 01, 2015 at 03:52:57AM -0400, Chen Hanxiao wrote:
> We provided format <path>|<device> in command line.
> But btrfs device stats doesn't work if device is not mounted.

Although that's right, the dev stats are easy to implement in userspace.
Applied, as it reflects current state.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/Documentation/btrfs-device.txt b/Documentation/btrfs-device.txt
index 66be6b3..3868fd4 100644
--- a/Documentation/btrfs-device.txt
+++ b/Documentation/btrfs-device.txt
@@ -83,14 +83,14 @@  Check device to see if it has all of it's devices in cache for mounting.
 *scan* [(--all-devices|-d)|<device> [<device>...]]::
 Scan devices for a btrfs filesystem.
 +
-If one or more devices are passed, these are scanned for a btrfs filesystem. 
+If one or more devices are passed, these are scanned for a btrfs filesystem.
 If no devices are passed, btrfs uses block devices containing btrfs
 filesystem as listed by blkid.
-Finally, if '--all-devices' or '-d' is passed, all the devices under /dev are 
+Finally, if '--all-devices' or '-d' is passed, all the devices under /dev are
 scanned.
 
 *stats* [-z] <path>|<device>::
-Read and print the device IO stats for all devices of the filesystem
+Read and print the device IO stats for all mounted devices of the filesystem
 identified by <path> or for a single <device>.
 +
 `Options`