Whamcloud - gitweb
fs/lustre-release.git
20 years agoThis commit was manufactured by cvs2svn to create branch 'b_release_1_4_2'.
cvs2svn [Thu, 5 May 2005 18:25:03 +0000 (18:25 +0000)]
This commit was manufactured by cvs2svn to create branch 'b_release_1_4_2'.

20 years agoBranch: b1_4
adilger [Thu, 5 May 2005 18:25:02 +0000 (18:25 +0000)]
Branch: b1_4
Make it easier to see dev_read_only set on device.

20 years agosync tree
jacob [Thu, 5 May 2005 18:18:12 +0000 (18:18 +0000)]
sync tree

20 years agoBranch: b1_4
adilger [Thu, 5 May 2005 18:12:01 +0000 (18:12 +0000)]
Branch: b1_4
Placeholder from b_cray so it doesn't get reused.

20 years agob=5902
phil [Thu, 5 May 2005 18:07:11 +0000 (18:07 +0000)]
b=5902
Remove the tcp-zero-copy patch from the 2.4.21-suse-171 series.  We are
virtually certain that the corruption is caused in the TCP stack, and we are
completely unable to reproduce it with zero-copy disabled.  Because this series
is of almost zero interest, just remove the patch and move on.

20 years agoBranch: b1_4
adilger [Thu, 5 May 2005 18:01:27 +0000 (18:01 +0000)]
Branch: b1_4
Remove hopelessly obsolete test program.

20 years agoturn quadrics drivers on
jacob [Thu, 5 May 2005 17:47:32 +0000 (17:47 +0000)]
turn quadrics drivers on

20 years agoBranch: b1_4
adilger [Thu, 5 May 2005 17:44:17 +0000 (17:44 +0000)]
Branch: b1_4
Using 'lctl recover' should mark a device active if it was previously
deactivated.
Add some debugging to ptlrpc_pinger_main() to help analyse bug 5933.
b=5933
r=nathan

20 years agob=6233
jacob [Thu, 5 May 2005 17:41:08 +0000 (17:41 +0000)]
b=6233
originally from oleg, r=jacob

Build quota_context as part of ptlrpc, so it can be shared by the mds
and obdfilter without being linked into both, which sometimes causes
build failures on lester.

20 years agoBranch: b1_4
adilger [Thu, 5 May 2005 16:44:59 +0000 (16:44 +0000)]
Branch: b1_4
Bump the maximum number of devices as a short-term solution.  The long-term
solution to allocate these structs is under implementation but not ready
for a 1.4.2 release.
b=6242

20 years agob=6243
green [Thu, 5 May 2005 05:55:08 +0000 (05:55 +0000)]
b=6243
r=adilger

Correctly return zero-filled regions when doing reads of files with no objects.
Export clear_user_tt symbol in UML as it is now needed by lustre.

20 years agofix upcall cache: don't make acquiring entry expired too soon.
ericm [Thu, 5 May 2005 05:51:17 +0000 (05:51 +0000)]
fix upcall cache: don't make acquiring entry expired too soon.
b=6244

20 years agoadd qsnet patch for rhel-2.4.
jacob [Wed, 4 May 2005 23:04:04 +0000 (23:04 +0000)]
add qsnet patch for rhel-2.4.

20 years agoBranch: b1_4
adilger [Wed, 4 May 2005 21:28:01 +0000 (21:28 +0000)]
Branch: b1_4
Commit the routed.sh script to CVS for reference, remove old configs.

20 years agoupdate to latest errata; patches apply and no config changes needed
jacob [Wed, 4 May 2005 19:49:57 +0000 (19:49 +0000)]
update to latest errata; patches apply and no config changes needed

20 years agoBranch: b1_4
adilger [Wed, 4 May 2005 08:30:17 +0000 (08:30 +0000)]
Branch: b1_4
Don't clobber last_rcvd upon mds_client_add() failure.  This was caused by
bad error handling in mds_connect() not setting med_mcd = NULL after freeing
it, and then zeroing the "client data" at med_off = 0.  Includes test.
This commit adds some safety checks to {mds,filter}_finish_transno()
and reconciles the differences between the mds and obdfilter last_rcvd
functions.
b=6086
r=nathan

