On 2/9/23 01:20, George Valkov wrote: > -#ifdef SEEK_HOLE > +#if defined(SEEK_HOLE) && !defined(__APPLE__) Instead of always disabling the SEEK_HOLE optimization, how about doing it only on APFS files? Something like the attached, perhaps (this is against Savannah master). If APFS is pretty much universal now on Apple platforms, this patch is overkill and we should use your much-simpler patch.