Whamcloud - gitweb
fs/lustre-release.git
16 years agob=6368
alex [Wed, 25 May 2005 21:35:00 +0000 (21:35 +0000)]
b=6368

 - use time_after_eq() instead of simple comparing

16 years ago* add a bit in ptlrpc_request to indicate ptlrpcs error, gss recovery
ericm [Wed, 25 May 2005 18:08:29 +0000 (18:08 +0000)]
* add a bit in ptlrpc_request to indicate ptlrpcs error, gss recovery
  fixes, need new nfsutils patches version 8.
* more precise error notify between kernel and lgssd.
* minor gss api param fix. and various minor gss fixes.

16 years agofile upcall_cache.c was initially added on branch b1_4_bug3389.
adilger [Wed, 25 May 2005 15:33:20 +0000 (15:33 +0000)]
file upcall_cache.c was initially added on branch b1_4_bug3389.

16 years agoBranch: HEAD
wangdi [Wed, 25 May 2005 07:54:27 +0000 (07:54 +0000)]
Branch: HEAD
remove unsupported target on HEAD

16 years agoBranch: HEAD
wangdi [Wed, 25 May 2005 07:52:32 +0000 (07:52 +0000)]
Branch: HEAD
remove SMFS options in autoMakefile.am because we should build smfs by default
on HEAD

16 years agoBranch HEAD
wangdi [Tue, 24 May 2005 10:11:43 +0000 (10:11 +0000)]
Branch HEAD
1) remove unsupported target in lustre-core.m4 according to boc's suggest
2) add some args on 2.6-fc3 target

16 years ago- enable tcp keepalive back
alex [Tue, 24 May 2005 10:01:06 +0000 (10:01 +0000)]
- enable tcp keepalive back

16 years ago- disable tcp keepalive for debugging purpose
alex [Tue, 24 May 2005 09:54:48 +0000 (09:54 +0000)]
- disable tcp keepalive for debugging purpose

