Re: Cross-referencing frenzy

2001-04-18 Thread Andreas Dilger
able it sometimes when I'm doing ext2 development, but it may not be worthy of a separate config option that 99.9% of people will just be confused about. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leavin

Re: Cross-referencing frenzy

2001-04-18 Thread Andreas Dilger
but it may not be worthy of a separate config option that 99.9% of people will just be confused about. 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.ene

Re: lilo + raid + kernel-2.4.x failure to boot

2001-04-16 Thread Andreas Dilger
blem. Note, can you boot from one of the separate RAID drives with the Debian LILO directly? Have you tried CHS, LBA32, and linear options to lilo? Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out

Re: Ext2 Directory Index - File Structure

2001-04-16 Thread Andreas Dilger
is possible (I'm not sure how, maybe a hashed per-super cache?) you could keep a pointer to the first free entry in a directory, along with the dentry size and the mtime of the directory. You could use this cache at dentry insertion time (validating it by size and directory mtime). If the cache entry

Re: Ext2 Directory Index - File Structure

2001-04-16 Thread Andreas Dilger
fall back to linear search again. http://kernelnewbies.org/~phillips/htree/dx.testme.2.4.3-2 Good. You have version numbers for the patches now... Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, le

Re: lilo + raid + kernel-2.4.x failure to boot

2001-04-16 Thread Andreas Dilger
e separate RAID drives with the Debian LILO directly? Have you tried CHS, LBA32, and linear options to lilo? 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-md

Re: Ext2 Directory Index - File Structure

2001-04-15 Thread Andreas Dilger
uthority on this). The kernel ext2_fs.h is out of date compared to the one in e2fsprogs. The EXT3_FEATURE_COMPAT_HAS_JOURNAL and EXT2_FEATURE_COMPAT_IMAGIC_INODES is missing from the kernel header. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,

Re: Ext2 Directory Index - File Structure

2001-04-15 Thread Andreas Dilger
e compared to the one in e2fsprogs. The EXT3_FEATURE_COMPAT_HAS_JOURNAL and EXT2_FEATURE_COMPAT_IMAGIC_INODES is missing from the kernel header. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him stil

Re: Ext2 Directory Index - File Structure

2001-04-13 Thread Andreas Dilger
that case, how do we make e2fsck create indexes for old filesystems when the DIR_INDEX compat flag is turned on in the superblock? 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?"

Re: Ext2 Directory Index - File Structure

2001-04-13 Thread Andreas Dilger
on in the superblock? 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.ucalgary.ca/People/adilger/ -- Dogbert - To unsubscribe

Re: [CFT][PATCH] Re: Fwd: Re: memory usage - dentry_cache

2001-04-12 Thread Andreas Dilger
e situation you describe (i.e. negative count). I first thought this was a bug, but then realized for priority 0 (i.e. highest priority) we want to check the whole dentry_unused list for unreferenced dentries. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound

Re: Fwd: Re: memory usage - dentry_cacheg

2001-04-12 Thread Andreas Dilger
ly better. Yes, it appears that this would be a bug. We were only _checking_ "count" dentries, rather than pruning "count" dentries. Testing continues. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would t

Re: Fwd: Re: memory usage - dentry_cacheg

2001-04-12 Thread Andreas Dilger
, it appears that this would be a bug. We were only _checking_ "count" dentries, rather than pruning "count" dentries. Testing continues. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leavin

Re: [CFT][PATCH] Re: Fwd: Re: memory usage - dentry_cache

2001-04-12 Thread Andreas Dilger
was a bug, but then realized for priority 0 (i.e. highest priority) we want to check the whole dentry_unused list for unreferenced dentries. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him stil

Re: Fwd: Re: memory usage - dentry_cacheg

2001-04-11 Thread Andreas Dilger
es floating around on l-k which addressed these issues. Seems it is time to try them out, which I hadn't before because I wasn't having any problems myself until now. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they

[PATCH] comments about conflicting SCSI/CDROM ioctls

2001-04-10 Thread Andreas Dilger
SCSI_IOCTL_GET_IDLUN 0x5382/* conflicts with CDROMAUDIOBUFSIZ */ /* Used to turn on and off tagged queuing for scsi devices */ -- Andreas Dilger TurboLabs filesystem development - To unsubscribe from this list: send the line "unsubscribe linux-kernel" i

[PATCH] register ioctl number of LVM

