xrep_dir_want_flush_stashed
flush = xrep_dir_want_flush_stashed(rd);
if (xrep_dir_want_flush_stashed(rd)) {