16 years agorevert unapproved change (lustre-build HEAD is shared by all branches; the proper...
jacob [Tue, 24 May 2005 09:52:53 +0000 (09:52 +0000)]
revert unapproved change (lustre-build HEAD is shared by all branches; the proper place for this change is in HEAD's .target.in files)

16 years agoBrach: HEAD
wangdi [Tue, 24 May 2005 09:08:07 +0000 (09:08 +0000)]
Brach: HEAD
add kernel-2.6.10-2.6-fc3-i686-smp.config for lbuild on HEAD

16 years agoBranch HEAD
wangdi [Tue, 24 May 2005 08:56:07 +0000 (08:56 +0000)]
Branch HEAD
change LINUX26 from 0 to 1 for HEAD in lbuild

16 years agoBranch: HEAD
wangdi [Tue, 24 May 2005 07:47:16 +0000 (07:47 +0000)]
Branch: HEAD
some fix for fc3 lbuild on HEAD

16 years ago- grrr, they are unsigned ...
alex [Mon, 23 May 2005 15:38:39 +0000 (15:38 +0000)]
- grrr, they are unsigned ...

16 years ago- changes for KML setting and variables in accordance with smfs plugin API
tappro [Mon, 23 May 2005 11:29:34 +0000 (11:29 +0000)]
- changes for KML setting and variables in accordance with smfs plugin API

16 years ago- KML fixes and updates due to SMFS plugin API.
tappro [Mon, 23 May 2005 11:25:57 +0000 (11:25 +0000)]
- KML fixes and updates due to SMFS plugin API.

16 years ago- brown paper bug (negative value is good)
alex [Mon, 23 May 2005 10:27:32 +0000 (10:27 +0000)]
- brown paper bug (negative value is good)

16 years ago- take HZ into account
alex [Sun, 22 May 2005 12:10:37 +0000 (12:10 +0000)]
- take HZ into account

16 years ago- fixed CDEBUG message
yury [Sun, 22 May 2005 09:44:39 +0000 (09:44 +0000)]
- fixed CDEBUG message

16 years ago- on cnbuild ping time is set to some strange value, the patch is intended
alex [Sat, 21 May 2005 19:00:19 +0000 (19:00 +0000)]
- on cnbuild ping time is set to some strange value, the patch is intended
  to catch and fix the problem

16 years ago- handling out possible signals to @current while waiting for mount.
yury [Sat, 21 May 2005 13:54:26 +0000 (13:54 +0000)]
- handling out possible signals to @current while waiting for mount.
- checking for possible dentry mounting even if wait function returned failure - this helps to avpid post mounts.
- many changes in sanity-gns.sh

16 years agoBranch HEAD
wangdi [Sat, 21 May 2005 12:51:11 +0000 (12:51 +0000)]
Branch HEAD
In smfs_helper, replace list_for_each_entry_safe with list_for_each_entry,
because we may unplugin the plg list

16 years ago- fixes in sanity-gns.sh
yury [Sat, 21 May 2005 11:14:10 +0000 (11:14 +0000)]
- fixes in sanity-gns.sh

16 years ago- bug fixed: wrong lock type was passed to ldlm_lock_decref()
alex [Sat, 21 May 2005 08:07:24 +0000 (08:07 +0000)]
- bug fixed: wrong lock type was passed to ldlm_lock_decref()

16 years agor=jacob
phil [Fri, 20 May 2005 23:03:16 +0000 (23:03 +0000)]
r=jacob

check out libsysio HEAD for all lustre builds

16 years agob=3359
phil [Fri, 20 May 2005 22:55:11 +0000 (22:55 +0000)]
b=3359
r=lee@sandia.gov

libsysio fixes which always apply the umask before calling liblustre.
With these changes, liblustre can stop worrying about the umask entirely.

16 years agoAs long as we have lustre hack flags, let's at least compile with -O0,
phil [Fri, 20 May 2005 22:53:54 +0000 (22:53 +0000)]
As long as we have lustre hack flags, let's at least compile with -O0,
which makes debugging at least theoretically possible.

16 years agoadd -DLUSTRE_UTILS=1 to the utils build
phil [Fri, 20 May 2005 22:44:08 +0000 (22:44 +0000)]
add -DLUSTRE_UTILS=1 to the utils build

16 years ago- Fixes a catstrophic bug introduced in the merge, wherein liblustre OBD_ALLOC
phil [Fri, 20 May 2005 22:35:35 +0000 (22:35 +0000)]
- Fixes a catstrophic bug introduced in the merge, wherein liblustre OBD_ALLOC
  wasn't zeroing memory
- eliminate CDEBUG helper dupes; everything references CDEBUG now
- I wanted to keep obd_memory, portals_debug, et al in liblustre, but I can't
  have those bits compiled into userspace utils.  Hence the LUSTRE_UTILS
  preprocessor definition to distinguish them.

16 years agomountain need Qlogic 2300 driver as well.
brian [Fri, 20 May 2005 19:03:42 +0000 (19:03 +0000)]
mountain need Qlogic 2300 driver as well.

16 years agoQuadrics' elan config variables from mountain.
brian [Fri, 20 May 2005 16:43:32 +0000 (16:43 +0000)]
Quadrics' elan config variables from mountain.

16 years agoBranch: HEAD
wangdi [Fri, 20 May 2005 15:52:00 +0000 (15:52 +0000)]
Branch: HEAD
some fixes about write back cache.
1)cleanup smfs_init_inode_info
2)miss spin_unlock in class_find_client_obd
3)remove PLG_ALL flags of OBJECTS and LOGS dir on MDS
4)some minor fix in cmobd.sh for WB cache

16 years agob=6360
alex [Fri, 20 May 2005 11:35:45 +0000 (11:35 +0000)]
b=6360

 - couple asserts and debug info

