Whamcloud - gitweb
fs/lustre-release.git
18 years agoadd debug msg for gss seq window.
ericm [Wed, 21 Sep 2005 18:52:32 +0000 (18:52 +0000)]
add debug msg for gss seq window.

18 years ago- drop needless capas upon close
alex [Wed, 21 Sep 2005 18:17:14 +0000 (18:17 +0000)]
- drop needless capas upon close

18 years agodrop truncate capa after ll_truncate.
lsy [Wed, 21 Sep 2005 17:46:04 +0000 (17:46 +0000)]
drop truncate capa after ll_truncate.

18 years agomore debug message.
lsy [Wed, 21 Sep 2005 15:45:19 +0000 (15:45 +0000)]
more debug message.

18 years agoadd b1_4_mountconf using lnet
nathan [Wed, 21 Sep 2005 14:29:51 +0000 (14:29 +0000)]
add b1_4_mountconf using lnet

18 years agomessage cleanup.
lsy [Wed, 21 Sep 2005 12:40:34 +0000 (12:40 +0000)]
message cleanup.

18 years ago- swab capa data in mdc_replay_open(), the sequence can be:
alex [Wed, 21 Sep 2005 12:40:32 +0000 (12:40 +0000)]
- swab capa data in mdc_replay_open(), the sequence can be:
  1) ll_file_open() has a request with capa
  2) the inode is already opened, so we close just received openhandle
  3) mds fails, recovers, ptlrpcd replays open request
  4) ll_set_capa() finds capa in replayed open request non-swabbed - BUG

18 years agoput capa before calling ll_renew_capa, in case it might get updated.
lsy [Wed, 21 Sep 2005 12:02:28 +0000 (12:02 +0000)]
put capa before calling ll_renew_capa, in case it might get updated.

18 years ago- don't make noise if we found needed capa
alex [Wed, 21 Sep 2005 11:07:08 +0000 (11:07 +0000)]
- don't make noise if we found needed capa
- minor cleanups

18 years ago- nobody needs these warnings any more
alex [Wed, 21 Sep 2005 11:01:02 +0000 (11:01 +0000)]
- nobody needs these warnings any more

18 years agodon't make too much noise.
lsy [Wed, 21 Sep 2005 10:08:19 +0000 (10:08 +0000)]
don't make too much noise.

18 years agoexport symbol.
lsy [Wed, 21 Sep 2005 09:51:50 +0000 (09:51 +0000)]
export symbol.

18 years agomake noise when capa not found.
lsy [Wed, 21 Sep 2005 09:39:53 +0000 (09:39 +0000)]
make noise when capa not found.

18 years agomissed i_gen
ericm [Wed, 21 Sep 2005 08:37:50 +0000 (08:37 +0000)]
missed i_gen

18 years ago- pack fake reply if mds_getattr() couldn't lookup fid. otherwise
alex [Wed, 21 Sep 2005 08:36:11 +0000 (08:36 +0000)]
- pack fake reply if mds_getattr() couldn't lookup fid. otherwise
  mds_handle() will oops.

18 years ago- in order to prevent flood during renewing capa for deleted inodes:
alex [Wed, 21 Sep 2005 07:16:25 +0000 (07:16 +0000)]
- in order to prevent flood during renewing capa for deleted inodes:
  - mds_getattr() returns regular errors in rq_status
  - mdc_interpret_getattr() interprets it properly

18 years agoclient capa list is sorted.
lsy [Wed, 21 Sep 2005 06:58:38 +0000 (06:58 +0000)]
client capa list is sorted.
new capa for mds and oss should be added at the end. (so it should be sorted too)

18 years agothe missing part of last capa fix.
ericm [Wed, 21 Sep 2005 05:06:59 +0000 (05:06 +0000)]
the missing part of last capa fix.

18 years agoremove stale capa structure from mds/filter obd.
ericm [Wed, 21 Sep 2005 01:19:14 +0000 (01:19 +0000)]
remove stale capa structure from mds/filter obd.

18 years agoon OSS compare the whole capa structure because we might have 2 capa only
ericm [Wed, 21 Sep 2005 01:01:01 +0000 (01:01 +0000)]
on OSS compare the whole capa structure because we might have 2 capa only
have difference in expiry time.

18 years agoBranch b1_4
adilger [Wed, 21 Sep 2005 00:02:40 +0000 (00:02 +0000)]
Branch b1_4
Update the CVS commit script to add a reminder about HLD/DLD updates.
r=design meeting

18 years ago- one more DEBUG_CAPA() to make sure we use proper capability to check
alex [Tue, 20 Sep 2005 23:41:33 +0000 (23:41 +0000)]
- one more DEBUG_CAPA() to make sure we use proper capability to check
  permissions

18 years ago- typo fixed
alex [Tue, 20 Sep 2005 23:01:21 +0000 (23:01 +0000)]
- typo fixed

18 years ago- bump capa cache size on MDS/OSS to 3000 to decrease cache refill load
alex [Tue, 20 Sep 2005 22:52:22 +0000 (22:52 +0000)]
- bump capa cache size on MDS/OSS to 3000 to decrease cache refill load

18 years ago- allocate tfm per every sign procedure (tfm isn't thread-safe)
alex [Tue, 20 Sep 2005 22:51:19 +0000 (22:51 +0000)]
- allocate tfm per every sign procedure (tfm isn't thread-safe)

18 years agocleanup debug message.
lsy [Tue, 20 Sep 2005 21:39:06 +0000 (21:39 +0000)]
cleanup debug message.

18 years agotypo.
lsy [Tue, 20 Sep 2005 16:23:46 +0000 (16:23 +0000)]
typo.

18 years agoadd debug for capa_key.
lsy [Tue, 20 Sep 2005 15:52:39 +0000 (15:52 +0000)]
add debug for capa_key.

18 years ago- warn if HMAC's don't match
alex [Tue, 20 Sep 2005 13:25:11 +0000 (13:25 +0000)]
- warn if HMAC's don't match

18 years agoadd debug msg, and some cleanup.
lsy [Tue, 20 Sep 2005 12:37:20 +0000 (12:37 +0000)]
add debug msg, and some cleanup.
capa_renew should use tcapa instead of capa.

18 years ago- needless \n grrrrr
alex [Tue, 20 Sep 2005 10:57:25 +0000 (10:57 +0000)]
- needless \n grrrrr

18 years ago- additional debug
alex [Tue, 20 Sep 2005 10:53:44 +0000 (10:53 +0000)]
- additional debug

18 years ago- minor typo: CDEBUG() doesn't add \n at the end
alex [Tue, 20 Sep 2005 09:38:36 +0000 (09:38 +0000)]
- minor typo: CDEBUG() doesn't add \n at the end

18 years agochange debug level.
lsy [Tue, 20 Sep 2005 08:25:05 +0000 (08:25 +0000)]
change debug level.

18 years agollite doesn't put it.
lsy [Tue, 20 Sep 2005 06:26:23 +0000 (06:26 +0000)]
llite doesn't put it.

18 years agocapa_renew should increase the refc.
lsy [Tue, 20 Sep 2005 06:03:08 +0000 (06:03 +0000)]
capa_renew should increase the refc.

18 years agoupdate struct lustre_capa_data too with the introduction of igen.
lsy [Tue, 20 Sep 2005 03:26:04 +0000 (03:26 +0000)]
update struct lustre_capa_data too with the introduction of igen.

18 years agoadd inode generation in capability.
ericm [Tue, 20 Sep 2005 03:05:40 +0000 (03:05 +0000)]
add inode generation in capability.

18 years ago- make noise if capa hasn't been passed even
alex [Mon, 19 Sep 2005 19:55:27 +0000 (19:55 +0000)]
- make noise if capa hasn't been passed even

18 years ago- additional debug for capa denies
alex [Mon, 19 Sep 2005 19:00:52 +0000 (19:00 +0000)]
- additional debug for capa denies

18 years agoBranch: HEAD
wangdi [Mon, 19 Sep 2005 07:31:08 +0000 (07:31 +0000)]
Branch: HEAD
typo fix about ldlm flags

18 years agoroundup gss credential timeout down to avoid expiration between accept &
ericm [Mon, 19 Sep 2005 07:11:07 +0000 (07:11 +0000)]
roundup gss credential timeout down to avoid expiration between accept &
authorize on server, or check & encrypt rpc on client.

18 years ago- protect i_nlink in smfs_mkdir() as well
alex [Sun, 18 Sep 2005 16:06:52 +0000 (16:06 +0000)]
- protect i_nlink in smfs_mkdir() as well

18 years agoBranch: HEAD
wangdi [Sun, 18 Sep 2005 04:15:57 +0000 (04:15 +0000)]
Branch: HEAD
uuid of client mdc and osc will be modified in mds ost add

18 years ago- protect i_nlink from concurrent changing
alex [Sat, 17 Sep 2005 22:48:46 +0000 (22:48 +0000)]
- protect i_nlink from concurrent changing

18 years agob=7268
alex [Sat, 17 Sep 2005 22:33:52 +0000 (22:33 +0000)]
b=7268

 - increase timeout for bulk PUT/GET a little bit

18 years agotemporarily disable sanity 57b which lead to LBUG.
ericm [Sat, 17 Sep 2005 07:49:51 +0000 (07:49 +0000)]
temporarily disable sanity 57b which lead to LBUG.
thanks tappro.

18 years agoBranch: HEAD
wangdi [Sat, 17 Sep 2005 06:40:20 +0000 (06:40 +0000)]
Branch: HEAD
tmp fix about ost add/del, reset osc uuid in mds, but not reset mdc uuid in mds

18 years agoprevent null_audit case
tappro [Sat, 17 Sep 2005 01:09:18 +0000 (01:09 +0000)]
prevent null_audit case

18 years agob=7230
tappro [Fri, 16 Sep 2005 23:30:58 +0000 (23:30 +0000)]
b=7230

update mtime as well as size on MDS and in llite

18 years ago- obd_disconnect(sbi->ll_dt_exp) clears namespace and lets inodes go, we
alex [Fri, 16 Sep 2005 22:23:31 +0000 (22:23 +0000)]
- obd_disconnect(sbi->ll_dt_exp) clears namespace and lets inodes go, we
  shouldn't release crypto subsystem before, because it's used in ll_clear_inode()

18 years ago- revert debugging bits back - it breaks everything
alex [Fri, 16 Sep 2005 22:18:40 +0000 (22:18 +0000)]
- revert debugging bits back - it breaks everything

18 years agosimple fix for inconsistent mtime on different client, commit to test if
niu [Fri, 16 Sep 2005 18:41:24 +0000 (18:41 +0000)]
simple fix for inconsistent mtime on different client, commit to test if
it's helpful.
- b 7230

18 years agoadd command null_audit in lctl
tappro [Fri, 16 Sep 2005 16:12:08 +0000 (16:12 +0000)]
add command null_audit in lctl

18 years agodo LASSERT if *name is not NULL
tappro [Fri, 16 Sep 2005 16:11:27 +0000 (16:11 +0000)]
do LASSERT if *name is not NULL

18 years agoBranch: HEAD
wangdi [Fri, 16 Sep 2005 15:52:26 +0000 (15:52 +0000)]
Branch: HEAD
missing update lvb_mtime

18 years agoadd null_audit command to lctl which will make audit silent. For testing purposes.
tappro [Fri, 16 Sep 2005 15:48:53 +0000 (15:48 +0000)]
add null_audit command to lctl which will make audit silent. For testing purposes.

18 years agoBranch: HEAD
wangdi [Fri, 16 Sep 2005 15:27:35 +0000 (15:27 +0000)]
Branch: HEAD
fix LDLM flags defination confilct

18 years agor=alex
tappro [Fri, 16 Sep 2005 12:45:20 +0000 (12:45 +0000)]
r=alex
 do d_delete() for backfs dentry as vfs_unlink/rmdir do

18 years ago- dump i_mode as well
alex [Fri, 16 Sep 2005 12:35:02 +0000 (12:35 +0000)]
- dump i_mode as well

18 years ago- check for non-zero inum
alex [Fri, 16 Sep 2005 12:34:33 +0000 (12:34 +0000)]
- check for non-zero inum

18 years ago- removed not needed error message
yury [Fri, 16 Sep 2005 10:46:07 +0000 (10:46 +0000)]
- removed not needed error message

18 years agorevert part of last change.
lsy [Fri, 16 Sep 2005 10:27:13 +0000 (10:27 +0000)]
revert part of last change.

18 years agoigrab() before ll_renew_capa() in case inode is cleared.
lsy [Fri, 16 Sep 2005 10:15:53 +0000 (10:15 +0000)]
igrab() before ll_renew_capa() in case inode is cleared.

18 years ago- we don't need this LBUG during acceptance
alex [Fri, 16 Sep 2005 09:49:24 +0000 (09:49 +0000)]
- we don't need this LBUG during acceptance

18 years agob=7340
alex [Fri, 16 Sep 2005 09:47:58 +0000 (09:47 +0000)]
b=7340

 - setup cr_replayid immediately because it might take long to get to
   mdc_set_open_replay_data() and replay can happen in meantime

18 years agohack: wait rsi really be cleaned up before module unload.
ericm [Fri, 16 Sep 2005 07:11:57 +0000 (07:11 +0000)]
hack: wait rsi really be cleaned up before module unload.

18 years ago- added some more noise in unlink time when errors to see what happening
yury [Fri, 16 Sep 2005 06:21:49 +0000 (06:21 +0000)]
- added some more noise in unlink time when errors to see what happening

18 years agoBranch: HEAD
wangdi [Fri, 16 Sep 2005 06:18:34 +0000 (06:18 +0000)]
Branch: HEAD
revert back ldlm flags and make them compatiable with b1_4, according to andreas comments.

18 years ago- check for bad inode in smfs_do_lookup()
alex [Fri, 16 Sep 2005 01:05:26 +0000 (01:05 +0000)]
- check for bad inode in smfs_do_lookup()

18 years agob=6866
alex [Fri, 16 Sep 2005 01:04:41 +0000 (01:04 +0000)]
b=6866
r=adilger(original patch)

  Bad interaction between the ea-in-inode patch and the "no-read"
  code in the 2.6 kernel caused the inode and/or EA data not to
  be read from disk, causing single-file corruption.

18 years agoadd an assert, from alex.
ericm [Fri, 16 Sep 2005 00:14:21 +0000 (00:14 +0000)]
add an assert, from alex.

18 years agoBranch: HEAD
wangdi [Thu, 15 Sep 2005 17:53:50 +0000 (17:53 +0000)]
Branch: HEAD
add flock fix patch of Donm
fix about build warning in lustre_dlm.h

18 years agoBranch: HEAD
wangdi [Thu, 15 Sep 2005 17:19:21 +0000 (17:19 +0000)]
Branch: HEAD
land posix flock patch of Don.

18 years agob=7272
alex [Thu, 15 Sep 2005 16:34:55 +0000 (16:34 +0000)]
b=7272

 - very messy debug bits to check for double direntries

18 years agob=8654
tappro [Thu, 15 Sep 2005 13:42:19 +0000 (13:42 +0000)]
b=8654
revert back last changes after testing.

18 years agob=8654
tappro [Thu, 15 Sep 2005 10:29:27 +0000 (10:29 +0000)]
b=8654
 turn on stat auditing on client for testing purpose

18 years agob=8654
tappro [Thu, 15 Sep 2005 10:26:45 +0000 (10:26 +0000)]
b=8654
- delay notification for audit_transfer in case of create
- remove unneeded list_head declaration

18 years agob=7272
alex [Thu, 15 Sep 2005 09:47:58 +0000 (09:47 +0000)]
b=7272

 - check dentry after removing

18 years agob=8654
tappro [Thu, 15 Sep 2005 08:26:12 +0000 (08:26 +0000)]
b=8654
- avoid double audit in case of cross-ref

18 years agoremove capa_op from hashfn, to allow search CAPA_READ|CAPA_WRITE.
lsy [Thu, 15 Sep 2005 02:57:02 +0000 (02:57 +0000)]
remove capa_op from hashfn, to allow search CAPA_READ|CAPA_WRITE.

18 years agoBranch b1_4
adilger [Wed, 14 Sep 2005 21:18:35 +0000 (21:18 +0000)]
Branch b1_4
Use 64-bit variable for libsysio lseek64() internal return value.
Update liblustre sanity.c to use 64-bit IO functions where needed.
b=7279

18 years agob=9294
alex [Wed, 14 Sep 2005 20:32:29 +0000 (20:32 +0000)]
b=9294
r=donm (original fix)

 - if ldlm_run_bl_ast_work() failed to sent AST, ldlm_extent_compat_queue()
   should be prepared to find the lock on the waiting queue

18 years ago- added revalidating inode as Alex adviced before checking its size in ll_gns_mount_o...
yury [Wed, 14 Sep 2005 15:32:19 +0000 (15:32 +0000)]
- added revalidating inode as Alex adviced before checking its size in ll_gns_mount_object().
It should help to fix #9283

18 years agoBranch: HEAD
wangdi [Wed, 14 Sep 2005 15:21:49 +0000 (15:21 +0000)]
Branch: HEAD
initialize lmv_uuid in add_mds

18 years agob=9326
alex [Wed, 14 Sep 2005 13:29:05 +0000 (13:29 +0000)]
b=9326

 - don't use req as we've lost our reference after ptlrpc_set_add_new_req()

18 years agoBranch: HEAD
wangdi [Wed, 14 Sep 2005 13:12:28 +0000 (13:12 +0000)]
Branch: HEAD
tmp fix about add failover mds with lmv

18 years agob=8654
tappro [Wed, 14 Sep 2005 11:43:30 +0000 (11:43 +0000)]
b=8654
add audit flushing by demand. lctl flush_audit <mountpoint> will flush audit messages to syslog

18 years agob=8654
tappro [Wed, 14 Sep 2005 09:36:44 +0000 (09:36 +0000)]
b=8654
- lassert fixes

18 years agob=8654
tappro [Wed, 14 Sep 2005 06:51:54 +0000 (06:51 +0000)]
b=8654
LLOG_PROC_BREAK is valid result so set rc = 0;

18 years agob=8654
tappro [Wed, 14 Sep 2005 06:45:09 +0000 (06:45 +0000)]
b=8654
change CWARN to C_DEBUG

18 years agob=8654
tappro [Wed, 14 Sep 2005 06:29:40 +0000 (06:29 +0000)]
b=8654
stop STAT auditing on client

18 years agob=8654
tappro [Wed, 14 Sep 2005 05:45:56 +0000 (05:45 +0000)]
b=8654
remove setattr trick back

18 years ago- final cleanups for the fix
alex [Tue, 13 Sep 2005 22:55:14 +0000 (22:55 +0000)]
- final cleanups for the fix

18 years ago- ldlm_namespace_free() to wait until all resource are gone
alex [Tue, 13 Sep 2005 21:21:01 +0000 (21:21 +0000)]
- ldlm_namespace_free() to wait until all resource are gone

18 years ago- possible fix to #49 with good comment
yury [Tue, 13 Sep 2005 18:42:37 +0000 (18:42 +0000)]
- possible fix to #49 with good comment

18 years agob=9312
tappro [Tue, 13 Sep 2005 17:58:15 +0000 (17:58 +0000)]
b=9312
I need Big Book of Logic it seems.

18 years ago- correct some return value.
niu [Tue, 13 Sep 2005 15:06:33 +0000 (15:06 +0000)]
- correct some return value.
- add more assertions.

18 years agob=8654
tappro [Tue, 13 Sep 2005 11:12:39 +0000 (11:12 +0000)]
b=8654
- cut&paste bug in previous commit

18 years agob=8654
tappro [Tue, 13 Sep 2005 11:07:14 +0000 (11:07 +0000)]
b=8654
- fix for client STAT logging