2001-04-10 Thread Andreas Dilger
+ +0xFE 00-9F Logical Volume Manager <mailto:[EMAIL PROTECTED]> -- 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/

[PATCH] minor PCI fixup

2001-04-10 Thread Andreas Dilger
]); + pdev[2] = pci_find_device(PCI_VENDOR_ID_ARTOP,devid[h],pdev[2]); if (pdev[2] == NULL || pci_enable_device(pdev[2])) { h++; index = 0; -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of anti

Re: Ext2 Directory Index - File Structure

2001-04-10 Thread Andreas Dilger
n a user has a partition > that's 100% full. Yes, I was basically thinking that index creation would be done after the rest of the filesystem had already been checked and was in a valid state. This is really the only safe time to do it. I suppose the index checking itself could b

Re: Ext2 Directory Index - File Structure

2001-04-10 Thread Andreas Dilger
suppose the index checking itself could be done at that time as well. 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.ucalgary.ca/People/adilger/

[PATCH] minor PCI fixup

2001-04-10 Thread Andreas Dilger
]); + pdev[2] = pci_find_device(PCI_VENDOR_ID_ARTOP,devid[h],pdev[2]); if (pdev[2] == NULL || pci_enable_device(pdev[2])) { h++; index = 0; -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of anti

[PATCH] register ioctl number of LVM

2001-04-10 Thread Andreas Dilger
Logical Volume Manager mailto:[EMAIL PROTECTED] -- 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 unsubs

[PATCH] comments about conflicting SCSI/CDROM ioctls

2001-04-10 Thread Andreas Dilger
SCSI_IOCTL_GET_IDLUN 0x5382/* conflicts with CDROMAUDIOBUFSIZ */ /* Used to turn on and off tagged queuing for scsi devices */ -- Andreas Dilger TurboLabs filesystem development - To unsubscribe from this list: send the line "unsubscribe linux-kernel" i

Re: linux/scsi

2001-04-09 Thread Andreas Dilger
y (dynamic loading of backends (i.e. "device drivers"), network device access, GUI/text front ends, etc). I believe it is also being used for other high-end image acquisition devices, not just scanners. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound

Re: [RFC] Ext2 Directory Index - File Structure

2001-04-09 Thread Andreas Dilger
uot;)? Namely, don't all directories get an index block (especially those growing larger than 1 block), or do you need to "chattr" each directory which will get an index? If e2fsck gets into the picture with a COMPAT flag, I would think it will build an index for any directory larger than 1 block (

Re: [RFC] Ext2 Directory Index - File Structure

2001-04-09 Thread Andreas Dilger
ter we grow past 1 block")? Namely, don't all directories get an index block (especially those growing larger than 1 block), or do you need to "chattr" each directory which will get an index? If e2fsck gets into the picture with a COMPAT flag, I would think it will build an index for a

Re: linux/scsi

2001-04-09 Thread Andreas Dilger
(i.e. "device drivers"), network device access, GUI/text front ends, etc). I believe it is also being used for other high-end image acquisition devices, not just scanners. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,

Re: [PATCH] Revised memory-management stuff

2001-04-05 Thread Andreas Dilger
ys that processes inherit or drop other priveleges (i.e. capabilities), so no point in inventing something new. I just wanted to point out that not everything should inherit this. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,

Re: syslog insmod please!

2001-04-05 Thread Andreas Dilger
ll stay in kernel memory until it is flushed out with more messages (which itself might be detectable). 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://w

Re: syslog insmod please!

2001-04-05 Thread Andreas Dilger
with more messages (which itself might be detectable). 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.ucalgary.ca/People/adilger/

Re: [PATCH] Revised memory-management stuff

2001-04-05 Thread Andreas Dilger
spawns would inherit this trait. There are probably standard ways that processes inherit or drop other priveleges (i.e. capabilities), so no point in inventing something new. I just wanted to point out that not everything should inherit this. Cheers, Andreas -- Andreas Dilger \ "If a man ate a p

Re: [PATCH] Revised memory-management stuff (was: OOM killer)

2001-04-04 Thread Andreas Dilger
the memory on a 1GB machine. However, there was also a patch to fix for this posted to this list recently. PPS - can you try and keep comments within 80 columns? -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leavin

Re: [PATCH] Revised memory-management stuff (was: OOM killer)

2001-04-04 Thread Andreas Dilger
re was also a patch to fix for this posted to this list recently. PPS - can you try and keep comments within 80 columns? -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http