16 years agoadd some real userspace definitions for CDEBUG et al
phil [Thu, 19 May 2005 23:22:02 +0000 (23:22 +0000)]
add some real userspace definitions for CDEBUG et al

16 years agob=6316
alex [Thu, 19 May 2005 21:18:22 +0000 (21:18 +0000)]
b=6316

 - all clients report their minimal transno to be replayed
 - server waits for all clients to connect in order to collect
   minimal transno's from clients and replay all requests
   in right order

16 years agob=6358
alex [Thu, 19 May 2005 21:14:53 +0000 (21:14 +0000)]
b=6358

 - simplest mkdir placement to test the idea on mountain

16 years agob=6336
jacob [Thu, 19 May 2005 20:35:56 +0000 (20:35 +0000)]
b=6336

only disable qswnal when building against qsnet inside the kernel.

16 years agob=6336
jacob [Thu, 19 May 2005 20:33:32 +0000 (20:33 +0000)]
b=6336

disable qswnal if neither CONFIG_QSNET nor CONFIG_QSNET_MODULES is
defined (ie on ppc64).

16 years agob=6265
jacob [Thu, 19 May 2005 19:58:38 +0000 (19:58 +0000)]
b=6265

remove .pyc files when uninstalling

16 years agoBranch: HEAD
wangdi [Thu, 19 May 2005 16:45:33 +0000 (16:45 +0000)]
Branch: HEAD
1.port new lustre_lcfg structure from b1_4 to HEAD
2.some fix on test scripts for WB cache

16 years ago* changed router lookups to always return the local destination
eeb [Thu, 19 May 2005 14:04:32 +0000 (14:04 +0000)]
*   changed router lookups to always return the local destination
    socknal + qswnal changes to match
    simplified "will this be forwarded" predicate in ptl_send()

*   fixed bug in multi-instance socknal to pass the correct NI to the tx
    teardown function to allow for the case where the tx hasn't even had a conn
    assigned yet.

*   fixed routerstat stats formatting

*   removed osc::check_elan_limit() and replaced with max_unfragmented_pages()
    which actually works.  NB it depend on the assumption that file and page
    offsets are aligned!

*   fixed lconf to stay away from portals, except to 'modprobe' for it first in
    'load_module()', and to rmmod all the NALs + portals when ptlrpc gets
    unloaded.

16 years ago- wrong command lctl dk /r/tmp/debug in test 55
alex [Thu, 19 May 2005 11:35:16 +0000 (11:35 +0000)]
- wrong command lctl dk /r/tmp/debug in test 55

16 years agob=6332
ericm [Wed, 18 May 2005 23:26:15 +0000 (23:26 +0000)]
b=6332
create dir across MDS's, subdir need default ACL of its parent to determine
its own default ACL and access ACL. API obd_create() is added 2 params
to hold acl data.

16 years ago- minor fixes in the script
alex [Wed, 18 May 2005 21:29:12 +0000 (21:29 +0000)]
- minor fixes in the script

16 years ago- ptlrpc_ping_interpret is needless:
alex [Wed, 18 May 2005 20:44:06 +0000 (20:44 +0000)]
- ptlrpc_ping_interpret is needless:
  general timeout infrastructure is enough for cascading timeouts

16 years ago- ptlrpc_request_handle_notconn() shouldn't reconnect if recovery on
alex [Wed, 18 May 2005 20:41:05 +0000 (20:41 +0000)]
- ptlrpc_request_handle_notconn() shouldn't reconnect if recovery on
  import is disabled adminitratively

16 years agob=6344
tappro [Wed, 18 May 2005 11:52:27 +0000 (11:52 +0000)]
b=6344
r=alex

- fix bug with flag DCACHE_CROSS_REF that can be unsetted sometimes.

16 years agoBranch: HEAD
wangdi [Wed, 18 May 2005 09:02:56 +0000 (09:02 +0000)]
Branch: HEAD
some fix about x86_64 lkcd patch

