Whamcloud - gitweb
fs/lustre-release.git
19 years ago- dump log if OSC recovery takes too long
alex [Mon, 29 Aug 2005 10:28:16 +0000 (10:28 +0000)]
- dump log if OSC recovery takes too long

19 years agor=tappro
alex [Mon, 29 Aug 2005 09:49:28 +0000 (09:49 +0000)]
r=tappro

 - couple unused vars have been removed

19 years agoBranch: HEAD
wangdi [Mon, 29 Aug 2005 07:22:19 +0000 (07:22 +0000)]
Branch: HEAD
revert back the fix for b7379, it is not right.

19 years ago- fill io epoch in MDS_CLOSE only if file is writtable
alex [Sun, 28 Aug 2005 17:57:15 +0000 (17:57 +0000)]
- fill io epoch in MDS_CLOSE only if file is writtable

19 years ago- set and check io epoch only for writtable files
alex [Sun, 28 Aug 2005 13:16:48 +0000 (13:16 +0000)]
- set and check io epoch only for writtable files

19 years agob=7412
alex [Sun, 28 Aug 2005 13:14:33 +0000 (13:14 +0000)]
b=7412
r=ericm

 - keep FLSIZE for non-regular files

19 years agoBranch: HEAD
wangdi [Sun, 28 Aug 2005 02:56:22 +0000 (02:56 +0000)]
Branch: HEAD
a tmp fix for b7379.

19 years agoa minor reorganization of capability code.
lsy [Sat, 27 Aug 2005 10:15:23 +0000 (10:15 +0000)]
a minor reorganization of capability code.
some cleanup.

19 years agob=7390
tappro [Fri, 26 Aug 2005 12:59:06 +0000 (12:59 +0000)]
b=7390
previous fix was wrong

19 years agob=7390
tappro [Fri, 26 Aug 2005 11:48:04 +0000 (11:48 +0000)]
b=7390

- enable audit on every child in dir while setting audit on that dir.

19 years ago- fix case when inode can be NULL.
tappro [Fri, 26 Aug 2005 11:44:26 +0000 (11:44 +0000)]
- fix case when inode can be NULL.

19 years agob=7390
tappro [Fri, 26 Aug 2005 11:42:29 +0000 (11:42 +0000)]
b=7390
- add special handler for auditing access failures

19 years ago- all stats gatherd in OSC debugging time (cache loading, etc.) moved to proc. Added...
yury [Fri, 26 Aug 2005 08:53:03 +0000 (08:53 +0000)]
- all stats gatherd in OSC debugging time (cache loading, etc.) moved to proc. Added new proc file ./cache_stats showing them.
- some RPCs related new stats added to ./rpc_stats

19 years agobranch: HEAD
wangdi [Fri, 26 Aug 2005 03:45:05 +0000 (03:45 +0000)]
branch: HEAD
some updates in sanity-crypto.sh

19 years agoshouldn't touch this.
lsy [Thu, 25 Aug 2005 14:55:33 +0000 (14:55 +0000)]
shouldn't touch this.

19 years agofixes:
lsy [Thu, 25 Aug 2005 14:52:52 +0000 (14:52 +0000)]
fixes:
* previous implementation doesn't support multi-open/truncate by different
  users on the same inode.
* update DLD.
* cleanup.

19 years agofix for namelen used for audit purposes.
tappro [Thu, 25 Aug 2005 12:58:02 +0000 (12:58 +0000)]
fix for namelen used for audit purposes.

19 years agob=7390
tappro [Thu, 25 Aug 2005 09:41:12 +0000 (09:41 +0000)]
b=7390
- move reint auditing into mds_audit
- auth audit should use child inode if it exists to recognize correct audit setting

19 years agob=7390
tappro [Thu, 25 Aug 2005 09:36:28 +0000 (09:36 +0000)]
b=7390
audit on file didn't work on unlink due to loss of audit setting. Now audit mask is saved in smfs_inode_info also.

19 years agoBranch: HEAD
wangdi [Thu, 25 Aug 2005 07:07:27 +0000 (07:07 +0000)]
Branch: HEAD
b7148 typo fix

19 years ago- returned back grant related changes moved from 1_4 as they seem cause issues with #45
yury [Thu, 25 Aug 2005 06:34:25 +0000 (06:34 +0000)]
- returned back grant related changes moved from 1_4 as they seem cause issues with #45

