dorimanx / exfat-nofuse

Android ARM Linux non-fuse read/write kernel driver for exFat and VFat Android file systems
GNU General Public License v2.0
710 stars 326 forks source link

no fallocate operation support? #99

Open lintel opened 7 years ago

lintel commented 7 years ago

Hi,guys. Does exfat-nofuse can support linux fallocate or posix fallocate operation?

Here is some patches for linux vfat support fallocate: https://patchwork.kernel.org/patch/1589161/

ehem commented 7 years ago

Are you interested in the ftruncate() operation? The fallocate() operation?

These are two distinct operations. ftruncate() is simply set the size of file X to Y; whereas fallocate() is set the size of file X to Y and ensure space is allocated so subsequent writes will not fail.

dorimanx commented 7 years ago

I was about to close the issue with "closing old requests." Lets wait for answer for few days...

lintel commented 7 years ago

Sorry for my mistake, I found some problem with samba(strict allocate = yes) for exFAT/vFAT system, because lost fallocate syscall on exFAT/vFAT partitions.