Whamcloud - gitweb
fs/lustre-release.git
18 years agodon't let ctx obj share storage with request buffer, which might be
ericm [Sat, 20 Aug 2005 19:08:25 +0000 (19:08 +0000)]
don't let ctx obj share storage with request buffer, which might be
released in case of recovery, request be saved and delayed handed.

18 years ago- more debug stuff in osc. Added av. pipe loading, max pipe loading, etc.
yury [Sat, 20 Aug 2005 16:46:00 +0000 (16:46 +0000)]
- more debug stuff in osc. Added av. pipe loading, max pipe loading, etc.
- some names cleanup in gns and capa threads related stuff to make all llite
  threads (gns, capa, close) coherent in names to each other.

18 years agoadd some debug message.
ericm [Fri, 19 Aug 2005 19:57:22 +0000 (19:57 +0000)]
add some debug message.

18 years agoBranch: HEAD
wangdi [Fri, 19 Aug 2005 17:55:54 +0000 (17:55 +0000)]
Branch: HEAD
b7374,7375 offset should be mapped inside page. when crypt and decrypt

18 years ago* cleaned up startup/shutdown handling
eeb [Fri, 19 Aug 2005 17:11:42 +0000 (17:11 +0000)]
*    cleaned up startup/shutdown handling
*    queue rx descriptors for handling by thread directly

18 years ago- temporary disable type check
tappro [Fri, 19 Aug 2005 10:31:51 +0000 (10:31 +0000)]
- temporary disable type check

18 years agouse inode->i_mode instead of fid type, and comment out the assertions, because
niu [Fri, 19 Aug 2005 09:36:15 +0000 (09:36 +0000)]
use inode->i_mode instead of fid type, and comment out the assertions, because
type in lustre id are not always correct.(client don't update type in lli_id;
id for cross-ref inode never store mode)

18 years agopack lustre id to oss in setattr on open
niu [Fri, 19 Aug 2005 08:50:23 +0000 (08:50 +0000)]
pack lustre id to oss in setattr on open

18 years agofile lustre-version-revert_suse.patch was initially added on branch b1_4.
adilger [Fri, 19 Aug 2005 08:40:32 +0000 (08:40 +0000)]
file lustre-version-revert_suse.patch was initially added on branch b1_4.

18 years agoBranch HEAD
adilger [Fri, 19 Aug 2005 07:36:02 +0000 (07:36 +0000)]
Branch HEAD
Quiet compiler warnings on x86_64.

18 years agoseveral fixes: expiry timer adjusted.
lsy [Fri, 19 Aug 2005 07:29:33 +0000 (07:29 +0000)]
several fixes: expiry timer adjusted.
add support for ost-authorization-revocation and fid verification.

18 years ago- added more debug client side pipe related stuff
yury [Fri, 19 Aug 2005 06:54:36 +0000 (06:54 +0000)]
- added more debug client side pipe related stuff

18 years agob=7214
tappro [Thu, 18 Aug 2005 22:54:10 +0000 (22:54 +0000)]
b=7214
 - turn off audit for setattr/unlink on OSS
 - add few checks for stored lustre_id

18 years agob=7360
tappro [Thu, 18 Aug 2005 22:51:20 +0000 (22:51 +0000)]
b=7360

- wrong lustre_id was used in audit logging.

18 years agofix possible double-version with suse kernels
jacob [Thu, 18 Aug 2005 20:18:39 +0000 (20:18 +0000)]
fix possible double-version with suse kernels

18 years ago* GMNAL
eeb [Thu, 18 Aug 2005 17:43:26 +0000 (17:43 +0000)]
*   GMNAL
    - cleaned up structs
    - removed buggy RDMA handling (previous version is tagged
      GM_PRE_REMOVE_BUGGY_RDMA for reference)
    - fixed memory leak on teardown

18 years ago- disable true sync back as it makes recovery more complex (I_LOCK)
alex [Thu, 18 Aug 2005 16:02:49 +0000 (16:02 +0000)]
- disable true sync back as it makes recovery more complex (I_LOCK)

