If so, that sounds unfortunate for those who want to copy larger files over cifs, or those who have limited network bandwidth for such operations. On my testing I found that I could specify a file length larger than the max file length and it worked properly without EIO.īut will this also mean that copies will never be made server side, resulting in PHP reading the source file over the network and writing it back over the network? Actually, I did find that it depends on the server. Note: Any data outside '/home' is not persistedĭoes this mean that PHP will always try to copy_file_range() on cifs with length cfr_max, fail with EIO and then fall back to "classic copying"? I like that it will work, which is the most important improvement for me (so Wordpress can update itself in an Azure Web App). on /home type cifs (rw,relatime,vers=default,cache=strict,username=dummyadmin_.,domain=,uid=0,noforceuid,gid=0,noforcegid,addr=10.0.0.1,file_mode=0777,dir_mode=0777,soft,nounix,mapposix,mfsymlinks,noperm,rsize=1048576,wsize=1048576,echo_interval=60,actimeo=1) proc/fs/cifs/DebugData:Features: DFS,FSCACHE,STATS,DEBUG,ALLOW_INSECURE_LEGACY,WEAK_PW_HASH,CIFS_POSIX,UPCALL(SPNEGO),XATTR,ACL proc/fs/cifs/DebugData:CIFS Version 2.10 # egrep '(Version|Features)' /proc/fs/cifs/DebugData With Zend OPcache v8.2.0, Copyright (c), by Zend Technologies Zend Engine v4.2.0, Copyright (c) Zend Technologies
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |