Version 2.01.15 -
=================================
+ Don't hide snapshots from default 'lvs' output.
Add is_dm_major() for use in duplicate device detection in lvmcache_add().
Really switch device number in lvmcache when it says it is doing so.
Option for bitset memory allocation using malloc as well as pool.
char *repstr;
size_t len;
- if (lv->status & VISIBLE_LV) {
+ /* FIXME Remove need for snapshot special case */
+ if (lv->status & VISIBLE_LV || lv_is_cow(lv)) {
repstr = lv->name;
return _string_disp(rh, field, &repstr);
}
static int _lvs_single(struct cmd_context *cmd, struct logical_volume *lv,
void *handle)
{
- if (!arg_count(cmd, all_ARG) && !(lv->status & VISIBLE_LV))
+ /* FIXME Avoid snapshot special-case */
+ if (!arg_count(cmd, all_ARG) && !(lv->status & VISIBLE_LV) &&
+ !(lv_is_cow(lv)))
return ECMD_PROCESSED;
if (!report_object(handle, lv->vg, lv, NULL, NULL, NULL))