18 years ago- dump log about long syncing in worse cases only
alex [Thu, 18 Aug 2005 14:34:49 +0000 (14:34 +0000)]
- dump log about long syncing in worse cases only

18 years agob=7357
alex [Thu, 18 Aug 2005 10:42:25 +0000 (10:42 +0000)]
b=7357

 - check lop body as well

18 years agob=7357
alex [Thu, 18 Aug 2005 10:36:44 +0000 (10:36 +0000)]
b=7357

 - couple LASSERTs to catch use-after-free

18 years agoBranch: HEAD
wangdi [Thu, 18 Aug 2005 10:26:15 +0000 (10:26 +0000)]
Branch: HEAD
fix memory leak after land ost add/del

18 years agob=7356
alex [Thu, 18 Aug 2005 10:16:44 +0000 (10:16 +0000)]
b=7356

 - show error message always to simplify bug catching

18 years ago- let's try to serialize all allocations and see how does that help
alex [Thu, 18 Aug 2005 09:56:57 +0000 (09:56 +0000)]
- let's try to serialize all allocations and see how does that help

18 years ago- fix typo of chkconnect in lmv_set_info.
niu [Thu, 18 Aug 2005 08:19:09 +0000 (08:19 +0000)]
- fix typo of chkconnect in lmv_set_info.
- add MDS_PARSE_ID check.

18 years agoBranch: HEAD
wangdi [Thu, 18 Aug 2005 07:54:27 +0000 (07:54 +0000)]
Branch: HEAD
serval fix about ost add/del, after landing, which will fix
some memory leak

18 years agob=7346
alex [Thu, 18 Aug 2005 06:22:38 +0000 (06:22 +0000)]
b=7346

 - debug addon: track how long iget() and ll_writepages() take

18 years agoBranch: HEAD
wangdi [Thu, 18 Aug 2005 04:54:08 +0000 (04:54 +0000)]
Branch: HEAD
fix bug 7348, when chmod, should recompute mac

18 years ago* running on 2 GM nodes @ HP
eeb [Wed, 17 Aug 2005 18:35:20 +0000 (18:35 +0000)]
*   running on 2 GM nodes @ HP

18 years agoBranch: HEAD
wangdi [Wed, 17 Aug 2005 16:21:04 +0000 (16:21 +0000)]
Branch: HEAD
revert back ptldebug after merge.

18 years ago- minor fixes against gcc's warnings
alex [Wed, 17 Aug 2005 16:07:18 +0000 (16:07 +0000)]
- minor fixes against gcc's warnings

18 years ago- initialize namesize var to fix gcc's warning
alex [Wed, 17 Aug 2005 15:38:31 +0000 (15:38 +0000)]
- initialize namesize var to fix gcc's warning

18 years ago- minor message correction
alex [Wed, 17 Aug 2005 15:37:17 +0000 (15:37 +0000)]
- minor message correction

18 years agoBranch: HEAD
wangdi [Wed, 17 Aug 2005 15:25:24 +0000 (15:25 +0000)]
Branch: HEAD
the inflight page should also be teardown when unmount

18 years agob=7346
alex [Wed, 17 Aug 2005 14:41:55 +0000 (14:41 +0000)]
b=7346

 - debug addon

18 years agoBranch: HEAD
wangdi [Wed, 17 Aug 2005 13:00:24 +0000 (13:00 +0000)]
Branch: HEAD
for inactive tgts, we should clear l_ast_data too, thanks bzzz remind

18 years ago- more debug info of pipe feeding on client
yury [Wed, 17 Aug 2005 12:45:22 +0000 (12:45 +0000)]
- more debug info of pipe feeding on client

18 years agoBranch: HEAD
wangdi [Wed, 17 Aug 2005 09:45:52 +0000 (09:45 +0000)]
Branch: HEAD
revert LBUG back in target_recovery_thread

18 years agoBranch: HEAD
wangdi [Wed, 17 Aug 2005 09:32:06 +0000 (09:32 +0000)]
Branch: HEAD
land ost add/del to HEAD

