Illumos #1346: zfs incremental receive may leave behind temporary clones
1356 zfs dataset prefetch code not working Reviewed by: Matthew Ahrens <matt@delphix.com> Reviewed by: Dan McDonald <danmcd@nexenta.com> Approved by: Gordon Ross <gwr@nexenta.com> References to Illumos issue: https://www.illumos.org/issues/1346 https://www.illumos.org/issues/1356 Ported-by: Richard Yao <ryao@cs.stonybrook.edu> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #647
This commit is contained in:
parent
22cd4a4653
commit
7d5cd71da6
|
@ -1923,8 +1923,10 @@ top:
|
|||
uint64_t cookie = 0;
|
||||
int len = sizeof (zc->zc_name) - (p - zc->zc_name);
|
||||
|
||||
while (dmu_dir_list_next(os, len, p, NULL, &cookie) == 0)
|
||||
(void) dmu_objset_prefetch(p, NULL);
|
||||
while (dmu_dir_list_next(os, len, p, NULL, &cookie) == 0) {
|
||||
if (!dataset_name_hidden(zc->zc_name))
|
||||
(void) dmu_objset_prefetch(zc->zc_name, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
do {
|
||||
|
|
Loading…
Reference in New Issue