datadir selection policy