20 years agothat's just not going to work right
jacob [Tue, 3 May 2005 23:27:36 +0000 (23:27 +0000)]
that's just not going to work right

20 years agob=3031
jacob [Tue, 3 May 2005 22:32:46 +0000 (22:32 +0000)]
b=3031

 - clean more files at clean time

20 years agoperl got away from me
jacob [Tue, 3 May 2005 22:27:54 +0000 (22:27 +0000)]
perl got away from me

20 years agob=3031
jacob [Tue, 3 May 2005 22:16:17 +0000 (22:16 +0000)]
b=3031

 - this is what i should have done originally

20 years agob=3031
jacob [Tue, 3 May 2005 22:16:07 +0000 (22:16 +0000)]
b=3031

 - this is what i should have done originally

20 years agoBranch b1_4
nathan [Tue, 3 May 2005 22:13:12 +0000 (22:13 +0000)]
Branch b1_4
b=6223
Fix this related one too.

20 years agob=6223
nathan [Tue, 3 May 2005 21:54:49 +0000 (21:54 +0000)]
b=6223
This should fix the crash (need to use vfree, not kfree).  But it won't
allow lfs getstripe to work for 420 OSTs -- OBD_MAX_IOCTL_BUFFER of 8k allows a
max of around 180 OBDs.

20 years agooops
jacob [Tue, 3 May 2005 21:47:13 +0000 (21:47 +0000)]
oops

20 years agob=3031
jacob [Tue, 3 May 2005 21:46:47 +0000 (21:46 +0000)]
b=3031

 - remove .flags files on make clean

20 years agob=3031
jacob [Tue, 3 May 2005 21:46:41 +0000 (21:46 +0000)]
b=3031

 - remove .flags files on make clean

20 years agob=3031
jacob [Tue, 3 May 2005 21:43:50 +0000 (21:43 +0000)]
b=3031

 - nuke .flags files as well

20 years agob=3418
jacob [Tue, 3 May 2005 21:25:15 +0000 (21:25 +0000)]
b=3418

 - add dependencies on libs

20 years agob=3418
jacob [Tue, 3 May 2005 21:23:14 +0000 (21:23 +0000)]
b=3418

 - add dependencies on built libs

20 years agovanilla-2.4.29 support.
green [Tue, 3 May 2005 21:02:00 +0000 (21:02 +0000)]
vanilla-2.4.29 support.

20 years ago* 6241
eeb [Tue, 3 May 2005 15:58:06 +0000 (15:58 +0000)]
*    6241
     fixed bug in vibnal to do with mismatched RDMA fragments.  Manifest by
     lustre protocol errors when creating long symlinks so that the lustre
     request message size didn't fit in a vibnal immediate message (4K).

*    6010
     fix to prevent the LASSERT(0) in kqswnal_tx_done() if routing tables
     are set up incorrectly.

20 years agoBranch: b1_4
adilger [Fri, 29 Apr 2005 22:28:50 +0000 (22:28 +0000)]
Branch: b1_4
Add a similar fix to the mds_connect() to handle NULL connect data, in
case we ever use echo_client against the MDS.

Print out the request for bad connect requests so we can get the source NID.
This was happening at NCSA for a long time and no way to find which client
was trying to conenct.

20 years agor=phil
nic [Fri, 29 Apr 2005 22:00:13 +0000 (22:00 +0000)]
r=phil

only set data elements with a non-NULL data. this fixes echo_client connects

20 years agoBranch: b1_4
adilger [Fri, 29 Apr 2005 20:24:51 +0000 (20:24 +0000)]
Branch: b1_4
- don't reference lr_lvb_data until after we hold lr_lvb_sem
b=6170

20 years agothis got lost from b_bgl
jacob [Fri, 29 Apr 2005 18:48:50 +0000 (18:48 +0000)]
this got lost from b_bgl

20 years agomake getopt accept --with-linux, and teach the alphabet to whomever added --datestamp
jacob [Fri, 29 Apr 2005 18:40:13 +0000 (18:40 +0000)]
make getopt accept --with-linux, and teach the alphabet to whomever added --datestamp

20 years agoPatch for collect_pages_on_cpu() in tracefile.
liangzhen [Fri, 29 Apr 2005 07:47:10 +0000 (07:47 +0000)]
Patch for collect_pages_on_cpu() in tracefile.
(Wrong tage list is initialized)

Reviewd by Wangdi.

20 years agoBranch: b1_4
adilger [Thu, 28 Apr 2005 23:25:40 +0000 (23:25 +0000)]
Branch: b1_4
Fix compile warnings on 64-bit.

20 years agoBranch b1_4
nathan [Thu, 28 Apr 2005 22:02:49 +0000 (22:02 +0000)]
Branch b1_4
b=6151
utilities all want /dev/obd

20 years agomake it clear that this is a destructive test
adilger [Thu, 28 Apr 2005 21:18:36 +0000 (21:18 +0000)]
make it clear that this is a destructive test

20 years agoBranch: b1_4
adilger [Thu, 28 Apr 2005 20:00:21 +0000 (20:00 +0000)]
Branch: b1_4
Placeholders for constants already defined in b_cray.

20 years agoBranch: b1_4
adilger [Thu, 28 Apr 2005 19:50:10 +0000 (19:50 +0000)]
Branch: b1_4
On Altix PAGE_SIZE is #defined as getpagesize() in userspace and CPP
can't deal with that.  Instead, assume we are limited by the RPC size
and not the number of pages (which is currently true for any arch)
and don't use PAGE_SIZE in any CPP conditionals.

20 years agoBranch: b1_4
adilger [Thu, 28 Apr 2005 18:36:04 +0000 (18:36 +0000)]
Branch: b1_4
Fix quota test valid compile warnings.

20 years agoadd blank newbook template
nathan [Thu, 28 Apr 2005 17:00:55 +0000 (17:00 +0000)]
add blank newbook template

20 years agoBranch: b1_4
adilger [Thu, 28 Apr 2005 00:22:59 +0000 (00:22 +0000)]
Branch: b1_4
Free lsm if there was an error allocating lsr.

20 years agoBranch: b1_4
adilger [Thu, 28 Apr 2005 00:15:20 +0000 (00:15 +0000)]
Branch: b1_4
Define the quota constants for

20 years agoBranch: b1_4
adilger [Thu, 28 Apr 2005 00:03:30 +0000 (00:03 +0000)]
Branch: b1_4
Don't leave lock on resource list in ldlm_handle_enqueue() error path, as
that will LBUG when lock is destroyed.  Regression test for same.
b=6149, b=6184
r=phil (original patch)

20 years agoBranch: b1_4
adilger [Wed, 27 Apr 2005 21:19:05 +0000 (21:19 +0000)]
Branch: b1_4
Restore lov.sh testing to 5 OSTs.
b=4554

20 years agoChangelog update for commits on 6203, 5007
green [Wed, 27 Apr 2005 20:01:28 +0000 (20:01 +0000)]
Changelog update for commits on 6203, 5007

20 years agoBranch: b1_4
adilger [Wed, 27 Apr 2005 19:04:13 +0000 (19:04 +0000)]
Branch: b1_4
- reserve enough journal credits in fsfilt_start_log for setattr
b=4554

20 years agoBranch: b1_4
adilger [Wed, 27 Apr 2005 18:11:06 +0000 (18:11 +0000)]
Branch: b1_4
Improve lconf performance for large configurations by adding a cache
for lookups instead of searching the DB for each entry.
This sped up a 420-OST config --write-conf from 10h to 6 minutes...
b=6204
r=fergal (original patch)

20 years agob=6203,5654
green [Wed, 27 Apr 2005 17:35:37 +0000 (17:35 +0000)]
b=6203,5654
r=adilger
Release i_sem and i_alloc_sem prior to getting DLM lock in setattr_raw to
avoid lock inversion issues.

20 years agob=5538
ericm [Wed, 27 Apr 2005 10:59:28 +0000 (10:59 +0000)]
b=5538
by Nikita: fix group_info reference leak in pack_secdesc().

20 years agob=5907
green [Wed, 27 Apr 2005 08:22:11 +0000 (08:22 +0000)]
b=5907
r=adilger
Do not allow to remove mountpoints on lustre

20 years agobump version
jacob [Wed, 27 Apr 2005 04:27:28 +0000 (04:27 +0000)]
bump version

20 years ago- needless CWARN() removed
alex [Wed, 27 Apr 2005 03:30:42 +0000 (03:30 +0000)]
- needless CWARN() removed

20 years agob=6049
alex [Wed, 27 Apr 2005 03:18:37 +0000 (03:18 +0000)]
b=6049

 - handle final completion calls only

20 years agob=5786
jacob [Wed, 27 Apr 2005 01:04:12 +0000 (01:04 +0000)]
b=5786

 - add --disable-client and --disable-server configure options

20 years agofix non-quilt build
jacob [Wed, 27 Apr 2005 00:57:09 +0000 (00:57 +0000)]
fix non-quilt build

20 years agob=5782
jacob [Tue, 26 Apr 2005 23:53:29 +0000 (23:53 +0000)]
b=5782

 - added --disable-server and --disable-client configure options (5782)

20 years agob=5782
jacob [Tue, 26 Apr 2005 23:53:19 +0000 (23:53 +0000)]
b=5782

 - added --disable-server and --disable-client configure options (5782)

20 years agobe more quiet
jacob [Tue, 26 Apr 2005 23:47:20 +0000 (23:47 +0000)]
be more quiet

20 years agoremove leftover test
jacob [Tue, 26 Apr 2005 22:26:12 +0000 (22:26 +0000)]
remove leftover test

20 years agoadd LUSTRE_VERSION to .target files
jacob [Tue, 26 Apr 2005 22:05:07 +0000 (22:05 +0000)]
add LUSTRE_VERSION to .target files

20 years agob=6205
jacob [Tue, 26 Apr 2005 22:03:51 +0000 (22:03 +0000)]
b=6205
r=adilger

 - move the lustre kernel modules to their own package
 - lbuild now does 'make rpms' to build lustre modules, more or less
 - pass --with-linux to lbuild to build only lustre rpms against an
   existing kernel source tree
 - drop the lustre-ldap rpm

20 years agob=6205
jacob [Tue, 26 Apr 2005 22:03:38 +0000 (22:03 +0000)]
b=6205
r=adilger

 - move the lustre kernel modules to their own package
 - lbuild now does 'make rpms' to build lustre modules, more or less
 - pass --with-linux to lbuild to build only lustre rpms against an
   existing kernel source tree
 - drop the lustre-ldap rpm

20 years agob=5907
green [Tue, 26 Apr 2005 20:49:30 +0000 (20:49 +0000)]
b=5907
r=adilger
Do not unhash mountpoint dentries and silence error message

20 years agoBranch: b1_4
adilger [Tue, 26 Apr 2005 17:38:08 +0000 (17:38 +0000)]
Branch: b1_4
Quiet compile warning about unused lustre_delete_dquot().

20 years ago- improvements in sanity-gns.sh:
yury [Tue, 26 Apr 2005 14:50:53 +0000 (14:50 +0000)]
- improvements in sanity-gns.sh:
  - more smart way to check if fs is mounted
  - in test 2g checking GNS with recursive path where last dir is not suid bit marked - should fail to mount it

20 years ago- recursive chmod u+s for test 2g
yury [Tue, 26 Apr 2005 13:43:38 +0000 (13:43 +0000)]
- recursive chmod u+s for test 2g

20 years ago- added recursive chmod for test_2g
yury [Tue, 26 Apr 2005 13:34:31 +0000 (13:34 +0000)]
- added recursive chmod for test_2g

20 years ago- small fixes in sanity-gns.sh
yury [Tue, 26 Apr 2005 13:26:23 +0000 (13:26 +0000)]
- small fixes in sanity-gns.sh

20 years ago- removed not used stuff (@lld and gns_mount_finished completion). Last is because
yury [Tue, 26 Apr 2005 13:15:26 +0000 (13:15 +0000)]
- removed not used stuff (@lld and gns_mount_finished completion). Last is because
  none of thread needs to wait for mount completion in kernel space.

- small cleanups in ll_gns_mount_object(). Some checks for input invariants are
  moved after checking gns state. Fixes in comments.

- added the ability to disable GNS at all via /proc/.../gns_enabled. This is useful
  for some complex tests (like recursive suid marked .mntinfo dir) at least. May be
  useful for something else.

- added two new sanity tests to sanity-gns.sh:

  a) test 2g: mounting /mnt/lustre/gns_entry/.mntinfo/.mntinfo/.mntinfo/.mntinfo where
     only last entry is correct GNS mount object.

  b) test 2h: upcall script starts mounting in background and retuns with no waiting
     for mount command.

- in sanity tests disable GNS when preparing mount objects and mount points.

20 years agofile socknal_modparams.c was initially added on branch b_hd_newconfig.
eeb [Tue, 26 Apr 2005 02:52:38 +0000 (02:52 +0000)]
file socknal_modparams.c was initially added on branch b_hd_newconfig.

20 years agofile qswnal_modparams.c was initially added on branch b_hd_newconfig.
eeb [Tue, 26 Apr 2005 02:52:34 +0000 (02:52 +0000)]
file qswnal_modparams.c was initially added on branch b_hd_newconfig.

20 years ago- added more comments in GNS stuff about possible odd conditions
yury [Mon, 25 Apr 2005 16:52:59 +0000 (16:52 +0000)]
- added more comments in GNS stuff about possible odd conditions

20 years agoUpdate changelog with 6196 bugfix info
green [Mon, 25 Apr 2005 16:30:47 +0000 (16:30 +0000)]
Update changelog with 6196 bugfix info

20 years ago* fix for 5852: vibnal HIGHMEM issues. Ensure ia64 builds OK even
eeb [Mon, 25 Apr 2005 14:37:13 +0000 (14:37 +0000)]
*   fix for 5852: vibnal HIGHMEM issues.  Ensure ia64 builds OK even
    when CONFIG_HIGHMEM is set.

20 years ago- fix for #6202 accordingly to liangzhen@clusterfs.com patch
yury [Mon, 25 Apr 2005 10:31:50 +0000 (10:31 +0000)]
- fix for #6202 accordingly to liangzhen@clusterfs.com patch

20 years ago- fixes in filter_clear_page_cache() accordingly to green's patch.
yury [Mon, 25 Apr 2005 09:13:45 +0000 (09:13 +0000)]
- fixes in filter_clear_page_cache() accordingly to green's patch.

20 years agob=6196
green [Mon, 25 Apr 2005 08:40:36 +0000 (08:40 +0000)]
b=6196
r=adilger
For inodes with no ost objects call vmtruncate from inode_setattr() to update
inode->i_size, becasue size is only stored on MDS.

20 years ago- cleanups in comments, struct mtrack renamed to struct mem_track.
yury [Sun, 24 Apr 2005 10:52:15 +0000 (10:52 +0000)]
- cleanups in comments, struct mtrack renamed to struct mem_track.

- making lvfs_memdbg_show() show possible memory leaks warning even if
  memory allocation tracking is not enabled.

20 years agoBranch: b1_4
adilger [Sat, 23 Apr 2005 08:37:55 +0000 (08:37 +0000)]
Branch: b1_4
Put test58 files into a subdirectory.

20 years agoBranch: b1_4
adilger [Sat, 23 Apr 2005 08:08:06 +0000 (08:08 +0000)]
Branch: b1_4
Reduce number of files created because small test setups don't have so many
files and it doesn't really improve the test.  Also, checkstat will fail
if there are too many files on the command line.

20 years agoBranch: b1_4
adilger [Sat, 23 Apr 2005 00:15:10 +0000 (00:15 +0000)]
Branch: b1_4
Proper fix for hokey error message quieting hack, per Nathan's feedback.

20 years agoIf the kernel file isn't in KERNELDIR then try to wget it from our ftp server.
jacob [Fri, 22 Apr 2005 22:04:08 +0000 (22:04 +0000)]
If the kernel file isn't in KERNELDIR then try to wget it from our ftp server.

20 years agoBranch: b1_4
adilger [Fri, 22 Apr 2005 19:53:06 +0000 (19:53 +0000)]
Branch: b1_4
Fix thinko.

