Subject: Re: kern/35187 (Certain file operations--such as chown--take inordinate amounts of time on LFS)
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Blair Sadewitz <blair.sadewitz@gmail.com>
List: netbsd-bugs
Date: 01/02/2007 21:05:03
The following reply was made to PR kern/35187; it has been noted by GNATS.
From: "Blair Sadewitz" <blair.sadewitz@gmail.com>
To: gnats-bugs@netbsd.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Subject: Re: kern/35187 (Certain file operations--such as chown--take inordinate amounts of time on LFS)
Date: Tue, 2 Jan 2007 16:00:47 -0500
There is a simple way to mitigate this to some extent (seems to help
with chmod/chown, but not with the queue backup when untarring
something) though I doubt it is safe only because it is purposefully
excluded from the code:
At the beginning lfs_writevnodes() in lfs_segment.c, change the #if 0
to 1 so that it starts with the newest instead of oldest vnode.
Unfortunately I havent thought of any better way to do this yet, as
most likely doing so is beyond my ability. :(
--Blair
--
Support WFMU-FM: free-form radio for the masses!
<http://www.wfmu.org/>
91.1 FM Jersey City, NJ
90.1 FM Mt. Hope, NY
"The Reggae Schoolroom":
<http://www.wfmu.org/playlists/RS/>