Whamcloud - gitweb
fs/lustre-release.git
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

18 years agob=9294
alex [Tue, 13 Sep 2005 08:53:04 +0000 (08:53 +0000)]
b=9294

 - debug message to make sure we interpret LASSERT() right

18 years ago- fixed objects creating on OST with correct uid and gid on setattr path.
yury [Tue, 13 Sep 2005 07:56:47 +0000 (07:56 +0000)]
- fixed objects creating on OST with correct uid and gid on setattr path.
- removed not needed prototype from filter_internal.h
- removed uid/gid stuff from filter_preprw_write() as it is not used there.

18 years agob=8654
tappro [Tue, 13 Sep 2005 07:34:04 +0000 (07:34 +0000)]
b=8654
store setattr mask in nid for debug purposes

18 years agob=9300
tappro [Tue, 13 Sep 2005 03:26:55 +0000 (03:26 +0000)]
b=9300
correct incrementing.

18 years agooops, fix typo.
niu [Tue, 13 Sep 2005 02:57:12 +0000 (02:57 +0000)]
oops, fix typo.

18 years agoquiet some crypto messages.
ericm [Tue, 13 Sep 2005 02:51:25 +0000 (02:51 +0000)]
quiet some crypto messages.

18 years agoenlarge namelen to make caller can free mem with correct size
niu [Tue, 13 Sep 2005 02:49:34 +0000 (02:49 +0000)]
enlarge namelen to make caller can free mem with correct size

18 years agob=9300
tappro [Tue, 13 Sep 2005 00:15:32 +0000 (00:15 +0000)]
b=9300
wrong LASSERT in previous commit.

18 years agob=9300
tappro [Mon, 12 Sep 2005 23:21:21 +0000 (23:21 +0000)]
b=9300
no space was allocated for final zero at the end of string.

18 years agoBranch HEAD
adilger [Mon, 12 Sep 2005 22:30:05 +0000 (22:30 +0000)]
Branch HEAD
Ensure that libsysio is also checked out with the current version tag if
specified for releases 1.4.3 and beyond.

18 years agoBranch HEAD
adilger [Mon, 12 Sep 2005 22:23:40 +0000 (22:23 +0000)]
Branch HEAD
Verify that the to-be-branched directory exists.
Suppress bogus error about CVS/Tag not missing if we are branching from HEAD.

18 years ago- don't need that debug anymore, fsync() is safe enough WRT 11/17
alex [Mon, 12 Sep 2005 20:22:59 +0000 (20:22 +0000)]
- don't need that debug anymore, fsync() is safe enough WRT 11/17

18 years ago* Added temporary LNET branch b_newconfig_rdmarouting
eeb [Mon, 12 Sep 2005 19:41:46 +0000 (19:41 +0000)]
*   Added temporary LNET branch b_newconfig_rdmarouting

18 years agob=9300
tappro [Mon, 12 Sep 2005 19:34:49 +0000 (19:34 +0000)]
b=9300
re-enable path restoring

18 years agoBranch: HEAD
wangdi [Mon, 12 Sep 2005 17:31:50 +0000 (17:31 +0000)]
Branch: HEAD
some fix of mds add
1)not reset uuid when lmv_add_mdc in mds_dt_update_config
2)reset mds_max_mdsize after config update of mds

18 years agob=9300
tappro [Mon, 12 Sep 2005 14:48:33 +0000 (14:48 +0000)]
b=9300
turn off pathname restoring for debug purpose

18 years ago- correct type checking logic in filldir().
niu [Mon, 12 Sep 2005 11:42:57 +0000 (11:42 +0000)]
- correct type checking logic in filldir().
- some debug message.

18 years agoreturn 128 as filetype for cross-ref entry
niu [Mon, 12 Sep 2005 11:35:22 +0000 (11:35 +0000)]
return 128 as filetype for cross-ref entry
r: alex

18 years ago- test multinode creation w/o separate portal for MDS_CLOSE
alex [Mon, 12 Sep 2005 10:38:43 +0000 (10:38 +0000)]
- test multinode creation w/o separate portal for MDS_CLOSE

18 years ago- one more CWARN() to simplify debugging
alex [Sun, 11 Sep 2005 17:52:33 +0000 (17:52 +0000)]
- one more CWARN() to simplify debugging

18 years agob=7237
alex [Sun, 11 Sep 2005 12:08:34 +0000 (12:08 +0000)]
b=7237

 - always close transaction before calling lov/osc

18 years agochange message level from warn to info
tappro [Sun, 11 Sep 2005 05:40:09 +0000 (05:40 +0000)]
change message level from warn to info

18 years agob=8654
tappro [Sun, 11 Sep 2005 03:48:06 +0000 (03:48 +0000)]
b=8654
- fix cross-ref issue while scanning dir by inode number

18 years agob=8654
tappro [Sun, 11 Sep 2005 03:21:41 +0000 (03:21 +0000)]
b=8654
- fix issue when more than needed chars in name are shown