Re: Question about SysRq

2001-04-03 Thread Andreas Dilger
t. Actually, this is not true. Reiserfs will only prevent corruption of the filesystem metadata. It does not guarantee that the file contents are valid if they are being changed when the system crashes. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of a

Re: Question about SysRq

2001-04-03 Thread Andreas Dilger
. Reiserfs will only prevent corruption of the filesystem metadata. It does not guarantee that the file contents are valid if they are being changed when the system crashes. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they c

Re: Cool Road Runner

2001-03-30 Thread Andreas Dilger
ction of slaves. See: http://marc.theaimsgroup.com/?l=linux-kernel=98580536318380=4 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.ucalgary.ca/Pe

Re: Cool Road Runner

2001-03-30 Thread Andreas Dilger
See: http://marc.theaimsgroup.com/?l=linux-kernelm=98580536318380w=4 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.ucalgary.ca/People/adilger/

Re: Bug in the file attributes ?

2001-03-29 Thread Andreas Dilger
hy do such a thing? If you have group/world write permission on a directory, then people who have write permission to the _directory_ should be able to delete files even if they don't own them. However, if you set the "sticky" bit on the directory (chmod +t /dir), then only the owner of

Re: Bug in the file attributes ?

2001-03-29 Thread Andreas Dilger
eople who have write permission to the _directory_ should be able to delete files even if they don't own them. However, if you set the "sticky" bit on the directory (chmod +t /dir), then only the owner of the file can delete it, like in /tmp. Cheers, Andreas -- Andreas Dilger \ "If a m

Re: OOM killer???

2001-03-28 Thread Andreas Dilger
Szaka writes: > On Tue, 27 Mar 2001, Andreas Dilger wrote: > > Every time this subject comes up, I point to AIX and SIGDANGER - a signal > > sent to processes when the system gets OOM. > > And every time the SIGDANGER comes up, the issue that AIX provides > *both* e

Re: OOM killer???

2001-03-28 Thread Andreas Dilger
Szaka writes: On Tue, 27 Mar 2001, Andreas Dilger wrote: Every time this subject comes up, I point to AIX and SIGDANGER - a signal sent to processes when the system gets OOM. And every time the SIGDANGER comes up, the issue that AIX provides *both* early and late allocation mechanism

Re: OOM killer???

2001-03-27 Thread Andreas Dilger
that programs which register SIGDANGER handlers are important, rather than malicious (in which case your system has other problems). Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out,

Re: OOM killer???

2001-03-27 Thread Andreas Dilger
NGER handlers are important, rather than malicious (in which case your system has other problems). 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.uc

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

2001-03-26 Thread Andreas Dilger
bit unsigned ints for block numbers. Of course, you would need 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

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

Re: [linux-lvm] EXT2-fs panic (device lvm(58,0)):

2001-03-23 Thread Andreas Dilger
Al writes: > On Thu, 22 Mar 2001, Andreas Dilger wrote: > > If this is the case, then all of the other zero initializations can be > > removed as well. I figured that if most of the fields were being > > zeroed, then ones _not_ being zeroed would lead to this problem.

Re: [linux-lvm] EXT2-fs panic (device lvm(58,0)):

2001-03-23 Thread Andreas Dilger
Al writes: On Thu, 22 Mar 2001, Andreas Dilger wrote: If this is the case, then all of the other zero initializations can be removed as well. I figured that if most of the fields were being zeroed, then ones _not_ being zeroed would lead to this problem. Other zero

Re: [linux-lvm] EXT2-fs panic (device lvm(58,0)):

2001-03-22 Thread Andreas Dilger
Al Viro writes: > On Fri, 23 Mar 2001, Stephen C. Tweedie wrote: > > On Wed, Mar 07, 2001 at 01:35:05PM -0700, Andreas Dilger wrote: > > > The only remote possibility is in ext2_free_blocks() if block+count > > > overflows a 32-bit unsigned value. Only 2 p

Re: [linux-lvm] EXT2-fs panic (device lvm(58,0)):

2001-03-22 Thread Andreas Dilger
Al Viro writes: On Fri, 23 Mar 2001, Stephen C. Tweedie wrote: On Wed, Mar 07, 2001 at 01:35:05PM -0700, Andreas Dilger wrote: The only remote possibility is in ext2_free_blocks() if block+count overflows a 32-bit unsigned value. Only 2 places call ext2_free_blocks() with a count

