xseg: Support X_DISCARD operation