Re: Ext3: changes to increase the speed?

2007-04-01 Thread Andreas Dilger
the mke2fs is enabling the dir_index feature by default now. This shows dramatic performance improvements with 1 files per directory. Cheers, Andreas -- Andreas Dilger Principal Software Engineer Cluster File Systems, Inc. - To unsubscribe from this list: send the line unsubscribe linux

Re: impact of 4k sector size on the IO FS stack

2007-03-12 Thread Andreas Dilger
determining how many RMW cycles the tail of an average I/O requires. I'd guess a vast majority of IO will have the end similarly misaligned as the start. Very little filesystem IO is 512 bytes, possibly excluding XFS in an unusual mode. Cheers, Andreas -- Andreas Dilger Principal Software Engineer

Re: impact of 4k sector size on the IO FS stack

2007-03-11 Thread Andreas Dilger
. At that point you need to do a tar/untar (or whatever) to copy the data instead of a raw partition copy. Cheers, Andreas -- Andreas Dilger Principal Software Engineer Cluster File Systems, Inc. - To unsubscribe from this list: send the line unsubscribe linux-fsdevel in the body of a message to [EMAIL

Re: [RFC] Heads up on sys_fallocate()

2007-03-02 Thread Andreas Dilger
and it would be useful for files that were not preallocated. For filesystems that don't implement punch glibc() would do zero-filling of the punched area I guess (to make it equivalent to reading from a hole in the file). Cheers, Andreas -- Andreas Dilger Principal Software Engineer Cluster File Systems

Re: end to end error recovery musings

2007-02-23 Thread Andreas Dilger
... Cheers, Andreas -- Andreas Dilger Principal Software Engineer Cluster File Systems, Inc. - To unsubscribe from this list: send the line unsubscribe linux-fsdevel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [RFC][PATCH 2/3] Move the file data to the new blocks

2007-02-07 Thread Andreas Dilger
recently modified (e.g. within the last 30 minutes) in the default case, on the assumption that they might be deleted soon anyways. Cheers, Andreas -- Andreas Dilger Principal Software Engineer Cluster File Systems, Inc. - To unsubscribe from this list: send the line unsubscribe linux-fsdevel

Re: Testing ext4 persistent preallocation patches for 64 bit features

2007-02-07 Thread Andreas Dilger
preallocation via fallocate/ioctl) so that they don't have to zero-fill large files, or is there also automatic preallocation of space to files (e.g. for O_APPEND files)? Cheers, Andreas -- Andreas Dilger Principal Software Engineer Cluster File Systems, Inc. - To unsubscribe from this list: send

Re: [RFC][PATCH 0/3] ext4 online defrag (ver 0.2)

2007-01-19 Thread Andreas Dilger
, not for a directory. So I will use my new ioctl. Though it might make sense to implement FIBMAP for a directory, to keep it consistent and allow user-space tools like filefrag to work on directories also. Cheers, Andreas -- Andreas Dilger Principal Software Engineer Cluster File Systems, Inc

Re: NFSv4/pNFS possible POSIX I/O API standards

2006-12-16 Thread Andreas Dilger
On Dec 15, 2006 14:37 -0800, Ulrich Drepper wrote: Andreas Dilger wrote: IMHO, once part of the information is optional, why bother making ANY of it required? Consider ls -s on a distributed filesystem that has UID+GID mapping. It doesn't actually NEED to return the UID+GID to ls for each

Re: [PATCH/RFC] Delete JFFS (version 1)

2006-12-12 Thread Andreas Dilger
the config help. Cheers, Andreas -- Andreas Dilger Principal Software Engineer Cluster File Systems, Inc. - To unsubscribe from this list: send the line unsubscribe linux-fsdevel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: NFSv4/pNFS possible POSIX I/O API standards

2006-12-06 Thread Andreas Dilger
of readdirplus(), and I think most people agree with that part of it (though there is contention on whether readdirplus() is needed at all). Cheers, Andreas -- Andreas Dilger Principal Software Engineer Cluster File Systems, Inc. - To unsubscribe from this list: send the line unsubscribe linux-fsdevel

Re: NFSv4/pNFS possible POSIX I/O API standards

2006-12-06 Thread Andreas Dilger
, which also depends on st_mode. Cheers, Andreas -- Andreas Dilger Principal Software Engineer Cluster File Systems, Inc. - To unsubscribe from this list: send the line unsubscribe linux-fsdevel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo

Re: readdirplus() as possible POSIX I/O API

2006-12-05 Thread Andreas Dilger
with readdirplus() also allows the filesystem to do the stat() operations in parallel internally (which is a net win if there are many servers involved) instead of serially as the application would do. Cheers, Andreas PS - I changed the topic to separate this from the openfh() thread. -- Andreas

Re: NFSv4/pNFS possible POSIX I/O API standards

2006-12-03 Thread Andreas Dilger
the whole thing to the server and returns everything in one shot. That would imply everything would be at least as up-to-date as the opendir(). Cheers, Andreas -- Andreas Dilger Principal Software Engineer Cluster File Systems, Inc. - To unsubscribe from this list: send the line unsubscribe linux

