The gpfs:recalls=no option should prevent data access to offline files. With the switch to use pathref handles in many places, this now also prevents the openat_pathref_fsp during the directory listing. Patch to follow.
This bug was referenced in samba master: 03d0dd2651c9e6552d6c3d9513810e581339ac08
Created attachment 17278 [details] Patch for 4.16
Created attachment 17279 [details] Patch for 4.15
Reassigning to Jule for inclusion in 4.15 and 4.16.
Pushed to autobuild-v4-{16,15}-test.
This bug was referenced in samba v4-15-test: aa6022dd2225705684d305a8d5d058e869d366f9
This bug was referenced in samba v4-16-test: 09b07aec70265812d4628097b8df3eec68294a16
Closing out bug report. Thanks!
This bug was referenced in samba v4-16-stable (Release samba-4.16.1): 09b07aec70265812d4628097b8df3eec68294a16
This bug was referenced in samba v4-15-stable (Release samba-4.15.8): aa6022dd2225705684d305a8d5d058e869d366f9