18 years agob=8654
tappro [Sun, 11 Sep 2005 01:07:48 +0000 (01:07 +0000)]
b=8654
temporary fix for pathname restoring procedure

18 years agob=8654
tappro [Sun, 11 Sep 2005 00:37:46 +0000 (00:37 +0000)]
b=8654
r=alex
- get mds num from obd for just created file/directory to store
  correct value in audit log

18 years agob=8654
tappro [Sun, 11 Sep 2005 00:34:26 +0000 (00:34 +0000)]
b=8654
r=alex
- add audit flag on UNNAMED dir to enable audit inheritance on newly created objects

18 years ago- better dump a backtrace, but not too often
alex [Sat, 10 Sep 2005 23:44:32 +0000 (23:44 +0000)]
- better dump a backtrace, but not too often

18 years agob=7273
alex [Sat, 10 Sep 2005 16:06:46 +0000 (16:06 +0000)]
b=7273

 - additional debug check

18 years ago- make obdfilter able to create object upon OST_CREATE as before,
alex [Sat, 10 Sep 2005 07:20:52 +0000 (07:20 +0000)]
- make obdfilter able to create object upon OST_CREATE as before,
  need this for lustre-iokit.

18 years agob=7268
alex [Fri, 9 Sep 2005 19:56:41 +0000 (19:56 +0000)]
b=7268

 - additional debug message to simplify data gathering from script

18 years ago- DEBUG_REQ() on server shows where request came from
alex [Fri, 9 Sep 2005 19:55:34 +0000 (19:55 +0000)]
- DEBUG_REQ() on server shows where request came from

18 years agofix:
lsy [Fri, 9 Sep 2005 13:44:30 +0000 (13:44 +0000)]
fix:
* mds_id might be 0, so +1 when calculating hash.
* link new capa into its hash list head, not the capa_hash.

18 years ago- fixes in GNS stuff - bug #9283
yury [Fri, 9 Sep 2005 11:53:06 +0000 (11:53 +0000)]
- fixes in GNS stuff - bug #9283

18 years agob=8654
tappro [Fri, 9 Sep 2005 09:02:12 +0000 (09:02 +0000)]
b=8654
finish previous commit

18 years agob=8654
tappro [Fri, 9 Sep 2005 08:53:06 +0000 (08:53 +0000)]
b=8654
fixed bug with setting fs_audit. lustre root inode id was used to set audit. For fs audit inode = NULL should be used.

18 years agob=8654
tappro [Fri, 9 Sep 2005 04:41:20 +0000 (04:41 +0000)]
b=8654
debug for audit setting

18 years agob=8654
tappro [Fri, 9 Sep 2005 00:59:53 +0000 (00:59 +0000)]
b=8654
debug for audit issues on MDS

18 years agob=9262
tappro [Thu, 8 Sep 2005 19:46:08 +0000 (19:46 +0000)]
b=9262
update local audit setting on client while set_audit()

18 years agoBranch b1_4
adilger [Thu, 8 Sep 2005 18:16:22 +0000 (18:16 +0000)]
Branch b1_4
Description: liblustre could not open files whose last component is a symlink
Details    : sysio_path_walk() would incorrectly pass the open intent to
     intermediate path components.
b=6363
r=oleg, lee, devesh

18 years ago- landed share_write_lock.patch from #7410
yury [Thu, 8 Sep 2005 08:34:57 +0000 (08:34 +0000)]
- landed share_write_lock.patch from #7410

18 years agoadjust gss upcall timeout value just be secinit timeout, service gss upcall
ericm [Wed, 7 Sep 2005 17:07:16 +0000 (17:07 +0000)]
adjust gss upcall timeout value just be secinit timeout, service gss upcall
might be very slow.

18 years ago- fixed oops in mds_reint_unlink_remote()
yury [Wed, 7 Sep 2005 12:24:23 +0000 (12:24 +0000)]
- fixed oops in mds_reint_unlink_remote()

18 years agoBranch: HEAD
wangdi [Wed, 7 Sep 2005 06:28:51 +0000 (06:28 +0000)]
Branch: HEAD
merge HP fixes about ost add/del

18 years agominor fix to make gss error report more accurate.
ericm [Wed, 7 Sep 2005 00:46:19 +0000 (00:46 +0000)]
minor fix to make gss error report more accurate.

18 years agofix: for each open_client_handle, there will be only one mds_file_data,
lsy [Tue, 6 Sep 2005 14:00:26 +0000 (14:00 +0000)]
fix: for each open_client_handle, there will be only one mds_file_data,
     so capability should obtain mfd handle from och->och_fh, instead of
     the one from reply message body, for the latter one has been cleared.

18 years agor=alex
tappro [Mon, 5 Sep 2005 15:44:26 +0000 (15:44 +0000)]
r=alex
dparent can be valid not only if resent_req == 0

18 years ago- complain if kernel doesn't support 1MB request
alex [Mon, 5 Sep 2005 14:47:38 +0000 (14:47 +0000)]
- complain if kernel doesn't support 1MB request