Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
fcd2a51
)
- missed bit from test 41 debugging
author
alex
<alex>
Sat, 24 Sep 2005 00:21:24 +0000
(
00:21
+0000)
committer
alex
<alex>
Sat, 24 Sep 2005 00:21:24 +0000
(
00:21
+0000)
lustre/include/linux/obd.h
patch
|
blob
|
history
lustre/mds/handler.c
patch
|
blob
|
history
diff --git
a/lustre/include/linux/obd.h
b/lustre/include/linux/obd.h
index
a401829
..
d6dd380
100644
(file)
--- a/
lustre/include/linux/obd.h
+++ b/
lustre/include/linux/obd.h
@@
-478,6
+478,7
@@
struct mds_obd {
int mds_capa_key_idx; /* the red key index */
struct file *mds_capa_keys_filp;
unsigned long mds_capa_key_timeout; /* sec */
+ unsigned mds_config_generation;
};
struct echo_obd {
diff --git
a/lustre/mds/handler.c
b/lustre/mds/handler.c
index
0292710
..
7dadf25
100644
(file)
--- a/
lustre/mds/handler.c
+++ b/
lustre/mds/handler.c
@@
-1474,8
+1474,8
@@
int mds_getattr_size(struct obd_device *obd, struct dentry *dentry,
RETURN(0);
}
- if (mds->mds_config_generation)
- return 0;
+
/*
if (mds->mds_config_generation)
+ return 0;*/
if (atomic_read(&inode->i_writecount)) {
/* some one has opened the file for write.