16 years agoBranch HEAD
wangdi [Tue, 17 May 2005 10:26:35 +0000 (10:26 +0000)]
Branch HEAD
add some config options for CGG

16 years agob=6274
tappro [Tue, 17 May 2005 09:02:45 +0000 (09:02 +0000)]
b=6274
r=alex
-fix nasty bug with using function in stack

16 years agob=5881, 6274
tappro [Mon, 16 May 2005 18:33:01 +0000 (18:33 +0000)]
b=5881, 6274
r=alex

-fix bug with setting i_ino (thanks alex)
-fix issue with non-freed dentry after error
-cleanup smfs_do_lookup() code

16 years agoSmall fix for OS X uninstall script
liangzhen [Mon, 16 May 2005 18:33:00 +0000 (18:33 +0000)]
Small fix for OS X uninstall script

16 years agoFiles needed by OS X package
liangzhen [Mon, 16 May 2005 18:07:50 +0000 (18:07 +0000)]
Files needed by OS X package

16 years ago- many changes in sanity-gns.sh. Enabled last test (3b).
yury [Mon, 16 May 2005 16:22:41 +0000 (16:22 +0000)]
- many changes in sanity-gns.sh. Enabled last test (3b).

16 years ago- fixed umounting all GNS entrie son lustre umount (added umount_lustre patch)
yury [Mon, 16 May 2005 08:04:51 +0000 (08:04 +0000)]
- fixed umounting all GNS entrie son lustre umount (added umount_lustre patch)
- some typos fixed.

16 years ago- fixes and improvements in GNS:
yury [Mon, 16 May 2005 06:48:21 +0000 (06:48 +0000)]
- fixes and improvements in GNS:
  - making it work in some stat cases (stat target is behind mount object)
  - making it work in sys_mount() control path (is mount point is behind mount object)

  - to avoid deadlock is mount case is_subdir() is used for detecting is current dentry is
    parent of dentry being in progress of mounting.

  - do not mount on revalidate if there is not valid @nd applied.
  - using nd->flags if possible for both lookup and revalidate cases.
  - added debug info printing in mounting cases.
  - totaly removed -ERESTARTSYS approach stuff.

  - fixed bug with many waiters on ->ll_gns_mount_finished - only first of them will find GNS
    in IDLE state and will start mounting and the rest will assert on wrong GNS state (MOUNTING)

  - reinit ->ll_gns_mount_finished after all waiters are awakaned, this fixes the bug when
    after first using this completion it does not functions, because complete_all() has
    slighly diff. semanthics then complete() and namely does not just decrease ->done but
    sets it to MAX_INT/2.

  - fully rewritten sanity-gns.sh to make it more flexible and easy to add new sanity tests.

16 years agoBranch: HEAD
wangdi [Sun, 15 May 2005 17:07:11 +0000 (17:07 +0000)]
Branch: HEAD
Should return 0, if the return value of mds_postrecov_common > 0

16 years agoBranch HEAD
wangdi [Sun, 15 May 2005 16:03:42 +0000 (16:03 +0000)]
Branch HEAD
merge b4892 from b1_4

16 years agocleanups:
nikita [Sun, 15 May 2005 07:42:58 +0000 (07:42 +0000)]
cleanups:

 - use list_for_each_entry

 - restructure ptlrpc_set_wait(): split into smaller functions.

 - factor out some common code.

 - some small cleanups

add comments for request bit-field, difficult reply handling, etc.

16 years ago- minor fix in unit test
alex [Sat, 14 May 2005 15:35:02 +0000 (15:35 +0000)]
- minor fix in unit test

16 years ago- minor cleanups
alex [Sat, 14 May 2005 15:31:22 +0000 (15:31 +0000)]
- minor cleanups

16 years agob=6063
alex [Sat, 14 May 2005 15:30:53 +0000 (15:30 +0000)]
b=6063

 - unit test for "AST during recovery" case

