Whamcloud - gitweb
yury [Mon, 25 Apr 2005 10:31:50 +0000 (10:31 +0000)]
- fix for #6202 accordingly to liangzhen@clusterfs.com patch
yury [Mon, 25 Apr 2005 09:13:45 +0000 (09:13 +0000)]
- fixes in filter_clear_page_cache() accordingly to green's patch.
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.
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.
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
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
yury [Thu, 21 Apr 2005 14:13:04 +0000 (14:13 +0000)]
- fixed missed -1 in kernel_read()
yury [Thu, 21 Apr 2005 11:39:53 +0000 (11:39 +0000)]
- GNS thread should be stopped after llite in unregistered
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.
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
eeb [Wed, 20 Apr 2005 19:34:52 +0000 (19:34 +0000)]
* buildcvs changes having branched portals HEAD to b_hd_newconfig
lustre b1_4 to b1_4_newconfig
jacob [Wed, 20 Apr 2005 02:39:14 +0000 (02:39 +0000)]
we don't distribute the patched kernel, kernel patch, or src.rpm, so just don't do them at all anymore
jacob [Tue, 19 Apr 2005 23:55:57 +0000 (23:55 +0000)]
add support for sles 8:
- new target for sles 8 kernel
- post(un) scripts for kernel rpms
- fixup quota build on sles 8 and sles 9
- update patches for a more recent sles 8 kernel
jacob [Tue, 19 Apr 2005 23:25:14 +0000 (23:25 +0000)]
b=b=6065
r=eeb
r=adilger
remove noops when stderr isn't present; just fail instead.
ericm [Tue, 19 Apr 2005 22:14:36 +0000 (22:14 +0000)]
from Brian: adjust default lsd location to /usr/sbin instead of /sbin/
yury [Tue, 19 Apr 2005 12:27:07 +0000 (12:27 +0000)]
- added comment in mds_open() and GNS mount points.
- cleanups in sanity-gns.sh
- added one more GNS test - mounting directory with absent mount object
yury [Tue, 19 Apr 2005 12:08:05 +0000 (12:08 +0000)]
- cosmetic changes in mdapi DLD
- more fixes in GNS stuff:
- fixes with refcount onto @dchild in ll_gns_mount_object() for error control paths
- fixing using accessing @dchild in the case of IS_ERR(dchild)
- disabled checking for GNS file in mds_open(), thus GNS mount points are also
opening by now. This is needed, because in taking lock we can't reliable to detect
GNS objects on MDS. Checking just suid bit and skip open such a dirs is not correct
as one may create structure like dir/dir/dir and mark all of them by suid.
- cleanups in sanity-gns.sh. Added few new tests for odd conditions like mount object
is symlink, dir, etc. Added test for changing mount object name to "." and "..".
Grouping tests into 2 groups:
(1) general GNS tests - mounting/umounting on timeout with different conditions
with possible deadlocks, races, etc.
(2) checking for odd conditions like recursive suid bit marked mount points, etc
yury [Mon, 18 Apr 2005 16:37:32 +0000 (16:37 +0000)]
- more fixes and improvements in GNS stuff:
- small optimization in ll_gns_wait_for_mount(), changing return code semantics to
usual 0 - ok, < 0 error.
- handled possible nested mount with returning -ERETSARTSYS and causing endless loop
of mounting.
- check if found mount object is regular file to prevent from evil cases like it is
suid bit marked directory, etc.
- fix with completting all waiters for dentry mounting in progress.
- added check for "." and ".." names in setting gns_object_name.
- fixed default gns_object_name value.
yury [Mon, 18 Apr 2005 12:40:50 +0000 (12:40 +0000)]
- fixed returning @retval in ll_lookup_it() in the case of -ERESTARTSYS
yury [Mon, 18 Apr 2005 12:38:33 +0000 (12:38 +0000)]
- fixed missed comma
yury [Mon, 18 Apr 2005 12:13:53 +0000 (12:13 +0000)]
- many fixes in GNS code after Nikita's code review. They are the following:
- removed ll_d_lookup() as it is not used anymore.
- removed struts from real_lookup() with calling revalidate() after lookup if dentry
is marked GNS_MOUNTING. By now all this dentry marking is not needed anymore.
- ll_gns_mount_object() is now called from ll_revalidate_it() and ll_lookup_it()
- fixed deadlock when one thread T1 waits for mount completion and another one T2
created by upcall script waits for dentry->d_inode->i_sem. By now -ERESTARTSYS
is returned for T2 and others and whren they restart syscall, dentry is mounted
already or some error occured and GNS state is READY for mount.
- fixes in comments and header of llite_gns.c
- fixed possible incorrect spin_unlock() in ll_gns_mount_object()
- using lookup_one_len() for looking for mount object instead of d_lookup() which
looks only in dcache.
- fixed handling of negative mount object dentry in ll_gns_mount_object()
- fixed readding mount object content. By now kernel_read() is used instead of
readpage approach.
- waking up all possible waiters on finishing GNS mount. Nevertheless in current
stuff nobody seem waits for mount (-RESTARTSYS is used instead), completion
exists and it is semanticaly correct to wake up all its waiters. In fact this
is needed for possible future using. If it happen that nobody will wait on it
and it is counted not needed, it will be removed.
ericm [Fri, 15 Apr 2005 22:22:57 +0000 (22:22 +0000)]
from Alex: temporarily fix for mds hanging on mountain: spinlock might
be called in interrupt context.
tappro [Wed, 13 Apr 2005 17:14:15 +0000 (17:14 +0000)]
smfs support in basic tests
MDS_BACKFSTYPE and OST_BACKFSTYPE are defined for this.
FSTYPE is ldiskfs for 2.6 kernel by default
yury [Wed, 13 Apr 2005 15:48:15 +0000 (15:48 +0000)]
- fix for sanityN.sh test_16 from Oleg (patch from #4982)
yury [Wed, 13 Apr 2005 15:25:46 +0000 (15:25 +0000)]
- default filesystem on 2.6.x is ldiskfs, not ext3
- small fix about check_type() function
tappro [Wed, 13 Apr 2005 13:02:39 +0000 (13:02 +0000)]
b=5881
-replace CERROR with CDEBUG()
-check strings before using.
tappro [Wed, 13 Apr 2005 12:23:46 +0000 (12:23 +0000)]
b=5881
remove untested stuff. Additional testing is needed at first.
yury [Wed, 13 Apr 2005 11:27:14 +0000 (11:27 +0000)]
- added patches from #5492 and 5654
tappro [Wed, 13 Apr 2005 10:08:34 +0000 (10:08 +0000)]
b=6143
r=wangdi
changes for smfs support:
1. realdev in prepare() is set to device name, not to 'smfs'. This fixes bug 6143.
2. backdev is not used, instead of it real device name used for --dev parameter in smfs configuration.
yury [Wed, 13 Apr 2005 09:49:50 +0000 (09:49 +0000)]
- compile fixes for --enable-liblustre
tappro [Wed, 13 Apr 2005 07:01:32 +0000 (07:01 +0000)]
b=5881
update kml and lru stuff in accordance with new DLD for SMFS
remove unused file journal.c
add changes to Makefile
using new options retrival method in smfs_lib
tappro [Wed, 13 Apr 2005 06:58:43 +0000 (06:58 +0000)]
b=5881
r=alex
changes related to iopen support, fc3 compatibility and new smfs plugin API
tappro [Wed, 13 Apr 2005 06:53:34 +0000 (06:53 +0000)]
b=5881
replace several 'if' that check non-allowed situations with LASSERT()
tappro [Wed, 13 Apr 2005 06:51:33 +0000 (06:51 +0000)]
b=5881
adding sets of smfs fsfilt methods
adds some new HOOKs
tappro [Wed, 13 Apr 2005 06:49:38 +0000 (06:49 +0000)]
b=5881
move smfs methods to smfs dir.
tappro [Wed, 13 Apr 2005 06:42:52 +0000 (06:42 +0000)]
b=5881
r=alex
d=24-33
support for iopen
FC3 compatibility
tappro [Wed, 13 Apr 2005 06:40:04 +0000 (06:40 +0000)]
b=5881
r=alex
d=24-33
support for iopen and cmd in smfs methods.
tappro [Wed, 13 Apr 2005 06:35:51 +0000 (06:35 +0000)]
b=5881
r=alex
d=26-33
support for iopen/cmd/wantedi for smfs
adilger [Tue, 12 Apr 2005 23:54:43 +0000 (23:54 +0000)]
Branch: b1_4_5921
Handle "./lustrecvs -r foo" instead of choking.
eeb [Tue, 12 Apr 2005 13:39:38 +0000 (13:39 +0000)]
* removed unused lib_nal_t abstraction
alex [Tue, 12 Apr 2005 13:05:21 +0000 (13:05 +0000)]
b=6136
r=<awaiting from eeb>
- use correspondent list anchor
eeb [Tue, 12 Apr 2005 10:59:46 +0000 (10:59 +0000)]
* fix for 4580 vibnal NULL deref in arp callback
yury [Sat, 9 Apr 2005 11:57:34 +0000 (11:57 +0000)]
- added sanity-gns.sh test_5a
wangdi [Fri, 8 Apr 2005 11:56:49 +0000 (11:56 +0000)]
Branch HEAD
add 2.6.10 fc3 kernel config
yury [Fri, 8 Apr 2005 08:24:21 +0000 (08:24 +0000)]
- fixed lossing error code in llog processing during zconf mount. This caused
accessing not initialized MDCs in the case of errors.
wangdi [Fri, 8 Apr 2005 07:46:17 +0000 (07:46 +0000)]
Branch: HEAD
1)minor fix and cleanup dev_rd_only kernel patch on HEAD
2)add sec support on kernel config
3)some cleanup
alex [Thu, 7 Apr 2005 16:40:42 +0000 (16:40 +0000)]
- disable CDEBUG() ratelimit for a while
wangdi [Thu, 7 Apr 2005 15:41:12 +0000 (15:41 +0000)]
Branch: HEAD
add signal bug fix to uml patch
yury [Thu, 7 Apr 2005 10:54:01 +0000 (10:54 +0000)]
- cleanups in sanity-gns.sh
yury [Thu, 7 Apr 2005 10:49:37 +0000 (10:49 +0000)]
- removed hardcoded checking for ".mntinfo" on MDS to see if we are trying to open GNS mount object. By now only suid bit on directory is checked. This should not break anything, as it is not used for any purpose.
- cleanups, moving not needed to be widely known llite functions to llite_internal.h
- added test_4a to sanity-gns.sh. It checks how GNS mounting works with 20 concurrent threads aiming to mount the same object.
wangdi [Thu, 7 Apr 2005 10:19:37 +0000 (10:19 +0000)]
Branch: HEAD
minor fix in lkcd patch
wangdi [Thu, 7 Apr 2005 09:13:45 +0000 (09:13 +0000)]
Branch: HEAD
some patches fix for lustre in FC3
adilger [Wed, 6 Apr 2005 23:43:55 +0000 (23:43 +0000)]
Branch: b1_4
- update gmnal to use PTL_MTU, fix module refcounting, for HP
b=5786
r=mdoyle (original patch)
wangdi [Wed, 6 Apr 2005 16:44:03 +0000 (16:44 +0000)]
Branch HEAD
update dev_read_only patch from b1_4, thanks for nathan's reminding
wangdi [Wed, 6 Apr 2005 16:25:49 +0000 (16:25 +0000)]
Branch: HEAD
minor fix in Makefile for uml patch
wangdi [Wed, 6 Apr 2005 16:18:43 +0000 (16:18 +0000)]
Branch: HEAD
add uml and vmware kernel config for FC3
wangdi [Wed, 6 Apr 2005 16:10:05 +0000 (16:10 +0000)]
Branch HEAD
add lustre FC3 series
wangdi [Wed, 6 Apr 2005 16:05:44 +0000 (16:05 +0000)]
Branch: HEAD
add FC3 kernel patches
adilger [Wed, 6 Apr 2005 11:57:42 +0000 (11:57 +0000)]
Branch: b_cray
Allow utils to be built with cray portals.
b=5918
r=bogl (original change)
eeb [Wed, 6 Apr 2005 11:40:59 +0000 (11:40 +0000)]
* Updated gmnalnid.c with patch from HP
eeb [Wed, 6 Apr 2005 10:49:52 +0000 (10:49 +0000)]
* changed vibnal compilation checks to allow gcc < 3.0.0 and
allow HIGHMEM4G on x86 (bug 5852)
eeb [Tue, 5 Apr 2005 20:33:42 +0000 (20:33 +0000)]
* bringing llmount.c up to date for RapidArray (XD1) and IB Nals
jacob [Tue, 5 Apr 2005 20:33:04 +0000 (20:33 +0000)]
b=5667
always include our local ioctl.h if _IOW isn't defined, which is
probably only catamount.
eeb [Tue, 5 Apr 2005 19:01:15 +0000 (19:01 +0000)]
* Updated lconf symbolic debug masks to be consistent with portals HEAD
eeb [Tue, 5 Apr 2005 17:54:32 +0000 (17:54 +0000)]
* 5852 vibnal highmem fix to always use page_to_phys() when calculating
physical memory addresses, but conditionally supress sign extension if
page_to_phys() returns a 32 bit address.
* removed confusing (and obsolete) use of vmalloc_to_page() in vibnal's
kibnal_kvaddr_to_page().
* removed some unused variables in vibnal
yury [Tue, 5 Apr 2005 15:25:17 +0000 (15:25 +0000)]
- cleanups in sanity-fid.sh
- added more tests into sanity-gns.sh, splitting general test onto few smaller ones.
eeb [Tue, 5 Apr 2005 10:44:21 +0000 (10:44 +0000)]
* fixed libcfs watchdog CWARN; units are mS, not uS
adilger [Tue, 5 Apr 2005 02:56:30 +0000 (02:56 +0000)]
Branch: b_cray
b=5915,6054
eeb [Tue, 5 Apr 2005 02:00:02 +0000 (02:00 +0000)]
* ranal connection setup changes from Igor (bug 5915)
jacob [Mon, 4 Apr 2005 23:36:27 +0000 (23:36 +0000)]
b1_4_bgl is dead
jacob [Mon, 4 Apr 2005 23:33:18 +0000 (23:33 +0000)]
land b1_4_bgl on HEAD (20050404_1913)
adilger [Mon, 4 Apr 2005 22:28:25 +0000 (22:28 +0000)]
Branch: b_cray
Grab new cray snapshot tags from same place as b_cray.
b=6053
yury [Mon, 4 Apr 2005 13:13:25 +0000 (13:13 +0000)]
- landed b_hd_cray_merge3
eeb [Mon, 4 Apr 2005 10:09:43 +0000 (10:09 +0000)]
* 5852 vibnal patch to detect __u64/void* vv_scatgat_t::v_address and
use appropriately for HIGHMEM support
jacob [Sat, 2 Apr 2005 01:08:42 +0000 (01:08 +0000)]
bail if we can't compile modules, and reorder uml check so that we can
nathan [Fri, 1 Apr 2005 00:20:05 +0000 (00:20 +0000)]
build all b1_4 derivatives with bgl portals
ericm [Thu, 31 Mar 2005 23:42:51 +0000 (23:42 +0000)]
since b_hd_sec has landed, all security branches should simply use
portals from HEAD now.
ericm [Thu, 31 Mar 2005 22:18:52 +0000 (22:18 +0000)]
land lustre part of b_hd_sec on HEAD.
ericm [Thu, 31 Mar 2005 21:55:51 +0000 (21:55 +0000)]
land portals part of b_hd_sec on HEAD.
eeb [Thu, 31 Mar 2005 16:50:04 +0000 (16:50 +0000)]
* 6020 openibnal CM callback fixes
- CM_ABORT + LASSERT(no more CM callbacks) on all CM errors before
connection is established.
- Show peer NID in all error messages on pathrecord/CM failures.
- Simplified kibnal_{peer_connect_failed,connreq_done} params.
- Fixed bug that would make ibc_connreq allocation failure LBUG.
- --connref in kibnal_connreq_done() moved to caller.
- Removed --connref race in established connection CM_IDLE callback.
eeb [Thu, 31 Mar 2005 10:33:38 +0000 (10:33 +0000)]
* Fix for 5998: LASSERT(kibnal_peer_active(peer))
eeb [Thu, 31 Mar 2005 10:29:47 +0000 (10:29 +0000)]
* Fixed bad LASSERT in qswnal (= instead of ==)
jacob [Wed, 30 Mar 2005 19:55:13 +0000 (19:55 +0000)]
we build this file on all rhel 2.6 as well
brian [Wed, 30 Mar 2005 19:40:10 +0000 (19:40 +0000)]
Replace /usr/sbin and /usr/bin filelists with wildcards.
eeb [Wed, 30 Mar 2005 18:06:51 +0000 (18:06 +0000)]
* Removed '-Wall' from ranal build
eeb [Wed, 30 Mar 2005 18:06:03 +0000 (18:06 +0000)]
* Fixed trailing ';' on #define PORTALS_CFG_VERSION
eeb [Wed, 30 Mar 2005 18:05:07 +0000 (18:05 +0000)]
* Changed --with-iib to allow a path to the installed Infinicon headers
jacob [Wed, 30 Mar 2005 17:08:43 +0000 (17:08 +0000)]
all aboard! next stop, testing your build before submitting requests to buffalo!
adilger [Wed, 30 Mar 2005 02:42:53 +0000 (02:42 +0000)]
Branch: b_cray
Remove l_getgroups from RPM build, as this is not present in any branch
except HEAD. We need some sort of simple configure test to determine if
this should be included in the RPM or not.
adilger [Wed, 30 Mar 2005 01:03:26 +0000 (01:03 +0000)]
Branch: b_cray
Quiet liblustre compile warning.
adilger [Tue, 29 Mar 2005 20:09:03 +0000 (20:09 +0000)]
Branch: b1_4
Ignore backup series files.
buffalo-pull [Tue, 29 Mar 2005 09:08:01 +0000 (09:08 +0000)]
Enable SMFS build.
Include /usr/sbin/l_getgroups in the RPM.
yury [Tue, 29 Mar 2005 08:45:22 +0000 (08:45 +0000)]
- update from HEAD.
buffalo-pull [Tue, 29 Mar 2005 08:14:23 +0000 (08:14 +0000)]
Need to include smfs_api.h in the distributed sources (i.e. make dist).
buffalo-pull [Tue, 29 Mar 2005 08:09:33 +0000 (08:09 +0000)]
HEAD is now at 1.7.0. Mostly cosmetic for building RPMS and so forth.
buffalo-pull [Tue, 29 Mar 2005 07:49:57 +0000 (07:49 +0000)]
Fix needed so make dist works again.
alex [Tue, 29 Mar 2005 07:09:20 +0000 (07:09 +0000)]
get rid of old wrong patch
green [Tue, 29 Mar 2005 06:00:51 +0000 (06:00 +0000)]
b1_4_quotaoff needs same portals as b1_4 too
jacob [Tue, 29 Mar 2005 05:27:18 +0000 (05:27 +0000)]
r=phil
remove unused files.
jacob [Tue, 29 Mar 2005 05:02:16 +0000 (05:02 +0000)]
Clean out this change in my tree; don't install the liblustre file.