Re: ext2_unlink fun

2001-03-21 Thread Andreas Dilger
Mohammad A. Haque writes: > On Wed, 21 Mar 2001, Andreas Dilger wrote: > > It appears a reasonable spot to get the EIO from is in ext2_delete_entry() > > where we are validating the de in ext2_check_dir_entry(). Can you check > > your syslog for any

Re: ext2_unlink fun

2001-03-21 Thread Andreas Dilger
iles? This may help to identify what is wrong with the files that e2fsck isn't fixing. 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.ucalgary.ca/P

Re: Question about memory usage in 2.4 vs 2.2

2001-03-21 Thread Andreas Dilger
of objects per page, and if there are any whole pages without allocated objects. 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.ucalgary.ca/People/adi

Re: spinlock usage - ext2_get_block, lru_list_lock

2001-03-21 Thread Andreas Dilger
Mitchell Blank, Jr. writes: > Andreas Dilger wrote: > > With per-group (or maybe per-bitmap) locking, files could be created in > > parallel with only a small amount of global locking if they are in different > > groups. > > ...and then we can let the disc go nuts see

Re: spinlock usage - ext2_get_block, lru_list_lock

2001-03-21 Thread Andreas Dilger
he deltas from the groups to the superblock on sync or similar. This would reduce lock contention on the superblock lock a great deal. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving

Re: spinlock usage - ext2_get_block, lru_list_lock

2001-03-21 Thread Andreas Dilger
. This would reduce lock contention on the superblock lock a great deal. 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.ucalgary.ca/People/adi

Re: spinlock usage - ext2_get_block, lru_list_lock

2001-03-21 Thread Andreas Dilger
Mitchell Blank, Jr. writes: Andreas Dilger wrote: With per-group (or maybe per-bitmap) locking, files could be created in parallel with only a small amount of global locking if they are in different groups. ...and then we can let the disc go nuts seeking to actually commit all

Re: Question about memory usage in 2.4 vs 2.2

2001-03-21 Thread Andreas Dilger
without allocated objects. 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.ucalgary.ca/People/adilger/ -- Dogbert - To unsubscribe from

Re: [Fwd: Problem with file => 2GB]

2001-03-19 Thread Andreas Dilger
read() > > function... it seems that loop device under linux didn't work against => 2gb > > files ? There is a bug in 2.4.2 with the loop device, which is fixed in -ac series. Also, I don't think it is possible to use > 2GB for loop (or at least that used to be the case). Che

Re: [CHECKER] question about functions that can fail

2001-03-19 Thread Andreas Dilger
hat said, I'm guessing the 1 time the return value isn't checked is a bug. It appears to be in fs/proc/inode.c, and the parse_options() there _does_ return 1 on error (unknown mount option), so we _should_ probably fail mounting /proc in that case. Cheers, Andreas -- Andreas Dilger \ &q

Re: [CHECKER] 120 potential dereference to invalid pointers errors forlinux 2.4.1

2001-03-19 Thread Andreas Dilger
yet exist): else if ((busy = kmalloc(sizeof(erase_busy_t), GFP_KERNEL)) == NULL) erase->State = ERASE_BAD_KMALLOC; else { erase->State = 1; ... } Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of

Re: [CHECKER] 120 potential dereference to invalid pointers errors forlinux 2.4.1

2001-03-19 Thread Andreas Dilger
1; ... } 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.ucalgary.ca/People/adilger/ -- Dogbert - To unsubsc

Re: [CHECKER] question about functions that can fail

2001-03-19 Thread Andreas Dilger
the 1 time the return value isn't checked is a bug. It appears to be in fs/proc/inode.c, and the parse_options() there _does_ return 1 on error (unknown mount option), so we _should_ probably fail mounting /proc in that case. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pa

Re: [Fwd: Problem with file = 2GB]

2001-03-19 Thread Andreas Dilger
ice, which is fixed in -ac series. Also, I don't think it is possible to use 2GB for loop (or at least that used to be the case). Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hung

Re: [sligthly OT] serial console on palm

2001-03-18 Thread Andreas Dilger
turing OOPSes or so. If someone had a two-way console for the Palm, it would be great. Sorry, no URL, but you _should_ be able to find it in l-k archives. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out,

Re: [sligthly OT] serial console on palm

2001-03-18 Thread Andreas Dilger
PSes or so. If someone had a two-way console for the Palm, it would be great. Sorry, no URL, but you _should_ be able to find it in l-k archives. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him stil