16 years agob=6190
alex [Sat, 14 May 2005 14:15:46 +0000 (14:15 +0000)]
b=6190

 - wrong patch was merged previous time. this should be right one, I hope ...

16 years agob=6326
alex [Sat, 14 May 2005 11:51:44 +0000 (11:51 +0000)]
b=6326

 - sanity tests for the bug

16 years agob=6326
alex [Sat, 14 May 2005 11:46:09 +0000 (11:46 +0000)]
b=6326

 - testing infrastructure to control order in which clients recover

16 years agob=5854
jacob [Fri, 13 May 2005 19:42:47 +0000 (19:42 +0000)]
b=5854

fix /lib/modules/$(uname -r)/{build,source} to point to the correct
locations for 2.6 kernels

use --package arg to new-kernel-pkg if available

16 years agob=6279
jacob [Fri, 13 May 2005 17:49:35 +0000 (17:49 +0000)]
b=6279
r=adilger

require CONFIG_STACK_SIZE_16KB on i386 + x86_64 non-UML

16 years agoadjust krb5 related scripts, add krb5 support in replay-ost-single,
ericm [Fri, 13 May 2005 16:41:12 +0000 (16:41 +0000)]
adjust krb5 related scripts, add krb5 support in replay-ost-single,
sanityN, sanity-ldlm.

16 years ago- added test_3b which emulates recursive mount. Does not pass yet.
yury [Fri, 13 May 2005 15:58:50 +0000 (15:58 +0000)]
- added test_3b which emulates recursive mount. Does not pass yet.

16 years ago- fixes in sanity tests about using mount command. cat /proc/mounts is used instead
yury [Fri, 13 May 2005 13:16:04 +0000 (13:16 +0000)]
- fixes in sanity tests about using mount command. cat /proc/mounts is used instead

16 years ago fixes possible memory leak on error case path
yury [Fri, 13 May 2005 10:09:47 +0000 (10:09 +0000)]
 fixes possible memory leak on error case path

16 years agoadd b_ptlrpc_cleanup to buildcvs
nikita [Fri, 13 May 2005 09:34:16 +0000 (09:34 +0000)]
add b_ptlrpc_cleanup to buildcvs

16 years agoBranch HEAD
adilger [Fri, 13 May 2005 07:47:14 +0000 (07:47 +0000)]
Branch HEAD
Fix duplicate filesystem feature flag (matches -fc3 kernel).
r=alex

16 years agob=6284
alex [Thu, 12 May 2005 20:31:51 +0000 (20:31 +0000)]
b=6284

 - for unknown yet reason, ptlrpc_client_replied() returns true while
   rq_repmsg isn't allocated yet. this causes oops. the patch checks
   the both and outputs debug info

16 years agob=6277
ericm [Thu, 12 May 2005 20:09:56 +0000 (20:09 +0000)]
b=6277
alloc/free rpcpipe path dynamically.

16 years agob=6292
alex [Thu, 12 May 2005 19:48:56 +0000 (19:48 +0000)]
b=6292

 - lmv_enqueue() should re-enqueue lock if first MDS stores a name only

16 years agoBranch: HEAD
wangdi [Thu, 12 May 2005 15:15:43 +0000 (15:15 +0000)]
Branch: HEAD
Disable 71 in sanity.sh, because mmap code is not update on HEAD now.

16 years ago- fixed sys_umount() code path. It did not release intent what caused memory leaks...
yury [Thu, 12 May 2005 14:35:27 +0000 (14:35 +0000)]
- fixed sys_umount() code path. It did not release intent what caused memory leaks in sanity-gns.sh, as it uses umount for cleanups while testing GNS.
- do not free intent in GNS case if it is not lookup_it, only drop lock.
- added test_3a which checks disabling GNS mount point using chmod u-s

16 years agoagain fix the intent release problem in dentry revalidate path,
ericm [Thu, 12 May 2005 00:56:59 +0000 (00:56 +0000)]
again fix the intent release problem in dentry revalidate path,
simplified/rewrite some logic in ll_revalidate_it(), pls back this
out if any problem found.