18 years agofile kjournald_affinity.patch was initially added on branch b1_4.
adilger [Wed, 17 Aug 2005 09:06:39 +0000 (09:06 +0000)]
file kjournald_affinity.patch was initially added on branch b1_4.

18 years agob=7268
alex [Wed, 17 Aug 2005 08:30:52 +0000 (08:30 +0000)]
b=7268

 - additional debug info

18 years ago- returned back not needed changes committed unintentionaly.
yury [Tue, 16 Aug 2005 15:13:55 +0000 (15:13 +0000)]
- returned back not needed changes committed unintentionaly.

18 years ago- small cleanups in cobd
yury [Tue, 16 Aug 2005 14:55:10 +0000 (14:55 +0000)]
- small cleanups in cobd
- added a patch for debugging write gaps (av. gap time and sum gaps time)

18 years agoadd some debug message
ericm [Tue, 16 Aug 2005 02:16:57 +0000 (02:16 +0000)]
add some debug message

18 years ago- drop dchild to NULL in order to prevent further access at cleanup
alex [Mon, 15 Aug 2005 22:00:00 +0000 (22:00 +0000)]
- drop dchild to NULL in order to prevent further access at cleanup

18 years ago- pass connect flag claiming llite is a client
alex [Mon, 15 Aug 2005 21:56:46 +0000 (21:56 +0000)]
- pass connect flag claiming llite is a client

18 years agoBranch b1_4
adilger [Mon, 15 Aug 2005 21:02:18 +0000 (21:02 +0000)]
Branch b1_4
Allow tests to optionally be built with cray portals.
b=7117
r=bogl

18 years ago- removed not needed filter_group_set_fs_flags()
yury [Mon, 15 Aug 2005 10:04:48 +0000 (10:04 +0000)]
- removed not needed filter_group_set_fs_flags()
- small cleanups, more detailed error messages, fied error codes in ost_rec_create_pack(),
  fixed mixed declations and non declation stuff in osc_get_info()

18 years agoBranch: HEAD
wangdi [Mon, 15 Aug 2005 08:18:26 +0000 (08:18 +0000)]
Branch: HEAD
1) add mks type in sanity-crypto.sh
2) fix decrypt problem in mks type

18 years agoBranch: HEAD
wangdi [Sun, 14 Aug 2005 17:55:12 +0000 (17:55 +0000)]
Branch: HEAD

should reset the mem to 0, if not get the indicated next block.
which should fix the audit log oops.

18 years ago- per-inode wait queue to wait for I/O completion
alex [Sun, 14 Aug 2005 14:44:59 +0000 (14:44 +0000)]
- per-inode wait queue to wait for I/O completion
- never leave non-handled close works (in close thread)

18 years ago- as we don't use Writeback bit in 2.6, we need other way for sync I/O.
alex [Sun, 14 Aug 2005 14:40:50 +0000 (14:40 +0000)]
- as we don't use Writeback bit in 2.6, we need other way for sync I/O.
  let's do that in ll_writepages(). otherwise, igrab() from I/O completion
  can find inode being freed

18 years agob=7312
alex [Sun, 14 Aug 2005 11:32:29 +0000 (11:32 +0000)]
b=7312

 - open file by fid in REPLAY|RESENT case because parent can disapper by
   that time

18 years agob=7214
tappro [Sun, 14 Aug 2005 09:07:46 +0000 (09:07 +0000)]
b=7214
- fix the getting own nid - use PtlGetId now

18 years ago- unset smfs flags on PENDING dir and 'O' dir on OSS.
tappro [Sat, 13 Aug 2005 19:16:56 +0000 (19:16 +0000)]
- unset smfs flags on PENDING dir and 'O' dir on OSS.
- set smfs flags on group subdirs

18 years agob=7049
alex [Sat, 13 Aug 2005 13:40:42 +0000 (13:40 +0000)]
b=7049
b=7085

 - port old fixes from b1_4 to HEAD (extents related)
 - unify extents & fsfilt codebase with fsfilt

