• Brian Wood's avatar
    dm: stripe enhanced status return · 4f7f5c67
    Brian Wood authored
    This patch adds additional information to the status line. It is added at the
    end of the returned text so it will not interfere with existing
    implementations using this data. The addition of this information will allow
    for a common return interface to match that returned with the dm-raid1.c
    status line (with Jonathan Brassow's patches).
    
    Here is a sample of what is returned with a mirror "status" call:
    isw_eeaaabgfg_mirror: 0 488390920 mirror 2 8:16 8:32 3727/3727 1 AA 1 core
    
    Here's what's returned with this patch for a stripe "status" call:
    isw_dheeijjdej_stripe: 0 976783872 striped 2 8:16 8:32 1 AA
    Signed-off-by: default avatarBrian Wood <brian.j.wood@intel.com>
    Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
    4f7f5c67
dm-stripe.c 7.24 KB