Re: NFSv4/pNFS possible POSIX I/O API standards

2006-12-02 Thread Andreas Dilger
is a pipe dream. Cheers, Andreas -- Andreas Dilger Principal Software Engineer Cluster File Systems, Inc. - To unsubscribe from this list: send the line unsubscribe linux-fsdevel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: NFSv4/pNFS possible POSIX I/O API standards

2006-11-29 Thread Andreas Dilger
that it is going to be doing this (e.g. ls, GNU rm, find, etc) then why not let the filesystem take advantage of this information? If combined with the statlite interface, it can make a huge difference for clustered filesystems. Cheers, Andreas -- Andreas Dilger Principal Software Engineer Cluster File

Re: NFSv4/pNFS possible POSIX I/O API standards

2006-11-28 Thread Andreas Dilger
welcome putting forth any NFS related ... Strange, group is called HECIWG, website is hecewg? Cheers, Andreas -- Andreas Dilger Principal Software Engineer Cluster File Systems, Inc. - To unsubscribe from this list: send the line unsubscribe linux-fsdevel in the body of a message to [EMAIL

Re: [PATCH] Make journal_commit_transaction() more understandable

2005-08-29 Thread Andreas Dilger
variables defined in only a subset of the function. Could you verify with checkstack that this doesn't hit here? Otherwise we need to move the common journal_head and buffer_head allocations up to the main function declarations. Cheers, Andreas -- Andreas Dilger Principal Software Engineer Cluster

Re: [Ext2-devel] Re: Reviewing ext3 improvement patches (delalloc, mballoc, extents)

2005-03-04 Thread Andreas Dilger
for another EA... Cheers, Andreas -- Andreas Dilger http://sourceforge.net/projects/ext2resize/ http://members.shaw.ca/adilger/ http://members.shaw.ca/golinux/ pgpwmhI74h2Rc.pgp Description: PGP signature

Re: Reviewing ext3 improvement patches (delalloc, mballoc, extents)

2005-03-03 Thread Andreas Dilger
later (if the VFS/VM doesn't discard the whole thing). Cheers, Andreas -- Andreas Dilger http://sourceforge.net/projects/ext2resize/ http://members.shaw.ca/adilger/ http://members.shaw.ca/golinux/ pgpFS2T2LxOPJ.pgp Description: PGP signature

Re: [PATCH] Allow kernel-only mount interfaces...

2005-02-10 Thread Andreas Dilger
); + put_filesystem(type); + return mnt; +} This will OOPS if fstype is bad, since you unconditionally put_filesystem() on a possible PTR_ERR() type. You need an extra if (!IS_ERR(type)) put_filesystem(type); Cheers, Andreas -- Andreas Dilger http://sourceforge.net/projects

Re: ext3 writepages ?

2005-02-07 Thread Andreas Dilger
, it might reduce the CPU usage. Did you check that at all? Cheers, Andreas -- Andreas Dilger http://sourceforge.net/projects/ext2resize/ http://members.shaw.ca/adilger/ http://members.shaw.ca/golinux/ pgpN4R7lZWxgG.pgp Description: PGP signature

Re: Why side-effects on open(2) are evil. (was Re: [RFD w/info-PATCH]devicearguments from lookup)

2001-05-24 Thread Andreas Dilger
an in-use filesystem is too twisted and dangerous, IMHO, and a huge amount of effort for an extremely rare situation). Cheers, Andreas -- Andreas Dilger \ If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry? http://www

Re: Why side-effects on open(2) are evil. (was Re: [RFD w/info-PATCH]devicearguments from lookup)

2001-05-24 Thread Andreas Dilger
Malcolm Beattie writes: Andreas Dilger writes: PS - I used to think shrinking a filesystem online was useful, but there are a huge amount of problems with this and very few real-life benefits, as long as you can at least do offline shrinking. With proper LVM usage

Re: ext3 for 2.4

2001-05-17 Thread Andreas Dilger
a global search-and-replace for all of the jfs_* functions, and rename them jbd_*, to avoid conflicts with IBM JFS. Cheers, Andreas -- Andreas Dilger \ If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry? http://www

Re: SV: Ext3 destroying ownerships and permissions

2001-05-09 Thread Andreas Dilger
owner. Any chance that the machines have been cracked, and people are playing games with the system? Unlikely, but possible. Cheers, Andreas -- Andreas Dilger \ If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry? http://www

Re: patch of the day

2001-05-08 Thread Andreas Dilger
Andrew writes: Andreas Dilger wrote: I still don't agree. If they are contiguous in the file (even if we have 32 filesystem blocks in a page, then we are still only dirtying a limited number of indirect blocks (5). Yes, we can dirty up to 32 block bitmaps, 32 group descriptors, and 32

Re: freeing, allocating and free blocks in Ext3

2001-05-01 Thread Andreas Dilger
could have corruption after a crash. If they are not handled correctly, this would eventually this would lead to overflows on a long-running filesystem and I doubt that happens. Cheers, Andreas -- Andreas Dilger Turbolinux filesystem development http://sourceforge.net

Re: 64-bit block sizes on 32-bit systems

