Changed priority calculation (zfs and shares)