19 years agoBranch: HEAD
wangdi [Thu, 25 Aug 2005 06:28:16 +0000 (06:28 +0000)]
Branch: HEAD
tmp hack fix for b7148, now we use confobd to write config log, so mds_config_version
is useless in config log name defination. Remove it temporarily.
b7148

19 years agob=7178
alex [Wed, 24 Aug 2005 21:49:24 +0000 (21:49 +0000)]
b=7178
r=tappro

 - avoid possibility to FLSIZE being sent back to client w/o checking

19 years agob=7178
alex [Wed, 24 Aug 2005 21:31:01 +0000 (21:31 +0000)]
b=7178

 - let's try to catch the case when late MDS_CLOSE updates attrs. from
   out-of-date i/o epoch

19 years agofile random-reads.c was initially added on branch b1_4.
nikita [Wed, 24 Aug 2005 19:27:03 +0000 (19:27 +0000)]
file random-reads.c was initially added on branch b1_4.

19 years ago- returned back OSC dirty size.
yury [Wed, 24 Aug 2005 14:05:51 +0000 (14:05 +0000)]
- returned back OSC dirty size.
- enabled filter_tally_write() to have brw_stats on OST

19 years agoBranch: HEAD
wangdi [Wed, 24 Aug 2005 09:45:12 +0000 (09:45 +0000)]
Branch: HEAD
b7375
when decrypt page, should decrypt the whole page array, not only the first
page