16 years agoadded dependency listing of IOR for ior-survey
nkj [Wed, 11 May 2005 15:10:24 +0000 (15:10 +0000)]
added dependency listing of IOR for ior-survey

16 years ago- fixes in sanity-gns.sh
yury [Wed, 11 May 2005 14:20:40 +0000 (14:20 +0000)]
- fixes in sanity-gns.sh

16 years ago- kernel_thread() returns pid on success. ptlrpc_connect_interpret() treated
alex [Wed, 11 May 2005 11:48:14 +0000 (11:48 +0000)]
- kernel_thread() returns pid on success. ptlrpc_connect_interpret() treated
  that as an error and broke the recovery state machine

16 years ago- more fixes and comments about intent managing in ll_revalidate_it(). In few words...
yury [Wed, 11 May 2005 10:49:21 +0000 (10:49 +0000)]
- more fixes and comments about intent managing in ll_revalidate_it(). In few words, in the cases dentry is valid and no lookup will be called anymore, intent may be released by ll_intent_release() with clobering -._magic, ->it_op, etc, as it will not be used anymore. In the case revalidate failed, intent should not clobber ->magic, as it will confuse ll_frob_intent() called from ll_lookup_it(). Instead ll_drop_intent_lock() and ll_intent_free() should be used.

- in the case we found potential GNS dentry we do not cause GNS mountining by returning 0 from revalidate if GNS is disabled. This fixes possible NFS stales in some cases.

16 years ago- fixes in ll_revalidate_it() about correct allocating/releasing intents.
yury [Wed, 11 May 2005 10:04:43 +0000 (10:04 +0000)]
- fixes in ll_revalidate_it() about correct allocating/releasing intents.
- added comments about all the changes. Added comment for some GNS related cases.
- in the GNS case lookup intent should be released and others should be dropped and freed.

16 years agorecovery-small 21 LBUG: don't release intent for open etc. (maybe the
ericm [Wed, 11 May 2005 01:18:32 +0000 (01:18 +0000)]
recovery-small 21 LBUG: don't release intent for open etc. (maybe the
same problem of bug 6273?)

16 years ago- removed duplicating code chunk in ll_mdc_blocking_ast() (wrong merge?)
yury [Tue, 10 May 2005 15:14:22 +0000 (15:14 +0000)]
- removed duplicating code chunk in ll_mdc_blocking_ast() (wrong merge?)

16 years agoBranch: HEAD
wangdi [Mon, 9 May 2005 07:07:21 +0000 (07:07 +0000)]
Branch: HEAD
miss release  parent pdir locks in mds_open

16 years agoDon't fail if Tag is not found.
adilger [Mon, 9 May 2005 06:02:39 +0000 (06:02 +0000)]
Don't fail if Tag is not found.

16 years ago- using TASK_INTERRUPTIBLE in OBD_SLEEP_ON at Andreas' suggestion.
yury [Sun, 8 May 2005 16:57:53 +0000 (16:57 +0000)]
- using TASK_INTERRUPTIBLE in OBD_SLEEP_ON at Andreas' suggestion.

- using IT_CHDIR in sys_chdir() vfs-intent_api-vanilla-2.6.10-fc3.patch. This fixes GNS with cd into mnt point.

- different fixes in GNS stuff.
- gns_enabled flag is moved to separate space instead of using LL_GNS_DISABLED
- removed error messages after inode_setattr(). Only comment is added.
- many changes in sanity-gns.sh, added checks for "cd" case. Deadlock tests are disabled for a while.

16 years ago- reconstruct_open() should handle objects by fid properly
alex [Sat, 7 May 2005 19:34:47 +0000 (19:34 +0000)]
- reconstruct_open() should handle objects by fid properly

16 years ago- minor fix
alex [Sat, 7 May 2005 19:21:32 +0000 (19:21 +0000)]
- minor fix

