Whamcloud - gitweb
liangzhen [Wed, 1 Mar 2006 11:44:10 +0000 (11:44 +0000)]
Smallfix for building in x86_64.
isaac [Wed, 1 Mar 2006 07:26:40 +0000 (07:26 +0000)]
r=liangzhen
Without the 'W' flag, xnu bsd won't copy obd_ioctl_data into kernel space.
liangzhen [Tue, 28 Feb 2006 08:02:59 +0000 (08:02 +0000)]
Portability fix for updated b1_5.
ericm [Tue, 28 Feb 2006 00:51:08 +0000 (00:51 +0000)]
branch: b1_5
the rest part of fixes of merging from b1_4.
ericm [Mon, 27 Feb 2006 22:31:29 +0000 (22:31 +0000)]
branch: b1_5
- move definition of all device names to include/obd.h instead of
spreaded in include/obd_xx.h files. remove bunch of unnecessary
inclusions of lustre_mds.h and ost_ost.h.
ericm [Mon, 27 Feb 2006 21:43:11 +0000 (21:43 +0000)]
branch: b1_5
- lift include/linux/lustre_ver.h to include/lustre_ver.h.
- some other compile warning fixes.
ericm [Mon, 27 Feb 2006 20:53:36 +0000 (20:53 +0000)]
branch: b1_5
fix massive confliction during merge from b1_4.
ericm [Mon, 27 Feb 2006 02:42:23 +0000 (02:42 +0000)]
branch b1_5
- lustre/quota/Makefile.in somewhat get lost during merging from b_r_146
to b1_4. add it back.
ericm [Sun, 26 Feb 2006 23:06:34 +0000 (23:06 +0000)]
branch: b1_5
update from b1_4.
wangdi [Fri, 24 Feb 2006 13:15:20 +0000 (13:15 +0000)]
file ext3-filterdata-2.6.15.patch was added on branch b1_5 on 2006-05-30 15:53:48 +0000
liangzhen [Fri, 24 Feb 2006 10:17:14 +0000 (10:17 +0000)]
1. Add ioctl OBD_IOC_GETDEVICE to get device list, because Darwin user
can't get device list from /proc filesystem.
2. Smallfix for version command of lctl
3. Return value to Darwin should be positive value.
4. Add basic features for Darwin in lconf (load and unload echo).
liangzhen [Thu, 23 Feb 2006 10:04:44 +0000 (10:04 +0000)]
Resolve building problem of tests (fix from b_release_1_4_6)
isaac [Thu, 23 Feb 2006 08:28:15 +0000 (08:28 +0000)]
r=liangzhen
readline() should return NULL when EOF and the last line if empty, otherwise
Parser_commands() will loop forever waiting for a NULL return from readline().
liangzhen [Thu, 23 Feb 2006 03:38:34 +0000 (03:38 +0000)]
Implementation of inter-process mutex and condition:
Pthread_mutex_t and pthread_cond_t can only be used as inter-thread
synchronization in Darwin, they can't synchronize processes created
by fork() even in shared-memory.
Here we use named semphore to implement mutex and condition for
multi-process synchronization in Darwin.
nathan [Thu, 23 Feb 2006 00:44:36 +0000 (00:44 +0000)]
file 1uml.csv was added on branch b1_5 on 2006-04-27 23:51:36 +0000
wangdi [Wed, 22 Feb 2006 22:54:24 +0000 (22:54 +0000)]
file ext3-wantedi-2.6.15.patch was added on branch b1_5 on 2006-05-30 15:53:48 +0000
wangdi [Wed, 22 Feb 2006 22:54:18 +0000 (22:54 +0000)]
file ext3-extents-2.6.15.patch was added on branch b1_5 on 2006-05-30 15:53:47 +0000
liangzhen [Mon, 20 Feb 2006 09:32:44 +0000 (09:32 +0000)]
1. Fix to data copy of obdclass ioctl in Darwin.
2. smallfix to echo client.
liangzhen [Thu, 16 Feb 2006 03:43:24 +0000 (03:43 +0000)]
spinlock should be released while calling non-atomic OBD_ALLOC() & OBD_ALLOC_GFP()
nathan [Thu, 16 Feb 2006 00:06:15 +0000 (00:06 +0000)]
file verify_serviceIP.sh was added on branch b1_5 on 2006-04-27 23:51:36 +0000
nathan [Thu, 16 Feb 2006 00:06:10 +0000 (00:06 +0000)]
file verify_cluster_net.sh was added on branch b1_5 on 2006-04-27 23:51:36 +0000
nathan [Thu, 16 Feb 2006 00:06:05 +0000 (00:06 +0000)]
file module_config.sh was added on branch b1_5 on 2006-04-27 23:51:36 +0000
nathan [Thu, 16 Feb 2006 00:06:00 +0000 (00:06 +0000)]
file gen_hb_config.sh was added on branch b1_5 on 2006-04-27 23:51:36 +0000
nathan [Thu, 16 Feb 2006 00:05:55 +0000 (00:05 +0000)]
file gen_clumanager_config.sh was added on branch b1_5 on 2006-04-27 23:51:36 +0000
nathan [Wed, 15 Feb 2006 23:54:25 +0000 (23:54 +0000)]
file cluster_config.sh was added on branch b1_5 on 2006-04-27 23:51:36 +0000
green [Wed, 15 Feb 2006 20:27:57 +0000 (20:27 +0000)]
file lustre_patchless_compat.h was added on branch b1_5 on 2006-06-14 20:26:07 +0000
green [Wed, 15 Feb 2006 20:27:50 +0000 (20:27 +0000)]
file lustre_intent.h was added on branch b1_5 on 2006-06-14 20:26:07 +0000
liangzhen [Wed, 15 Feb 2006 10:30:26 +0000 (10:30 +0000)]
Fix for my careless fault. :-(
liangzhen [Wed, 15 Feb 2006 10:28:26 +0000 (10:28 +0000)]
Fix for ioctl handler of obdclass:
Data should be copied in kernel before checking.
liangzhen [Wed, 15 Feb 2006 07:42:07 +0000 (07:42 +0000)]
1. Cleanup Linux jiffies and using cfs_time_*
2. Cleanup some headers
3. Info.plist for Tiger
4. Fix automake.am for building in Tiger
5. Porting of lctl
nathan [Mon, 23 Jan 2006 18:20:33 +0000 (18:20 +0000)]
file .cvsignore was added on branch b1_5 on 2006-04-27 23:51:26 +0000
liangzhen [Thu, 5 Jan 2006 14:14:48 +0000 (14:14 +0000)]
1. Add Info.plist for OSX modules
2. Apply portability functions to more files.
3. Add ENTRY for some functions.
liangzhen [Wed, 4 Jan 2006 15:09:29 +0000 (15:09 +0000)]
1. Recontruct headers in lustre/include, platform independent code in
lustre/include/*.h, platform dependent code in lustre/include/<platform>.
2. Land portability library to obdclass, osc and obdecho.
niu [Fri, 16 Dec 2005 09:48:51 +0000 (09:48 +0000)]
land b1_5_qos (20051216_1716)
cvs2svn [Wed, 16 Nov 2005 12:40:28 +0000 (12:40 +0000)]
This commit was manufactured by cvs2svn to create branch 'b1_5'.
yury [Wed, 9 Nov 2005 13:28:01 +0000 (13:28 +0000)]
- removed not used var in pinger.
- make filter_preprw_read() do not complain about not existing OSt object, as it nicely handles that case.
niu [Wed, 9 Nov 2005 09:49:27 +0000 (09:49 +0000)]
fix previous wrong assertion.
b: 6027
yury [Wed, 9 Nov 2005 08:13:37 +0000 (08:13 +0000)]
- fixes in CROW related tests (15*)
niu [Wed, 9 Nov 2005 07:48:29 +0000 (07:48 +0000)]
add more debug message.
b: 6027
niu [Wed, 9 Nov 2005 04:05:57 +0000 (04:05 +0000)]
don't compile quota in 2.4
yury [Tue, 8 Nov 2005 16:35:41 +0000 (16:35 +0000)]
- returned to original schema (using PING_INTERVAL) of checking if some exports need to be evicted on server side.
nathan [Tue, 8 Nov 2005 16:31:56 +0000 (16:31 +0000)]
file lproc_mgs.c was added on branch b1_5 on 2006-04-27 23:51:26 +0000
yury [Tue, 8 Nov 2005 13:31:15 +0000 (13:31 +0000)]
- different fixes from Andreas and me:
- do nothing in ptlrpc_statfs_interpret() if rc != 0
- update obd->obd_osfs_age in ptlrpc_statfs_interpret() to make all obd_statfs() users do not emmit not needed RPCs if statfs ping is just handled out and fresh stat info is in here.
- make ptlrpc_update_next_ping() not inlined function as it makes it easy to debug and it is not needed to be inlined there from perf. POV.
- removed not needed lwi init in loop over all pingable imports in ping thread.
- fixed updating imp->imp_next_ping for non-CROW-able imports. Thus, they are not pinged again.
niu [Tue, 8 Nov 2005 02:39:49 +0000 (02:39 +0000)]
disable quota build for 2.4
yury [Sun, 6 Nov 2005 15:27:19 +0000 (15:27 +0000)]
- fixes, improvemtns, more verbosity.
phil [Sat, 5 Nov 2005 07:32:43 +0000 (07:32 +0000)]
b=9646
update error message to refer to knowledge base
niu [Fri, 4 Nov 2005 06:48:50 +0000 (06:48 +0000)]
improve test8
niu [Fri, 4 Nov 2005 06:35:46 +0000 (06:35 +0000)]
improve cfs_user_write() for quota
niu [Fri, 4 Nov 2005 05:46:41 +0000 (05:46 +0000)]
land b1_4_quota (20051104_1137)
yury [Thu, 3 Nov 2005 11:28:28 +0000 (11:28 +0000)]
- changes about handling CROW flag. URGENT is removed and all create calls are urgent if not CROW is specified.
adilger [Thu, 3 Nov 2005 01:00:33 +0000 (01:00 +0000)]
Branch b_release_1_4_6
Update build version to 1.4.5.93 to avoid re-using this version for
the b_release_4_6 branch.
yury [Wed, 2 Nov 2005 13:14:18 +0000 (13:14 +0000)]
- fixes, comments and cleanups:
- fixed test 34c from sanity.sh. It has two sub-bugs:
(1) when reg file is created by mknod and did not open as reg file, it has no lsm and has no OST object. I nthis case truncate path should set i_size into inode on MDS. This ws done correctly, but i_size was not returned corectly to client after that as mds_reint_setattr() had bug with setting body->valid |= SIZE for that case (comment added).
(2) later, in the same test, when file was opened and lsm created, MDS sent setattr RPC to OST to pass its inode attrs. As there was o_flags set to CROW, filter_setattr_internal() was confused and called fsfilt_iocontrol() instead of fsfilt_setattr(). Thus inode size was not set correctly and 0 was returned to client whereas MDS inode size should have been returned instead.
- in filter_preprw_read() more fixes about handling unexisting object. No -ENOENT should be returned and everythign should be done like object exists, but its size is 0 (thanks to Niu for catching this out).
nkj [Tue, 1 Nov 2005 17:41:45 +0000 (17:41 +0000)]
fixing terminology inconsistency.
nkj [Tue, 1 Nov 2005 16:22:56 +0000 (16:22 +0000)]
I've updated the lfs.1 manpage to reflect the updated documentation in the lfs.lyx file. This includes 'lfs check' and 'lfs osts'.
commit to b_release_1_4_6
yury [Tue, 1 Nov 2005 12:55:24 +0000 (12:55 +0000)]
- fixes in filter_preprw_read() for case when OST object is not yet allocated.
yury [Tue, 1 Nov 2005 09:16:21 +0000 (09:16 +0000)]
- fixed parent locking in filter_create_object(). Parent should be unlocked after child's inode fid EA is stored and transaction committed. Otherwise concurrent thread might access child object which is not realy ready (no fid EA)
yury [Tue, 1 Nov 2005 08:31:17 +0000 (08:31 +0000)]
- removed incorrect check in filter_lvbo_init().
yury [Mon, 31 Oct 2005 16:38:06 +0000 (16:38 +0000)]
- changes about obd_statfs ->os_state and ->os_spare* fields
yury [Sun, 30 Oct 2005 11:17:58 +0000 (11:17 +0000)]
- landing CROW stuff.
b=8888
r=adilger
r=nikita
r=bzzz
r=niu
ericm [Fri, 28 Oct 2005 23:18:05 +0000 (23:18 +0000)]
land b1_4_acl on b_release_1_4_6: add Posix ACL support.
green [Fri, 28 Oct 2005 20:23:09 +0000 (20:23 +0000)]
Landing Inodebits to b_release_1_4_6.
nic [Fri, 28 Oct 2005 03:55:07 +0000 (03:55 +0000)]
get a tagged lnet for releases after 1_4_6
cvs2svn [Thu, 27 Oct 2005 23:26:12 +0000 (23:26 +0000)]
This commit was manufactured by cvs2svn to create branch 'b_release_1_4_6'.
nathan [Thu, 27 Oct 2005 23:26:10 +0000 (23:26 +0000)]
b=9501
r=adilger
automatically create /dev/lnet, /dev/obd when needed.
nathan [Thu, 27 Oct 2005 23:24:45 +0000 (23:24 +0000)]
b=9501
r=adilger
automatically create /dev/lnet, /dev/obd when needed.
nathan [Thu, 27 Oct 2005 22:54:42 +0000 (22:54 +0000)]
Branch b_hd_newconfig
b=9501
fix 'lctl net down' twice assert
pjkirner [Thu, 27 Oct 2005 21:34:51 +0000 (21:34 +0000)]
* Key for peer db is ptl_process_id_t rather than just NID
(+ Assocated log msg chanages)
Necesary to support catamount processes that come up one right
after another using the same NID but diffrent PIDs
* Fix to bug in peer_time() code with incorrect return code
pjkirner [Thu, 27 Oct 2005 21:05:15 +0000 (21:05 +0000)]
* Fixed handling of NOOP message
* Fixed dssstamp check to handle multple routers & incoming connections
* Cleanup a few log messages + qkcc compiler warnings
lincent [Thu, 27 Oct 2005 08:20:27 +0000 (08:20 +0000)]
modify llog_reader to show args of lov_modify_tgts.
eeb [Thu, 27 Oct 2005 02:26:09 +0000 (02:26 +0000)]
* iiblnd: drain disconnecting sockets
* lnet: explicit configure/teardown for routers ("lctl network up" as well as
"lctl network down"). config_on_load=0 is the new default (setting it
effectively does "lctl network up" at module load time).
Added "net" as an alias for "network" to lctl so you don't have to type
"work" when you run "lctl net up" from the shell.
Also fixed a couple of bugs which required lnet to be unloaded before it
could be brought up again.
* lnet routing: restored automatic route disabling when comms to a router
fails (currently kernel elan and tcp only).
eeb [Thu, 27 Oct 2005 02:26:07 +0000 (02:26 +0000)]
* iiblnd: drain disconnecting sockets
* lnet: explicit configure/teardown for routers ("lctl network up" as well as
"lctl network down"). config_on_load=0 is the new default (setting it
effectively does "lctl network up" at module load time).
Added "net" as an alias for "network" to lctl so you don't have to type
"work" when you run "lctl net up" from the shell.
Also fixed a couple of bugs which required lnet to be unloaded before it
could be brought up again.
* lnet routing: restored automatic route disabling when comms to a router
fails (currently kernel elan and tcp only).
brian [Wed, 26 Oct 2005 23:15:01 +0000 (23:15 +0000)]
r=nic
Allow lbuild to build a kernel from a downloaded RHEL4 SRPM. It should only
need to do this once as it caches the .tar.bz2 it builds.
This technique can/should be ported to other vendor kernels we deal with.
Just more "hands off" automation of the build process.
adilger [Wed, 26 Oct 2005 18:35:46 +0000 (18:35 +0000)]
Branch b1_4
Don't compare .xml mtimes, they will always be different.
Split "long UUID" and "consistent .xml" into separate subtests.
nathan [Wed, 26 Oct 2005 16:46:51 +0000 (16:46 +0000)]
Branch b1_4
(lin)print lov_setup info
adilger [Wed, 26 Oct 2005 09:29:33 +0000 (09:29 +0000)]
Branch b1_4
Description: When migrating a subset of services from a node (e.g. failback
from a failover service node) the remaining services would
time out and evict clients.
Details : lconf --force (implied by --failover) sets the global obd_timeout
to 5 seconds in order to quickly disconnect, but this caused
other RPCs to time out too quickly. Do not change the global
obd_timeout for force cleanup, only set it for DISCONNECT RPCs.
b=6395, b=9514
adilger [Wed, 26 Oct 2005 00:30:10 +0000 (00:30 +0000)]
Branch b1_4
Use "if (likely(!ext3_mb_agressive))" since it is likely that this is not set
(it defaults to off). Also, check this first since it is the likely case.
nic [Tue, 25 Oct 2005 22:54:10 +0000 (22:54 +0000)]
p=alex
- fix for write performance slowdown on 2.6 kernels. Return early when not in
'aggressive' mode and default aggressive mode to off
adilger [Tue, 25 Oct 2005 19:57:43 +0000 (19:57 +0000)]
Branch b1_4
Don't get ll_inode_size_lock() in ll_update_inode() as this can be called
with inode_lock (spinlock) held and deadlock. This was protecting the
setting of lli_smd to prevent ll_inode_size_unlock() from inconsistently
calling lov_stripe_unlock() when it was never locked because lli_smd changed
since ll_inode_size_lock() was called.
We now avoid this race by only ever calling ll_inode_size_lock() with
lli_smd already set, or with "lock_lsm = 0" so we don't care if it changes
between lock and unlock. This makes sense in any case, because if there is
no lli_smd we shouldn't be doing glimpse/enqueue on the OSTs anyways.
b=9547
r=nikita
nathan [Tue, 25 Oct 2005 19:37:04 +0000 (19:37 +0000)]
Branch b1_4
b=9477
r=adilger
- robustify mtime check
- forgot to add back in part of --service= checks
nathan [Tue, 25 Oct 2005 18:22:05 +0000 (18:22 +0000)]
Branch b1_4
b=8080
r=adilger
Change magic for new lmd
pjkirner [Tue, 25 Oct 2005 15:55:30 +0000 (15:55 +0000)]
* Fix for redundant routing on Catamount
* Cleanup of some logging build warnings
* Some additional logging
nathan [Tue, 25 Oct 2005 15:20:15 +0000 (15:20 +0000)]
b=8080
create /dev/lnet
lsy [Tue, 25 Oct 2005 11:36:40 +0000 (11:36 +0000)]
fixes for nikita's inspection.
adilger [Tue, 25 Oct 2005 06:39:23 +0000 (06:39 +0000)]
Branch b1_4
Fix bug 9482 regression for fix to 2.6 llap_shrink_cache() page cleanup.
b=6450, b=9482
r=green
eeb [Tue, 25 Oct 2005 00:07:44 +0000 (00:07 +0000)]
* socklnd: fixed my stupid blunder that could cause the assertion
failure...
LustreError: 20480:0:(socklnd_cb.c:788:ksocknal_launch_packet())
ASSERTION(peer->ksnp_accepting > 0 ||
ksocknal_find_connecting_route_locked(peer) != NULL) failed
* iiblnd: fixed connection race and tested on boston, but didn't manage
to exercise the race resolution code.
ericm [Mon, 24 Oct 2005 17:09:22 +0000 (17:09 +0000)]
branch: b1_4
lconf recognize option --user_xattr (fake) to make ltest happy.
eeb [Mon, 24 Oct 2005 16:27:40 +0000 (16:27 +0000)]
* openiblnd: dropped unused 'rc' from kibnal_peer_connect_failed() to bring
it into line with iib,vib.
* iiblnd: coded connection race resolution
brian [Mon, 24 Oct 2005 16:27:30 +0000 (16:27 +0000)]
Make release 1.4.5.92 on current b1_4 head.
eeb [Sun, 23 Oct 2005 17:12:54 +0000 (17:12 +0000)]
* 9561: completed connection race fix for socklnd
eeb [Sun, 23 Oct 2005 14:08:15 +0000 (14:08 +0000)]
* socklnd:
fixed connection race that can occur with multiple routers
changed 'typed_conns' module parameter to RO
* nidstrings:
allow 0xnnnn parsing of numerical NIDs
libcfs_num_addr2str -> libcfs_decnum_addr2str (LO, QSW, PTL)
libcfs_hexnum_addr2str (GM)
* gmlnd:
change from decimal to hex representation of GM addresses (they're the
lowest 4 bytes of the NIC's MAC address).
* router:
compare routers first on # uncompleted bytes, then credits
for better load balance.
* llmount:
fixed error message (it's a NID, not a host)
fixed bug in checking mdx & profile string lengths
eeb [Sun, 23 Oct 2005 14:08:10 +0000 (14:08 +0000)]
* socklnd:
fixed connection race that can occur with multiple routers
changed 'typed_conns' module parameter to RO
* nidstrings:
allow 0xnnnn parsing of numerical NIDs
libcfs_num_addr2str -> libcfs_decnum_addr2str (LO, QSW, PTL)
libcfs_hexnum_addr2str (GM)
* gmlnd:
change from decimal to hex representation of GM addresses (they're the
lowest 4 bytes of the NIC's MAC address).
* router:
compare routers first on # uncompleted bytes, then credits
for better load balance.
* llmount:
fixed error message (it's a NID, not a host)
fixed bug in checking mdx & profile string lengths
adilger [Sat, 22 Oct 2005 07:36:18 +0000 (07:36 +0000)]
Branch b1_4
Save "options" from the wrath of strtok() so we can save them into /etc/mtab.
This is needed for buffalo testing of new features, among other things.
brian [Fri, 21 Oct 2005 22:33:34 +0000 (22:33 +0000)]
Array element access in bash MUST be enclosed with {}.
eeb [Fri, 21 Oct 2005 16:15:45 +0000 (16:15 +0000)]
* Changed iiblnd to use Infinicon iba_xxx() API.
* Changed iiblnd to post multiple work items in 1 go.
eeb [Fri, 21 Oct 2005 15:22:28 +0000 (15:22 +0000)]
* iiblnd fixes (mid-way through changing Infinicon API)
* viblnd fix (tx_waiting not cleared on RDMA ops initiated on a new
connection that fails triggers an assertion failure).
* some prep for userspace ip2nets
* router selection round robins if other selection criterea are equal
* local_nid_dist_zero LNET module param for single-node LND testing.
* reformat LNET /proc buffer displays
* rename userspace tcplnd env params TCPNAL_xxx -> TCPLND_xxx
pjkirner [Fri, 21 Oct 2005 13:48:57 +0000 (13:48 +0000)]
* Make echo_test a proper liblustre test, now that it works even on Catamount!
nikita [Fri, 21 Oct 2005 10:34:56 +0000 (10:34 +0000)]
fix unnecessary line-wrap
nikita [Fri, 21 Oct 2005 10:13:09 +0000 (10:13 +0000)]
ENTRY has to be matched by RETURN()
niu [Fri, 21 Oct 2005 08:33:59 +0000 (08:33 +0000)]
Disable compile userspace quota stuff for b1_4. This is short-term solution
for the <linux/quota.h> problem before b1_4_quota lands.
-b 9542
-r adilger
lsy [Fri, 21 Oct 2005 03:28:06 +0000 (03:28 +0000)]
remove unused LC_CONFIG_QUOTA in lustre-build.m4.
remove check for if_dqblk/dqinfo.
change parameters type from int to __u32, since it's used
in ioctl. and make it align. (according to Andreas' advice)