Whamcloud - gitweb
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.
zhaoqiang [Tue, 29 Mar 2005 03:00:34 +0000 (03:00 +0000)]
Changelog:
- fill lib_qry_user()
- define ptl_netid_t
wangchao [Mon, 28 Mar 2005 06:22:02 +0000 (06:22 +0000)]
the basic code/patch for remote permission, including the fix for
defects 36-40 (because b_hd_acl was always not ready on b_hd_remote_uid,
the fix of the defects were on local).
d = 36-40
adilger [Sat, 26 Mar 2005 01:40:44 +0000 (01:40 +0000)]
Branch: b_cray
Fix liblustre test compilation because kmap is not defined (nor should it
be) for user-space NALs.
b=5878
r=gcc
adilger [Fri, 25 Mar 2005 22:51:03 +0000 (22:51 +0000)]
Branch: b1_4
The compatibility macro for cpu_online() had reversed parameters.
b=5929
r=fergal (original patch)
yury [Fri, 25 Mar 2005 13:46:03 +0000 (13:46 +0000)]
- fixed ability of variables being used uninitialized in mds_get_parent_child(ren)_locked()
d=85
yury [Fri, 25 Mar 2005 13:44:27 +0000 (13:44 +0000)]
- fixed ability of ret_mode being used uninitialized in mds_lock_mode_for_dir()
d=84
lsy [Fri, 25 Mar 2005 06:48:39 +0000 (06:48 +0000)]
Merge b1_4_quota from b1_4 (20050325_1039)
+ - mdc_enqueue does not need max_mds_easize request buffer on send (5707)
+ - swab llog records of type '0' so we get proper header size/idx (5861)
+ - send llog cancel req to DLM cancel portal instead of cb portal (5515)
+ - allow --write-conf on an MDS with different nettype than client (5619)
+ - don't write config llogs to MDS for mounts not from that MDS (5617)
+ - lconf should create multiple TCP connections from a client (5201)
+ - init scripts are now turned off by default; run chkconfig --on
+ lustre and chkconfig --on lustrefs to use them
+ - fix deadlock in obdfilter statistics vs. object create (5811)
+ - use time_{before,after} to avoid timer jiffies wrap (5882)
+ - shutdown --force/--failover stability (3607,3651,4797,5203,4834)
+ - Do not leak request if server was not able to process it (5154)
+ - If mds_open unable to find parent dir, make that negative lookup(5154)
+ - support for RHEL4 kernel on i686 (5773)
+ - provide error messages when incompatible logs are encountered (5898)
since b1_4_bgl landed on b1_4, b1_4_quota starts to use the same branch of portals.
jacob [Thu, 24 Mar 2005 22:58:03 +0000 (22:58 +0000)]
don't break things on purpose
jacob [Thu, 24 Mar 2005 22:51:10 +0000 (22:51 +0000)]
b1_4 lustre needs b1_4_bgl portals until after 1.4.2 is released
ericm [Thu, 24 Mar 2005 19:22:56 +0000 (19:22 +0000)]
branch: b_hd_acl
re-parent b_hd_acl to b_hd_sec, not test yet.
adilger [Wed, 23 Mar 2005 18:54:34 +0000 (18:54 +0000)]
Branch: HEAD
Move clearpatches.sh and confirmpatches.sh into build from lustre-core.
nic [Wed, 23 Mar 2005 04:16:57 +0000 (04:16 +0000)]
just set portals tag on any v1_4 build
tappro [Mon, 21 Mar 2005 22:29:24 +0000 (22:29 +0000)]
b=5881
r=alex
d=17
fix design defect. plugins are needed struct inode to check its flags
tappro [Mon, 21 Mar 2005 13:27:18 +0000 (13:27 +0000)]
b=5881
r=wangdi
small fixes to provide correct operation order, fix double messages due to using both RETURN and EXIT macro, always initialize several s_ops, plugin framework was added.
tappro [Mon, 21 Mar 2005 08:10:41 +0000 (08:10 +0000)]
edit code that was changed by latest commits