[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Tue, 06 Jul 2010 21:29:53 -0500
From: Eric Sandeen <sandeen@...hat.com>
To: Daniel Taylor <Daniel.Taylor@....com>
CC: tytso@....edu, amir73il@...il.com, linux-ext4@...r.kernel.org
Subject: Re: inconsistent file placement
Daniel Taylor wrote:
>> -----Original Message-----
>> From: tytso@....edu [mailto:tytso@....edu]
...
>> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists