Re: inconsistent file placement

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Daniel Taylor wrote:
>> -----Original Message-----
>> From: tytso@xxxxxxx [mailto:tytso@xxxxxxx] 
...

 
>> Speaking of fallocate.... if this is a NAS box than the file is
>> probably written using CIFS, right?  Are you using a modern version of
>> Samba?  
> 
> Currently, we're on 3.2.5 of smdb, but that's because the later versions
> work less well with ext3.  We will be testing them with ext4 now that
> we see the other options it offers.
> 
> Soon as I can get the fallocate utility cross-built, there are some
> experiments that I want to run, but those will take a couple of days.
> 
> Thanks again for all of your help.

http://sandeen.fedorapeople.org/utilities/fallocate.c

should be a simple compilable utility, or if for some reason
you don't have it in your glibc, you can call the syscall directly
with:

http://sandeen.fedorapeople.org/utilities/fallocate-via-syscall.c

(you may need to define SYS_fallocate & massage appropriately
depending on the architecture)

The tool in util-linux-ng is similar, and I think started with
this code, but its a quick hack so look out for bugs ;)

-Eric
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux