Whamcloud - gitweb
cvs2svn [Fri, 19 Aug 2005 08:48:09 +0000 (08:48 +0000)]
This commit was manufactured by cvs2svn to create branch 'b_release_1_4_5'.
adilger [Fri, 19 Aug 2005 08:48:08 +0000 (08:48 +0000)]
Branch b1_4
Add some extra checks to recursive symlink test.
b=7022
adilger [Fri, 19 Aug 2005 08:40:36 +0000 (08:40 +0000)]
Branch b1_4
Update the kernel patch version for SLES9 kernels.
To be consistent, we revert the old version and apply whatever
the current version is.
adilger [Fri, 19 Aug 2005 08:13:51 +0000 (08:13 +0000)]
Branch b1_4
Description: Racing open + rm can assert client in mdc_set_open_replay_data()
Details : If lookup is in progress on a file that is unlinked we might try
to revalidate the inode and fail in revalidate after lookup is
complete and ll_file_open() enqueues the open again but
it_open_error() was not checking DISP_OPEN_OPEN errors correctly.
b=5479 b=6816
adilger [Fri, 19 Aug 2005 07:36:02 +0000 (07:36 +0000)]
Branch HEAD
Quiet compiler warnings on x86_64.
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.
adilger [Fri, 19 Aug 2005 07:26:48 +0000 (07:26 +0000)]
Branch b1_4
Don't override existing ALWAYS_EXCEPT on 2.6.
b=7311
yury [Fri, 19 Aug 2005 06:54:36 +0000 (06:54 +0000)]
- added more debug client side pipe related stuff
adilger [Fri, 19 Aug 2005 04:13:49 +0000 (04:13 +0000)]
Branch b1_4
Description: chmod/chown may include an extra supplementary group
Details : ll{,u}_mdc_pack_op_data() does not properly initialize the
supplementary group and if none is specified this is used.
Add check to mds_fix_attr() for only ATTR_GID being set.
b=7331
adilger [Fri, 19 Aug 2005 03:48:55 +0000 (03:48 +0000)]
Branch b1_4
Quiet compiler warning for liblustre.
adilger [Thu, 18 Aug 2005 23:20:46 +0000 (23:20 +0000)]
Branch b1_4
Fix valid compiler warning of unset variables.
b=7138
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
tappro [Thu, 18 Aug 2005 22:51:20 +0000 (22:51 +0000)]
b=7360
- wrong lustre_id was used in audit logging.
adilger [Thu, 18 Aug 2005 22:00:09 +0000 (22:00 +0000)]
Branch b1_4
Frequency : during shutdown only
Description: shutdown with a failed MDS or OST can cause unmount to hang
Details : Don't resend DISCONNECT messages in ptlrpc_disconnect_import()
if server is down.
b=6827
jacob [Thu, 18 Aug 2005 20:18:39 +0000 (20:18 +0000)]
fix possible double-version with suse kernels
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
alex [Thu, 18 Aug 2005 16:02:49 +0000 (16:02 +0000)]
- disable true sync back as it makes recovery more complex (I_LOCK)
alex [Thu, 18 Aug 2005 14:34:49 +0000 (14:34 +0000)]
- dump log about long syncing in worse cases only
alex [Thu, 18 Aug 2005 10:42:25 +0000 (10:42 +0000)]
b=7357
- check lop body as well
alex [Thu, 18 Aug 2005 10:36:44 +0000 (10:36 +0000)]
b=7357
- couple LASSERTs to catch use-after-free
wangdi [Thu, 18 Aug 2005 10:26:15 +0000 (10:26 +0000)]
Branch: HEAD
fix memory leak after land ost add/del
alex [Thu, 18 Aug 2005 10:16:44 +0000 (10:16 +0000)]
b=7356
- show error message always to simplify bug catching
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
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.
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
alex [Thu, 18 Aug 2005 06:22:38 +0000 (06:22 +0000)]
b=7346
- debug addon: track how long iget() and ll_writepages() take
wangdi [Thu, 18 Aug 2005 04:54:08 +0000 (04:54 +0000)]
Branch: HEAD
fix bug 7348, when chmod, should recompute mac
mjmac [Wed, 17 Aug 2005 21:13:34 +0000 (21:13 +0000)]
Guard against incorrect $RUNAS_ID shenanigans.
adilger [Wed, 17 Aug 2005 18:47:02 +0000 (18:47 +0000)]
Branch b1_4
Don't add primary group to groups list twice.
b=7331
eeb [Wed, 17 Aug 2005 18:35:20 +0000 (18:35 +0000)]
* running on 2 GM nodes @ HP
eeb [Wed, 17 Aug 2005 18:35:18 +0000 (18:35 +0000)]
* running on 2 GM nodes @ HP
mjmac [Wed, 17 Aug 2005 18:31:45 +0000 (18:31 +0000)]
Add warning to identify which UID is being used, if UID is not root.
wangdi [Wed, 17 Aug 2005 16:21:04 +0000 (16:21 +0000)]
Branch: HEAD
revert back ptldebug after merge.
alex [Wed, 17 Aug 2005 16:07:18 +0000 (16:07 +0000)]
- minor fixes against gcc's warnings
alex [Wed, 17 Aug 2005 15:38:31 +0000 (15:38 +0000)]
- initialize namesize var to fix gcc's warning
alex [Wed, 17 Aug 2005 15:37:17 +0000 (15:37 +0000)]
- minor message correction
wangdi [Wed, 17 Aug 2005 15:25:24 +0000 (15:25 +0000)]
Branch: HEAD
the inflight page should also be teardown when unmount
alex [Wed, 17 Aug 2005 14:41:55 +0000 (14:41 +0000)]
b=7346
- debug addon
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
yury [Wed, 17 Aug 2005 12:45:22 +0000 (12:45 +0000)]
- more debug info of pipe feeding on client
adilger [Wed, 17 Aug 2005 10:59:56 +0000 (10:59 +0000)]
Branch b1_4
Minor message cleanups.
wangdi [Wed, 17 Aug 2005 09:45:52 +0000 (09:45 +0000)]
Branch: HEAD
revert LBUG back in target_recovery_thread
wangdi [Wed, 17 Aug 2005 09:32:06 +0000 (09:32 +0000)]
Branch: HEAD
land ost add/del to HEAD
adilger [Wed, 17 Aug 2005 09:06:44 +0000 (09:06 +0000)]
Branch b1_4
NUMA CPU affinity patch for ext3 journal threads. Not in any series yet.
r=eeb
cvs2svn [Wed, 17 Aug 2005 09:06:40 +0000 (09:06 +0000)]
This commit was manufactured by cvs2svn to create 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.
alex [Wed, 17 Aug 2005 08:30:52 +0000 (08:30 +0000)]
b=7268
- additional debug info
nikita [Tue, 16 Aug 2005 15:51:05 +0000 (15:51 +0000)]
fix for bug 4843
yury [Tue, 16 Aug 2005 15:13:55 +0000 (15:13 +0000)]
- returned back not needed changes committed unintentionaly.
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)
mjmac [Tue, 16 Aug 2005 14:01:29 +0000 (14:01 +0000)]
Add command-line switch to specify number of iterations. Default is still
1000 loops.
ericm [Tue, 16 Aug 2005 02:16:57 +0000 (02:16 +0000)]
add some debug message
adilger [Tue, 16 Aug 2005 00:38:25 +0000 (00:38 +0000)]
Branch b1_4
Print units of jiffies in brw_stats output
b=7116
adilger [Mon, 15 Aug 2005 22:53:38 +0000 (22:53 +0000)]
Branch b1_4
Fix swabbing of the total inodes count for big-endian clients.
r=behlendorf
alex [Mon, 15 Aug 2005 22:00:00 +0000 (22:00 +0000)]
- drop dchild to NULL in order to prevent further access at cleanup
alex [Mon, 15 Aug 2005 21:56:46 +0000 (21:56 +0000)]
- pass connect flag claiming llite is a client
adilger [Mon, 15 Aug 2005 21:54:11 +0000 (21:54 +0000)]
Branch b1_4
Remove unused function, merge from HEAD.
adilger [Mon, 15 Aug 2005 21:49:14 +0000 (21:49 +0000)]
Branch b1_4
Make iozone O_DIRECT and multi-thread tests separate.
adilger [Mon, 15 Aug 2005 21:27:28 +0000 (21:27 +0000)]
Branch b1_4
Fix valid compile warning.
b=6902
adilger [Mon, 15 Aug 2005 21:16:54 +0000 (21:16 +0000)]
Branch b1_4
Bump the minimal acceptable kernel patch version a bit.
This is low enough that a 1.2.4-patched kernel could still run 1.4 with
the caveats that any of the newer bugs wouldn't be fixed.
b=7255
adilger [Mon, 15 Aug 2005 21:08:10 +0000 (21:08 +0000)]
Branch b1_4
Don't deref NULL dirent if allocation failure, merge from HEAD.
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
adilger [Mon, 15 Aug 2005 20:05:24 +0000 (20:05 +0000)]
Branch b1_4
Description: service threads change working directory to that of init
Details : Starting lustre service threads may pin the working directory
of the parent thread, making that filesystem busy. Threads
now change to the working directory of init to avoid this.
b=6273
green [Mon, 15 Aug 2005 10:35:00 +0000 (10:35 +0000)]
Branch: b1_4
b=7198
r=adilger
Do not double-query file size from OSTs during stat(2). This might slow
down things considerably if somebody actively writes to stat()ed files too.
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()
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
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.
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)
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
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
tappro [Sun, 14 Aug 2005 09:07:46 +0000 (09:07 +0000)]
b=7214
- fix the getting own nid - use PtlGetId now
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
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
tappro [Sat, 13 Aug 2005 12:53:31 +0000 (12:53 +0000)]
b=7214
- fix wrong record length
yury [Sat, 13 Aug 2005 12:09:58 +0000 (12:09 +0000)]
- added error messages about failures in setting EAs
- changes in test45.sh
yury [Sat, 13 Aug 2005 12:08:25 +0000 (12:08 +0000)]
- minor fix, added portals/type.h
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
ericm [Fri, 12 Aug 2005 23:52:48 +0000 (23:52 +0000)]
fix default path for lacl_upcall.
alex [Fri, 12 Aug 2005 21:35:11 +0000 (21:35 +0000)]
r=adilger
- two equal statements in a row
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.
alex [Fri, 12 Aug 2005 21:32:49 +0000 (21:32 +0000)]
b=7272
- additional debug
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.
alex [Fri, 12 Aug 2005 19:01:54 +0000 (19:01 +0000)]
- ph_subsys can be 7 symbols in HEAD
ericm [Fri, 12 Aug 2005 18:52:50 +0000 (18:52 +0000)]
do reverse idmapping for remote perm fetch.
jacob [Fri, 12 Aug 2005 18:42:30 +0000 (18:42 +0000)]
fix incorrect python
ericm [Fri, 12 Aug 2005 17:36:56 +0000 (17:36 +0000)]
fix someone's typo.
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.
yury [Fri, 12 Aug 2005 13:29:02 +0000 (13:29 +0000)]
- expanded error message in lov md sanity check function.
yury [Fri, 12 Aug 2005 12:36:43 +0000 (12:36 +0000)]
- fixed memory leak in ll_setxattr_internal()
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.
green [Fri, 12 Aug 2005 12:00:25 +0000 (12:00 +0000)]
Branch: b1_4
b=6902
r=adilger
Evict clients by NID from both MDS and active OSTs
niu [Fri, 12 Aug 2005 08:08:15 +0000 (08:08 +0000)]
revert previous commit: only transfer one record once time
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.
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.
wangdi [Fri, 12 Aug 2005 04:55:41 +0000 (04:55 +0000)]
Branch HEAD
add type check in set_crypt
wangdi [Fri, 12 Aug 2005 03:40:39 +0000 (03:40 +0000)]
Branch: HEAD
fix typo usage for set_crypt
ericm [Thu, 11 Aug 2005 23:47:58 +0000 (23:47 +0000)]
add some error message, try to catch the occasional lsd upcall failure.
adilger [Thu, 11 Aug 2005 22:19:14 +0000 (22:19 +0000)]
Branch b1_4
Description: liblustre clients evicted if not contacting servers
Details : Don't put liblustre clients into the ping_evictor list, so
they will not be evicted by the pinger ever. Tested by Sandia.
b=7137
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.
ericm [Thu, 11 Aug 2005 18:09:48 +0000 (18:09 +0000)]
suppress a unnecessary message.