19 years agob=7356
alex [Wed, 24 Aug 2005 04:36:29 +0000 (04:36 +0000)]
b=7356

 - we should allow processing for request being resent during request
   replay stage. but we may do that only when all clients are connected
   (or after evicting clients that haven't connect in time)

19 years agoBranch: HEAD
wangdi [Wed, 24 Aug 2005 03:33:33 +0000 (03:33 +0000)]
Branch: HEAD
add lmv_precleanup for cleanup llog for lmv

19 years agob=7391
tappro [Tue, 23 Aug 2005 15:11:58 +0000 (15:11 +0000)]
b=7391
lctl fix for setattr
remove unused symlink opcode

19 years agoremove unused variable
tappro [Tue, 23 Aug 2005 15:08:25 +0000 (15:08 +0000)]
remove unused variable

19 years agob=7214
tappro [Tue, 23 Aug 2005 08:40:34 +0000 (08:40 +0000)]
b=7214
- fix duplicate name in open/stat auditing. Name is needed only if lustre id cannot be saved.

19 years agoset fsuid upon readpage.
lsy [Tue, 23 Aug 2005 06:26:36 +0000 (06:26 +0000)]
set fsuid upon readpage.

19 years agoadd "blacklist" support into OSS capabilities.
ericm [Tue, 23 Aug 2005 03:48:48 +0000 (03:48 +0000)]
add "blacklist" support into OSS capabilities.

19 years agoAdd LNET CVS Repository Support
pjkirner [Mon, 22 Aug 2005 23:47:06 +0000 (23:47 +0000)]
Add LNET CVS Repository Support

19 years agoremove some temporary debug msgs.
ericm [Mon, 22 Aug 2005 21:13:47 +0000 (21:13 +0000)]
remove some temporary debug msgs.

19 years agofew changes for debug purposes in OSC:
yury [Mon, 22 Aug 2005 16:54:08 +0000 (16:54 +0000)]
few changes for debug purposes in OSC:
- increased number in flight requests by factor 2. Thus twise is increased cl_dirty_max (in fact cache size)
- disabled check for in flight requests in osc_check_rpcs() - number of in flight RPCs is limited anyway by ->cl_dirty_max

19 years ago- added CERROR LBUG in filter_grant_check() from 1_4
yury [Mon, 22 Aug 2005 14:46:58 +0000 (14:46 +0000)]
- added CERROR LBUG in filter_grant_check() from 1_4

19 years ago- added missed fix to osc_exit_cache() from 1_4. It updates lost_grant mor carefuly...
yury [Mon, 22 Aug 2005 14:28:25 +0000 (14:28 +0000)]
- added missed fix to osc_exit_cache() from 1_4. It updates lost_grant mor carefuly what is important for cases when blocksize is not equal to page size.
- fixed warning about init of var in llog test stuff.

19 years ago- added more debug in osc. Currently two ideas are working for checks why osc does...
yury [Mon, 22 Aug 2005 11:57:40 +0000 (11:57 +0000)]
- added more debug in osc. Currently two ideas are working for checks why osc does not give desired band:

(1) cache size is choosen kind of cumbersome way and not enough, what makes writing thread waiting for cache in osc_enter_cache(). Cache size curremtly does not depend on how good wire is able to send RPCs to remote node what seems to be an artificial limit in some cases. If this is so, the fix would be to adjust cache size depending on much it is needed. This however does not explain why second subtest suffers from slowdown whereas first one does not.

(2) due to some reasons (limited cache or limited grant from OST) many async RPCs are falled back to synchronous IO what makes substential slowdown.

Added debug on real cluster should show what is going on there. Idea that issue on server has a little chance to be true, as server uses direct IO and there is almost not ability to be slowed down due to some cache issues, etc.

19 years ago* simplified gmnal thread startup/shutdown
eeb [Mon, 22 Aug 2005 11:42:01 +0000 (11:42 +0000)]
*   simplified gmnal thread startup/shutdown

19 years agowhile sanity test60 uninitialized llog_cookie in llog_test_4() can invoke assertion...
tappro [Mon, 22 Aug 2005 11:21:59 +0000 (11:21 +0000)]
while sanity test60 uninitialized llog_cookie in llog_test_4() can invoke assertion in llog_cat_current_log()

19 years ago* gmnal: removed spinlock round GM API calls that don't need to be serialised
eeb [Mon, 22 Aug 2005 10:58:22 +0000 (10:58 +0000)]
*   gmnal: removed spinlock round GM API calls that don't need to be serialised
    (they'd been added "blindly" previously)

*   gmnal netregression ran for 36 hours.

19 years ago- fixes about cobd_switch() which caused issues with cleanup:
yury [Mon, 22 Aug 2005 09:48:30 +0000 (09:48 +0000)]
- fixes about cobd_switch() which caused issues with cleanup:

  - avoid double connections to choosen export due to using lctl on umounted client (1st connection) and after that mount the client (2nd connection). Avoid double EA init along with double connection.

  - disconnect correct export on cobd_disconnect()

- avoid possible oops on double cobd_cleanup() due to freed cmobd->write_srv, but not zerod out after that.
- in cobd_switch() set ->cache_on field into new value only if COBD_CONNECT or COBD_SWITCH bias is specified.

- in LMV and LOV in lconf cleanup LMV and LOV first and after that cleanup all their targets. This is because LMV, etc. cleanup needs targets OBD attached, with correct obd_name, etc. This fixes prevents oops in disconnect time whrn using test45 configuration.

19 years agofixes:
lsy [Mon, 22 Aug 2005 08:31:00 +0000 (08:31 +0000)]
fixes:
* pack fid for direct io.
* seperate verify_fid from verify_capa to fully support truncate.
* debug message cleanup.

19 years agosanity test58 was failed due to structures changing. Setting proper values did fix...
tappro [Mon, 22 Aug 2005 07:41:59 +0000 (07:41 +0000)]
sanity test58 was failed due to structures changing. Setting proper values did fix that.

19 years agob=7354
tappro [Sun, 21 Aug 2005 22:56:12 +0000 (22:56 +0000)]
b=7354
 smfs didn't update backfs file pos with smfs file pos value before operation. This were critical for llog processing in some situations.

19 years agoBranch: HEAD
wangdi [Sun, 21 Aug 2005 06:32:18 +0000 (06:32 +0000)]
Branch: HEAD
comment out llog_init in lmv_add_mdc, because we already do llog_init in mdc_setup

19 years agoBranch HEAD
wangdi [Sat, 20 Aug 2005 19:37:38 +0000 (19:37 +0000)]
Branch HEAD
land add mds code to HEAD

19 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.

19 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.

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

19 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

19 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

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

19 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)

19 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

19 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.

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

19 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.

19 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

19 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

19 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.

19 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

19 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

19 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)

19 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

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

 - check lop body as well

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

 - couple LASSERTs to catch use-after-free

19 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

19 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

19 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

19 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.

19 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

19 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

19 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

19 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

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

19 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

19 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

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

19 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

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

 - debug addon

19 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

19 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

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

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

19 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.

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

 - additional debug info

19 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.

19 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)

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

19 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

19 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

19 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

19 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()

19 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

19 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.

19 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)

19 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