18 years agob=7214
tappro [Sat, 13 Aug 2005 12:53:31 +0000 (12:53 +0000)]
b=7214
- fix wrong record length

18 years ago- added error messages about failures in setting EAs
yury [Sat, 13 Aug 2005 12:09:58 +0000 (12:09 +0000)]
- added error messages about failures in setting EAs
- changes in test45.sh

18 years ago- minor fix, added portals/type.h
yury [Sat, 13 Aug 2005 12:08:25 +0000 (12:08 +0000)]
- minor fix, added portals/type.h

18 years agob=7214
tappro [Sat, 13 Aug 2005 10:54:27 +0000 (10:54 +0000)]
b=7214
- store node id in audit records on OSS
- move audit hook from filter_commitrw() to fsfilt_smfs_map_inode_pages()
- fix invalid nid in osc_get_info()
- rework stat/open audit hooks to store file lustre id, not parent one
- audit errors while stat/open

18 years agofix default path for lacl_upcall.
ericm [Fri, 12 Aug 2005 23:52:48 +0000 (23:52 +0000)]
fix default path for lacl_upcall.

18 years agor=adilger
alex [Fri, 12 Aug 2005 21:35:11 +0000 (21:35 +0000)]
r=adilger

- two equal statements in a row

18 years agovarious message adjustment (more verbose) for remote acl upcall and lsd
ericm [Fri, 12 Aug 2005 21:35:03 +0000 (21:35 +0000)]
various message adjustment (more verbose) for remote acl upcall and lsd
upcalls, for debugging.

18 years agob=7272
alex [Fri, 12 Aug 2005 21:32:49 +0000 (21:32 +0000)]
b=7272

 - additional debug

18 years agoBranch b1_4
adilger [Fri, 12 Aug 2005 19:05:21 +0000 (19:05 +0000)]
Branch b1_4
Put only the filenames into the cvs-merge-conflicts file, so that
vi `cat cvs-merge-conflicts` works.

18 years ago- ph_subsys can be 7 symbols in HEAD
alex [Fri, 12 Aug 2005 19:01:54 +0000 (19:01 +0000)]
- ph_subsys can be 7 symbols in HEAD

18 years agodo reverse idmapping for remote perm fetch.
ericm [Fri, 12 Aug 2005 18:52:50 +0000 (18:52 +0000)]
do reverse idmapping for remote perm fetch.

18 years agofix someone's typo.
ericm [Fri, 12 Aug 2005 17:36:56 +0000 (17:36 +0000)]
fix someone's typo.

18 years ago- two ASSERTs int filter_parent() changed to ASSERTF with failed values for debug...
yury [Fri, 12 Aug 2005 15:15:33 +0000 (15:15 +0000)]
- two ASSERTs int filter_parent() changed to ASSERTF with failed values for debug purposes.

18 years ago- expanded error message in lov md sanity check function.
yury [Fri, 12 Aug 2005 13:29:02 +0000 (13:29 +0000)]
- expanded error message in lov md sanity check function.

18 years ago- fixed memory leak in ll_setxattr_internal()
yury [Fri, 12 Aug 2005 12:36:43 +0000 (12:36 +0000)]
- fixed memory leak in ll_setxattr_internal()

18 years ago- many fixes about using ENTRY, RETURN, GOTO and EXIT.
yury [Fri, 12 Aug 2005 12:21:14 +0000 (12:21 +0000)]
- many fixes about using ENTRY, RETURN, GOTO and EXIT.
- md_close() chnaged to use mdc_op_data like other md_* functions instead of using obdo.
- fixed prototype declaration for llapi_lov_get_uuids() - bug #6900
- fixed error message in ll_gns_mount_object() - bug #7146

- a lot of fixes about memory allocation/freeing:
  - checks is memory is actually allocated by OBD_ALLOC() before sing it and do appropriate
    actions otherwise.

  - fixed many leaks on error paths.
  - fixed missed OBD_FREE(capa_hash) in capa_cache_cleanup()