Re: [util-linux] Re: magic device renumbering was -- Re: Linux 2.4.2ac20

2001-03-15 Thread Andreas Dilger
tions, mountpoint could come from either /etc/fstab or from the command-line, since mount(8) is already parsing all of this info. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungr

Re: [util-linux] Re: magic device renumbering was -- Re: Linux 2.4.2ac20

2001-03-15 Thread Andreas Dilger
e. The proposed solution would be to have mount(8) write the mount info to the disk (for logical volumes only, of course) at mount time. I suppose the fs type, options, mountpoint could come from either /etc/fstab or from the command-line, since mount(8) is already parsing all of this info. C

Re: (struct dentry *)->vfsmnt;

2001-03-14 Thread Andreas Dilger
modifications for vgname and mountpoint). 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.ucalgary.ca/People/adilger/ -- Dogbe

Re: (struct dentry *)->vfsmnt;

2001-03-14 Thread Andreas Dilger
LVM instead of every individual > file system. So you are saying that mount(8) writes into a field in the LVM LVCB or something? Might be possible on Linux LVM as well... Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ w

Re: magic device renumbering was -- Re: Linux 2.4.2ac20

2001-03-14 Thread Andreas Dilger
into LVM, which also makes it (along with filesystems other than ext2) immune from the nasty device name changes. 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://ww

Re: magic device renumbering was -- Re: Linux 2.4.2ac20

2001-03-14 Thread Andreas Dilger
able label... Works OK for ext2 only. I'm still waiting on the reiserfs folks to add a UUID and LABEL to their superblock. However, for raw partitions, you will need to use LVM to get rename-safe device labels. You probably want LVM anyways, if you have 40 disks... Cheers, Andreas -- Andreas Dilger

Re: (struct dentry *)->vfsmnt;

2001-03-14 Thread Andreas Dilger
Al writes: > On Wed, 14 Mar 2001, Andreas Dilger wrote: > > The AIX vgimport will not corrupt /etc/fstab with duplicate mounts, nor for > > that matter with duplicate LV names (AIX has a single namespace for all LVs). > > If a conflict is found with an LV name, a new nam

Re: (struct dentry *)->vfsmnt;

2001-03-14 Thread Andreas Dilger
er of a single "d_path()" call at mount (or remount for R/O mounted filesystems), so it is not like it's going to slow down the system a lot. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving h

Re: (struct dentry *)->vfsmnt;

2001-03-14 Thread Andreas Dilger
Al writes: > On Tue, 13 Mar 2001, Andreas Dilger wrote: > > > On AIX, it is possible to import a volume group, and it automatically > > builds /etc/fstab entries from information stored in the fs. Having the > > "last mounted on" would have the mount point info

Re: magic device renumbering was -- Re: Linux 2.4.2ac20

2001-03-14 Thread Andreas Dilger
on the reiserfs folks to add a UUID and LABEL to their superblock. However, for raw partitions, you will need to use LVM to get rename-safe device labels. You probably want LVM anyways, if you have 40 disks... Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of anti

Re: magic device renumbering was -- Re: Linux 2.4.2ac20

2001-03-14 Thread Andreas Dilger
, which also makes it (along with filesystems other than ext2) immune from the nasty device name changes. 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?"

Re: (struct dentry *)-vfsmnt;

2001-03-14 Thread Andreas Dilger
Al writes: On Wed, 14 Mar 2001, Andreas Dilger wrote: The AIX vgimport will not corrupt /etc/fstab with duplicate mounts, nor for that matter with duplicate LV names (AIX has a single namespace for all LVs). If a conflict is found with an LV name, a new name like "lv01" is used

Re: (struct dentry *)-vfsmnt;

2001-03-14 Thread Andreas Dilger
/O mounted filesystems), so it is not like it's going to slow down the system a lot. 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: (struct dentry *)-vfsmnt;

2001-03-14 Thread Andreas Dilger
Al writes: On Tue, 13 Mar 2001, Andreas Dilger wrote: On AIX, it is possible to import a volume group, and it automatically builds /etc/fstab entries from information stored in the fs. Having the "last mounted on" would have the mount point info, and of course LVM

Re: (struct dentry *)-vfsmnt;

2001-03-14 Thread Andreas Dilger
of every individual file system. So you are saying that mount(8) writes into a field in the LVM LVCB or something? Might be possible on Linux LVM as well... Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, le

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 superbloc