20 years agoBranch: b1_4
adilger [Fri, 22 Apr 2005 17:54:56 +0000 (17:54 +0000)]
Branch: b1_4
Print file/directory for failed ioctl.

20 years agoBranch: b1_4
adilger [Fri, 22 Apr 2005 17:54:23 +0000 (17:54 +0000)]
Branch: b1_4
Return a different error code than fail_abort so we know where this test failed.

20 years agoBranch: b1_4
adilger [Fri, 22 Apr 2005 17:46:54 +0000 (17:46 +0000)]
Branch: b1_4
Quiet noisy llog/filter_setattr messages caused by quota llog replay.

20 years agoBranch: b1_4
adilger [Fri, 22 Apr 2005 17:39:58 +0000 (17:39 +0000)]
Branch: b1_4
Improved error messages for debugging of recent problems.
Use a constant for the minimum acceptable LOV stripe size.
Return limit of stripe_size * num_stripes for default_striped files on 32-bit.

20 years agoBranch: b1_4
adilger [Fri, 22 Apr 2005 17:12:46 +0000 (17:12 +0000)]
Branch: b1_4
Initialize the blocksize for stat() for non-regular files.
b=6062

20 years agoland b_hd_sec onto HEAD:
ericm [Fri, 22 Apr 2005 16:50:01 +0000 (16:50 +0000)]
land b_hd_sec onto HEAD:
 * remote uid/gid handling
 * various gss fixes
 * fix broken local ACL

20 years agoBranch: b1_4
adilger [Fri, 22 Apr 2005 16:39:56 +0000 (16:39 +0000)]
Branch: b1_4
Create larger MDS by default in order to avoid OOS on the MDS because of
quota setattr records.
b=5893

20 years agoBranch b1_4
nathan [Fri, 22 Apr 2005 01:14:26 +0000 (01:14 +0000)]
Branch b1_4
b=5921
r=adilger
Land b1_4_5921 ping evictor

20 years ago- changes in MDAPI DLD - added subchapter about nested locks issue.
yury [Thu, 21 Apr 2005 15:57:40 +0000 (15:57 +0000)]
- changes in MDAPI DLD - added subchapter about nested locks issue.

- added more checks in GNS stuff:

  - check for zero len mount object (mostly admin friendly thing, to show that
    mount object is formed not correctly)

  - set default GNS callback to "/usr/sbin/gns_upcall"

  - added checks in lproc stuff:
    - gns object name should be differnt than upcall
    - gns timeout should be bigger than gns tick

20 years ago- fixed missed -1 in kernel_read()
yury [Thu, 21 Apr 2005 14:13:04 +0000 (14:13 +0000)]
- fixed missed -1 in kernel_read()

20 years ago- GNS thread should be stopped after llite in unregistered
yury [Thu, 21 Apr 2005 11:39:53 +0000 (11:39 +0000)]
- GNS thread should be stopped after llite in unregistered

20 years ago- fixes and improvements in GNS:
yury [Thu, 21 Apr 2005 11:38:17 +0000 (11:38 +0000)]
- fixes and improvements in GNS:

  - fixed reading of mount object. Should be read not more than PAGE_SIZE - 1,
    reserving one byte for terminating zero.

  - fixed read data zero terminating. Not data[PAGE_SIZE - 1] should be zeroed
    out, but rather zero should be put at the end of actual read data.

  - added one more test which tests how GNS will mount dentry when there is
    number of concurent thread creating entries in the same directory. test_3a

  - fixes in other sanity tests. When a test creates number of concurrent threads
    for checking something, it should wait their termination before getting
    execution result and possibly fail. Do not remove upcalls from /tmp to have
    the ability to look at them after failure.

20 years ago- fixes and cleanups in GNS:
yury [Thu, 21 Apr 2005 08:32:15 +0000 (08:32 +0000)]
- fixes and cleanups in GNS:

  - mounting only on lookup() control path (revalidate() for possible mounts always return 0).
    This makes it possible to use lookup_one_len() from ll_gns_mount_object(), as lookup
    control path protected parent.
  - on revalidate cause mount for possible mount points only if revalidate is successful
  - removed not used dentry marking with MOUNT_PENDING, etc