[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
stat problems
From: |
Smith |
Subject: |
stat problems |
Date: |
Wed, 25 Apr 2007 18:18:52 -0500 |
I am running emacs 22.0.95 on AIX 5.3 (the latest levels).
The special feature is IBM has dfs. I guess it is normal but the dfs
file system at IBM starts out with /.../path/to/files
When I open a file, emacs hangs for a long time. I put in some
fprintf's into file-exists-p (dbx told me that is where I was
hanging). The output looks like this:
stat for '/.../austin.ibm.com/fs/projects/aix/aix52Q/{arch}/=tagging-method'
stat for '/.../austin.ibm.com/fs/projects/aix/{arch}/=tagging-method'
stat for '/.../austin.ibm.com/fs/projects/{arch}/=tagging-method'
stat for '/.../austin.ibm.com/fs/{arch}/=tagging-method'
stat for '/.../austin.ibm.com/{arch}/=tagging-method'
stat for '/.../{arch}/=tagging-method'
stat for '/{arch}/=tagging-method'
...snip...
stat for '/.../austin.ibm.com/fs/projects/aix/aix52Q/MCVS/CVS'
stat for '/.../austin.ibm.com/fs/projects/aix/MCVS/CVS'
stat for '/.../austin.ibm.com/fs/projects/MCVS/CVS'
stat for '/.../austin.ibm.com/fs/MCVS/CVS'
stat for '/.../austin.ibm.com/MCVS/CVS'
stat for '/.../MCVS/CVS'
stat for '/MCVS/CVS'
This is for a single open. I removed some (many) lines.
The killer are these two stats:
stat for '/.../MCVS/CVS'
stat for '/.../{arch}/=tagging-method'
With IBM's dfs set up, these each hang for quite some time (minutes).
I discovered vc-ignore-dir-regexp
I changed it to be this:
## this is from my custom-set-variables in my init.el file
(vc-ignore-dir-regexp "\\`\\([\\/][\\/]\\|/\\.\\.\\./\\|/net/\\|/afs/\\)\\'")
As you can see, I added /.../ into the pattern. This seems to be
exactly what I need. Now the stats look like this:
stat for '/.../austin.ibm.com/fs/projects/aix/aix53H/{arch}/=tagging-method'
stat for '/.../austin.ibm.com/fs/projects/aix/{arch}/=tagging-method'
stat for '/.../austin.ibm.com/fs/projects/{arch}/=tagging-method'
stat for '/.../austin.ibm.com/fs/{arch}/=tagging-method'
stat for '/.../austin.ibm.com/{arch}/=tagging-method'
...snip...
stat for '/.../austin.ibm.com/fs/projects/aix/aix53H/MCVS/CVS'
stat for '/.../austin.ibm.com/fs/projects/aix/MCVS/CVS'
stat for '/.../austin.ibm.com/fs/projects/MCVS/CVS'
stat for '/.../austin.ibm.com/fs/MCVS/CVS'
stat for '/.../austin.ibm.com/MCVS/CVS'
I thought this might be a good general change to add in. The pattern
already has afs in the list. I believe this is the dfs equivlalent.
Although I have not been bit by it yet, I might need to add in /gsa/
as well for the gsa file system. It has the same pattern:
/gsa/region/path/to/file
So, probably stat of /gsa/CVS/ is going to hang (although from the
command line it does not seem to).
I hope this makes it to the list. I don't know if I am signed up from
this email address or not.
Take care,
Perry Smith
[Prev in Thread] |
Current Thread |
[Next in Thread] |