- fixed few on stack allocatoins of mdc_op_data in new landed stuff.

- in smfs_mount_cache() fixes correct cleanup in the cases of memory allocation failures.
  Do mntput() for new mounted cache_mnt on error path.

- in smfs_umount_cache() nullify smb->smsi_cache_ftype and smb->smsi_ftype after freeing
  them, to prevent attempt to free again if smfs_umount_cache() is called second time.

18 years agorevert previous commit: only transfer one record once time
niu [Fri, 12 Aug 2005 08:08:15 +0000 (08:08 +0000)]
revert previous commit: only transfer one record once time

18 years agomore of b7300: fix (actually hack around) the getattr reply buffer
ericm [Fri, 12 Aug 2005 07:12:41 +0000 (07:12 +0000)]
more of b7300: fix (actually hack around) the getattr reply buffer
positioning: make remote acl always occupy 2 buffers, just like local
acl.

18 years ago- don't call obd_set_info() on the NULL mdc export on rename.
niu [Fri, 12 Aug 2005 06:17:18 +0000 (06:17 +0000)]
- don't call obd_set_info() on the NULL mdc export on rename.
- transfer only one audit record on one notify.
- make sure the connection has been established before using the mdc export on name reconstruction.

18 years agoBranch HEAD
wangdi [Fri, 12 Aug 2005 04:55:41 +0000 (04:55 +0000)]
Branch HEAD
add type check in set_crypt

18 years agoBranch: HEAD
wangdi [Fri, 12 Aug 2005 03:40:39 +0000 (03:40 +0000)]
Branch: HEAD
fix typo usage for set_crypt

18 years agoadd some error message, try to catch the occasional lsd upcall failure.
ericm [Thu, 11 Aug 2005 23:47:58 +0000 (23:47 +0000)]
add some error message, try to catch the occasional lsd upcall failure.

18 years agoBranch HEAD
adilger [Thu, 11 Aug 2005 20:03:10 +0000 (20:03 +0000)]
Branch HEAD
Disable hlist macros unless compiling liblustre.  In b1_4 there are compat
macros in lustre_compat25.h that handle difference between 2.4 and 2.6
kernels instead of defining replacement macros.

18 years agosuppress a unnecessary message.
ericm [Thu, 11 Aug 2005 18:09:48 +0000 (18:09 +0000)]
suppress a unnecessary message.

18 years agofix regression introduced by capabilities.
ericm [Thu, 11 Aug 2005 18:06:50 +0000 (18:06 +0000)]
fix regression introduced by capabilities.
b=7300

18 years ago- fixes for making liblustre at least buildable (including fixes to compilation bug...
yury [Thu, 11 Aug 2005 11:55:33 +0000 (11:55 +0000)]
- fixes for making liblustre at least buildable (including fixes to compilation bug found by Brian recently)

18 years ago- fixes needed for building liblustre
yury [Thu, 11 Aug 2005 11:52:47 +0000 (11:52 +0000)]
- fixes needed for building liblustre

18 years agoBranch: HEAD
wangdi [Thu, 11 Aug 2005 08:45:05 +0000 (08:45 +0000)]
Branch: HEAD
some fixes about crypto api
1)some fixes about init inode key
2)some fixes about compute new mac

18 years ago- set only LOV_EA in mds_reint_setattr() in the case of CMOBD reint as setting sid...
yury [Thu, 11 Aug 2005 07:32:52 +0000 (07:32 +0000)]
- set only LOV_EA in mds_reint_setattr() in the case of CMOBD reint as setting sid and pid will confuse master MDS.
- set mds_security to "null" in lustre_connect_mds() if not specified or panic is possible.

18 years agoLand b_release_1_4_4 onto HEAD (20050810_0253)
adilger [Wed, 10 Aug 2005 17:23:16 +0000 (17:23 +0000)]
Land b_release_1_4_4 onto HEAD (20050810_0253)
Check for error writing to acceptor $PIDFILE.
Accptor reports when it has exited to syslog, so we can trace if it is a
culprit in the "bind: address already in use" problem.
b=5509
b=7283