2001-03-26 Thread Andreas Dilger
to only do 4kB block I/O on top of these devices (not much of an issue for such large devices). Still, this is just a stop-gap measure because next year people will want 16TB devices, and there won't be an easy way to do this. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of

Possible to have finitrd with pivot_root?

2001-03-26 Thread Andreas Dilger
ion I have read about problems with clean shutdown of a subsystem that is used for rootfs, and finitrd would be a nice way to do so, if possible. Comments? Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel o

Re: [RFC] sane access to per-fs metadata (was Re: [PATCH] Documentation/ioctl-number.txt)

2001-03-23 Thread Andreas Dilger
Al writes: On Thu, 22 Mar 2001, Andreas Dilger wrote: I look forward to seeing the ext2 code. I was just in the process of adding ioctls to ext3 to do online resizing within transactions. Maybe I'll rather use this interface if it looks good. Will it work on 2.2, or does it depend too

Re: (struct dentry *)-vfsmnt;

2001-03-14 Thread Andreas Dilger
, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert - To unsubscribe from this list: send the line "un

Re: (struct dentry *)-vfsmnt;

2001-03-13 Thread Andreas Dilger
? The one that calls the "read_super" method. AFAICT, only the first mount calls down to the FS anyways (the rest is VFS internal). Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him

Re: (struct dentry *)-vfsmnt;

2001-03-13 Thread Andreas Dilger
Al, you write: On Tue, 13 Mar 2001, Andreas Dilger wrote: "/mnt" from the first mount. If it comes to the point where I can get that, then I will start to worry about "mount --bind". This is to store in the ext2 on-disk superblock, which is currently always (from

Re: (struct dentry *)-vfsmnt;

2001-03-13 Thread Andreas Dilger
E). Would it be possible to put a valid vfsmnt pointer in kern_mnt for non-FS_SINGLE filesystems? Would only the vfsmnt information (maybe d_path(kern_mnt, kern_mnt-mnt_mountpoint, buf, buflen)) be enough to determine the pathname of the filesystem mount point? Cheers, Andreas -- Andr

Re: Q: EXT2 on 2.2.18 can't handle EXT2 on 2.4 ?

2001-03-09 Thread Andreas Dilger
-- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert - To unsubscribe from this list: send the line "unsubscrib

Re: [Ext2-devel] [PATCH][RFC] attribute checking

2001-02-23 Thread Andreas Dilger
Stephen, you write: On Fri, Feb 23, 2001 at 01:20:40AM -0700, Andreas Dilger wrote: At some time in the recent past, I was looking at the attribute checking in ext2, and the following (ugly) piece of code didn't make sense. ext2_notify_change isn't used in 2.4. It used to be unused

How to find mountpoint at fs mount time?

2001-02-22 Thread Andreas Dilger
ck but you know that someone will want to dereference it later anyways when it is invalid. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalga

Re: Extended Attributes: Third revised proposal

2001-02-20 Thread Andreas Dilger
"class" (i.e. leading character) than other EAs. This was with the intention of defining that class as "do not copy" when it became an issue. This would solve the problem immediately. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta

Re: [lvm-devel] *** ANNOUNCEMENT *** LVM 0.9.1 beta5 available at www.sistina.com

2001-02-20 Thread Andreas Dilger
broken in other ways). Heinz decided to update the IOP instead. Note that with the new library build, it is possible to have multiple IOP tools installed at the same time, and the correct ones are chosen at runtime based on the kernel IOP. Cheers, Andreas -- Andreas Dilger \ "If a man ate a

Re: e2fsprogs-1.19 for v. old ext2 ?

2001-01-22 Thread Andreas Dilger
because the layout of the filesystem itself hasn't really changed. Note that you should build mke2fs on this older system, and it will turn off the defaults for creating new filesystems with features enabled. -- Andreas Dilger \ "If a man ate a pound of pasta and a pou

[PATCH] ext2 COMPAT flag fixup

2000-11-22 Thread Andreas Dilger
descriptors per block */ unsigned long s_groups_count; /* Number of groups in the fs */ struct buffer_head * s_sbh; /* Buffer containing the super block */ @@ -57,9 +57,6 @@ int s_desc_per_block_bits; int s_inode_size; int s_first_ino; - int

Re: question about ext3 journal outside the fs block device

2000-11-06 Thread Andreas Dilger
size of the device. With something like LVM, there is no problem making a logical device of any given size. The journal will be identified in the filesystem by the journal_uuid, and the journal will identify different client filesystems by the ext2 uuid. Cheers, Andreas -- Andreas Dilger

Re: nesting transactions

2000-10-28 Thread Andreas Dilger
changes are bundled with the start of the truncate/unlink, where the inode information is changed. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.u

Re: [PATCH] NFS revalidate with filesystem

2000-09-27 Thread Andreas Dilger
for NFS exporting a cluster filesystem are many - NFS clients are available for lots of platforms, some cluster filesystems only work well tightly coupled, you want an HA NFS server, you want an incrementally scalable NFS server, or some combination of these. Cheers, Andreas -- Andreas Dilger

<    1   2