add primary feature in extendmirror

Signed-off-by: acgtyrant <acgtyrant@gmail.com>