linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1 not for integration] btrfs-devlist
@ 2014-05-16 14:03 Anand Jain
  2014-05-16 14:03 ` [PATCH 1/1] btrfs: introduce BTRFS_IOC_GET_DEVS Anand Jain
  2014-05-16 14:03 ` [PATCH 1/1] btrfs-progs: introduce btrfs-devlist Anand Jain
  0 siblings, 2 replies; 4+ messages in thread
From: Anand Jain @ 2014-05-16 14:03 UTC (permalink / raw)
  To: linux-btrfs

btrfs-devlist: Dumps kernel fs_devices for debug purpose

(This is not for integration, use it until we have a
replacement tool)

Anand Jain (1):
  btrfs: introduce BTRFS_IOC_GET_DEVS

 fs/btrfs/super.c           |   86 ++++++++++++++++++++++++++
 fs/btrfs/volumes.c         |  142 ++++++++++++++++++++++++++++++++++++++++++++
 fs/btrfs/volumes.h         |    2 +
 include/uapi/linux/btrfs.h |   51 ++++++++++++++++
 4 files changed, 281 insertions(+), 0 deletions(-)

Anand Jain (1):
  btrfs-progs: introduce btrfs-devlist

 .gitignore      |    1 +
 Makefile        |    4 +-
 btrfs-devlist.c |  266 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 ioctl.h         |   51 +++++++++++
 4 files changed, 320 insertions(+), 2 deletions(-)
 create mode 100644 btrfs-devlist.c

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [PATCH not for integration] btrfs-devlist: dumps btrfs_device and btrfs_fs_devices from kernel
@ 2014-07-25 12:33 Anand Jain
  2014-07-25 12:33 ` [PATCH 1/1] btrfs: introduce BTRFS_IOC_GET_DEVS Anand Jain
  0 siblings, 1 reply; 4+ messages in thread
From: Anand Jain @ 2014-07-25 12:33 UTC (permalink / raw)
  To: linux-btrfs

This would dump the following info:

fs_address dev_address dev_root_addr root_fsid
fsid name uuid (seed_fsid@seed_addr sprout_fsid@sprout_addr) 
	(fs_num_devices fs_open_devices fs_rw_devices fs_missing_devices fs_total_devices) fs_total_rw_bytes fs_num_can_discard
	devid gen total_bytes disk_total_bytes bytes_used type io_align io_width sector_size fmode 
	not_fs_Mounted|not_fs_Seeding|not_fs_Rotating
	not_Writable|not_MD|not_Missing|not_Discard|not_Replace_tgt|not_Run_pending|not_Nobarriers|not_Stat_valid|not_Bdev


Applies on Chris integration branch now

Anand Jain (1):
  btrfs: introduce BTRFS_IOC_GET_DEVS

 fs/btrfs/super.c           |  86 +++++++++++++++++++++++++++
 fs/btrfs/volumes.c         | 145 +++++++++++++++++++++++++++++++++++++++++++++
 fs/btrfs/volumes.h         |   3 +
 include/uapi/linux/btrfs.h |  53 ++++++++++++++++-
 4 files changed, 286 insertions(+), 1 deletion(-)

Anand Jain (1):
  btrfs-progs: introduce btrfs-devlist

 .gitignore      |   1 +
 Makefile        |   4 +-
 btrfs-devlist.c | 268 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 ioctl.h         |  52 +++++++++++
 4 files changed, 323 insertions(+), 2 deletions(-)
 create mode 100644 btrfs-devlist.c
-- 
2.0.0.153.g79dcccc


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-07-25 12:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-16 14:03 [PATCH 0/1 not for integration] btrfs-devlist Anand Jain
2014-05-16 14:03 ` [PATCH 1/1] btrfs: introduce BTRFS_IOC_GET_DEVS Anand Jain
2014-05-16 14:03 ` [PATCH 1/1] btrfs-progs: introduce btrfs-devlist Anand Jain
  -- strict thread matches above, loose matches on Subject: below --
2014-07-25 12:33 [PATCH not for integration] btrfs-devlist: dumps btrfs_device and btrfs_fs_devices from kernel Anand Jain
2014-07-25 12:33 ` [PATCH 1/1] btrfs: introduce BTRFS_IOC_GET_DEVS Anand Jain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).