18 years agoBackout "liblustre now builds" commit. It breaks building in utils:
brian [Wed, 10 Aug 2005 17:16:58 +0000 (17:16 +0000)]
Backout "liblustre now builds" commit.  It breaks building in utils:
  ../../lustre/include/linux/lustre_sec.h:541: error: field `c_hash' has incomplete type

18 years agoBranch: HEAD
wangdi [Wed, 10 Aug 2005 14:08:05 +0000 (14:08 +0000)]
Branch: HEAD
some fixes about crypto api

18 years ago- many fixes in liblustre related stuff. By now liblustre is at least build-able...
yury [Wed, 10 Aug 2005 13:03:33 +0000 (13:03 +0000)]
- many fixes in liblustre related stuff. By now liblustre is at least build-able in HEAD.

18 years ago- check connection before calling obd_set_info to set ids on an specified mdc.
niu [Wed, 10 Aug 2005 10:17:59 +0000 (10:17 +0000)]
- check connection before calling obd_set_info to set ids on an specified mdc.
- typo fix in mds_set_info.

18 years agoBranch HEAD
adilger [Wed, 10 Aug 2005 07:05:06 +0000 (07:05 +0000)]
Branch HEAD
Bump keepalive interval to send fewer total keepalives.
Trying to determine if this is cause of BG/L EMAC "flood" issue at
cleanup time.

18 years ago- rc code is not failure is > 0
tappro [Tue, 9 Aug 2005 22:42:00 +0000 (22:42 +0000)]
- rc code is not failure is > 0
- only files on OSS should be audited
- audit_fill_id_rec is valid only on mds. Moved to mds_audit.c
- audit_ost_get_id() gets lustre id for OSS object for audit log

18 years ago* #ifdef for extra proc_dointvec parameter under linux 2.6.8 in ranal and
eeb [Tue, 9 Aug 2005 15:24:44 +0000 (15:24 +0000)]
*  #ifdef for extra proc_dointvec parameter under linux 2.6.8 in ranal and
   openibnal (bz 7217)

*  remove WIRE_ATTR from iibanl kib_md_t (it's not a wire struct)

18 years ago* fixed openibnal/iibnal wire structs to use WIRE_ATTR. This (for openibnal)
eeb [Tue, 9 Aug 2005 14:50:26 +0000 (14:50 +0000)]
*  fixed openibnal/iibnal wire structs to use WIRE_ATTR.  This (for openibnal)
   is part of a fix for bz 7217

18 years agoBranch HEAD
wangdi [Tue, 9 Aug 2005 14:26:52 +0000 (14:26 +0000)]
Branch HEAD
get the correct uid, gid and mode when compute the new acl

18 years agoLand b_hd_capa onto HEAD (20050809_1942)
lsy [Tue, 9 Aug 2005 12:04:07 +0000 (12:04 +0000)]
Land b_hd_capa onto HEAD (20050809_1942)

18 years ago- put fill fid in a punch request
alex [Tue, 9 Aug 2005 10:55:17 +0000 (10:55 +0000)]
- put fill fid in a punch request

18 years agoBranch: b_hd_crypto
wangdi [Tue, 9 Aug 2005 10:12:37 +0000 (10:12 +0000)]
Branch: b_hd_crypto
some fixes about crypto api
1)some debug info fix
2)reorganize the code for mds_set_gskey

18 years ago- add mountoptions argument to lmv.sh
tappro [Tue, 9 Aug 2005 05:32:49 +0000 (05:32 +0000)]
- add mountoptions argument to lmv.sh

18 years ago- let's learn where uninitialized objects come from
alex [Mon, 8 Aug 2005 23:15:01 +0000 (23:15 +0000)]
- let's learn where uninitialized objects come from

18 years agob=7277
tappro [Mon, 8 Aug 2005 23:03:16 +0000 (23:03 +0000)]
b=7277

dentry is used before initialization.