16 years ago- needless debug messages are removed
alex [Sat, 7 May 2005 19:17:45 +0000 (19:17 +0000)]
- needless debug messages are removed

16 years agob=6063
alex [Sat, 7 May 2005 19:01:31 +0000 (19:01 +0000)]
b=6063

 - to avoid possible lock collision during replay, we should replay all
   request before any locks

16 years agob=6019
alex [Sat, 7 May 2005 15:40:03 +0000 (15:40 +0000)]
b=6019

 - workaround for cascading timeouts when failure of 1 server node causes
   failures of unrelated connections. this caused different problems. for
   example, lock cancel timeouts.

16 years agob=4920
alex [Sat, 7 May 2005 12:23:17 +0000 (12:23 +0000)]
b=4920

 - reconnect after recovery to all mds nodes. otherwise some mds will
   miss reconnect after recovery and get to recovery timeout situation

16 years agob=6190
alex [Sat, 7 May 2005 11:47:38 +0000 (11:47 +0000)]
b=6190

 - deadlock in mds_open() fixed: if dentry points to another node, we
   took LOOKUP lock holding UPDATE on a parent while strict resourse-
   -based ordering must be used

16 years agoBranch:HEAD
wangdi [Sat, 7 May 2005 04:34:16 +0000 (04:34 +0000)]
Branch:HEAD
replace mds1 with SINGLEMDS according to andreas advice

16 years agoconf-sanity 15: some testbed (cnbuild) using source tree but also have
ericm [Fri, 6 May 2005 19:59:07 +0000 (19:59 +0000)]
conf-sanity 15: some testbed (cnbuild) using source tree but also have
luster installed, which cause confusion of which lconf/lmc/lctl will be
used. We put $LUSTRE/utils and $LUSTRE/tests at the head of $PATH env
to ensure the tools in source tree will be searched at first. This should
not affect the tests by install, but if we got problem we'll back this
commit out.

16 years ago- commiting missed fix about using symbol_get() instead of inter_module_get()
yury [Fri, 6 May 2005 18:58:08 +0000 (18:58 +0000)]
- commiting missed fix about using symbol_get() instead of inter_module_get()

16 years ago- check for GNS mount even if upcall returned to error (to not miss them)
yury [Fri, 6 May 2005 18:56:26 +0000 (18:56 +0000)]
- check for GNS mount even if upcall returned to error (to not miss them)
- added IT_GETATTR to check if mount should be performed (experimental)

16 years ago- fixed using of few deprected functions:
yury [Fri, 6 May 2005 18:32:05 +0000 (18:32 +0000)]
- fixed using of few deprected functions:
  - sleep_on() is known to be racy replacing it with OBD_SLEEP_ON()
  - added OBD_SLEEP_ON() which is inspired by wait_event() macro.
  - inter_module_{get|put}() replaced with symbol_{get|put}()

- fixes in GNS stuff:
  - ll_revalidate_it() calls missed ll_intent_release() in the case
    GNS dentry is found (fix for #6176)

  - added ll_gns_send_signal() which is needed to cause syscall restarting in the
    case of -ERESTARTSYS is returned.

  - cleanups in ll_gns_mount_object()

  - ll_gns_mount_object() does not wait unconditionaly for userspace upcall,
    instead it give it some time to complete (10s) and returns error if it
    did not mount dentry. This fixes the case when upcall script runs endless
    loop and never returns. This also fixes possible deadlock if another thread
    with wait on not finished mount (this schema is disabled by and -ERESTARTSYS
    is used instead. Both, waiting aproach and -ERESTARTSYS one need more
    investigation).

  - handling result of inode_setattr() call. Printing error message on error.
    This fixes wanings that result of calling this function should be checked.

  - fixed debug message about GNS inabilty to mount dentry (missed arg to CDEBUG
    format string)

  - cleanups in obdfilter_init()
  - fixed using "mount" command in sanity-gns.sh