Re: ln -l says symlink has size 281474976710666

2001-03-13 Thread Andreas Dilger
ix this problem - it is impossible for a symlink to be larger than a single block, so the i_size_high field should always be zero. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving h

Re: (struct dentry *)->vfsmnt;

2001-03-13 Thread Andreas Dilger
orry about "mount --bind". This is to store in the ext2 on-disk superblock, which is currently always (from dumpe2fs -h /dev/hdX): Last mounted on: To be able to put _something_ there will suit my needs. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a

Re: (struct dentry *)->vfsmnt;

2001-03-13 Thread Andreas Dilger
ny good). How about the first one? 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

Re: (struct dentry *)->vfsmnt;

2001-03-13 Thread Andreas Dilger
th(kern_mnt, kern_mnt->mnt_mountpoint, buf, buflen)) be enough to determine the pathname of the filesystem mount point? 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?"

Re: ln -l says symlink has size 281474976710666

2001-03-13 Thread Andreas Dilger
course e2fsck would help as well. Were these newly created inodes, or existing ones? If you shutdown and restart, does it go away? Anything in syslog about ext2 warnings or errors? Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,

Re: ln -l says symlink has size 281474976710666

2001-03-13 Thread Andreas Dilger
these newly created inodes, or existing ones? If you shutdown and restart, does it go away? Anything in syslog about ext2 warnings or errors? Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him

Re: ln -l says symlink has size 281474976710666

2001-03-13 Thread Andreas Dilger
ngle block, so the i_size_high field should always be zero. 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.ucalgary.ca/People/adilger/

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: (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
in the ext2 on-disk superblock, which is currently always (from dumpe2fs -h /dev/hdX): Last mounted on: not available To be able to put _something_ there will suit my needs. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,

Re: linux localization

2001-03-12 Thread Andreas Dilger
console i18n? TurboLinux has a kernel patch (2.2) for Unicode support on the console (with CJK input): http://www.turbolinux.com.cn/TLDN/chinese/project/unicon/ Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out,

Re: linux localization

2001-03-12 Thread Andreas Dilger
? TurboLinux has a kernel patch (2.2) for Unicode support on the console (with CJK input): http://www.turbolinux.com.cn/TLDN/chinese/project/unicon/ Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him

Re: lvm - lvm_map access beyond end of device

2001-03-08 Thread Andreas Dilger
inode->i_ino, bh->b_blocknr, nr, tmp); + *err = -EIO; + return NULL; + } if (tmp) { result = getblk (bh->b_dev, tmp, blocksize); if (tmp == le32_to_cpu(*p)) { -- Andreas Dilger \ &

Re: kernel BUG doing sysrq-t on 2.4.2-ac14

2001-03-08 Thread Andreas Dilger
" > [< c0109557>] kernel BUG at printk.c:327! It may be that if the tasklist is too long, and it runs with interrupts disabled, that this will trigger the NMI watchdog timer. Since I don't know anything about the console, I can't help. Cheers, Andreas -- Andreas Dilger \

Re: kernel BUG doing sysrq-t on 2.4.2-ac14

2001-03-08 Thread Andreas Dilger
[ c0109557] kernel BUG at printk.c:327! It may be that if the tasklist is too long, and it runs with interrupts disabled, that this will trigger the NMI watchdog timer. Since I don't know anything about the console, I can't help. Cheers, Andreas -- Andreas Dilger \ "If a man ate a

Re: lvm - lvm_map access beyond end of device

2001-03-08 Thread Andreas Dilger
tblk (bh-b_dev, tmp, blocksize); if (tmp == le32_to_cpu(*p)) { -- 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/ -- Dogbe

Re: [linux-lvm] EXT2-fs panic (device lvm(58,0)):

2001-03-07 Thread Andreas Dilger
Mar 7 12:05:47 2001 @@ -1048,6 +1038,8 @@ (((__u64)le32_to_cpu(raw_inode->i_size_high)) << 32); } inode->i_generation = le32_to_cpu(raw_inode->i_generation); + inode->u.ext2_i.i_prealloc_count = 0; inode->u.ext2_i.

Re: RAID, 2.4.2 and Buslogic

2001-03-07 Thread Andreas Dilger
t in your case, the BUG may have prevented larger corruption by halting the system before more damage was done? -- 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.

<    5   6   7   8   9   10   11   12   13   >