Whamcloud - gitweb
green [Tue, 6 Dec 2005 23:18:37 +0000 (23:18 +0000)]
b=9879
r=adilger
Move all filter compat flags checks to filter_connect_internal.
Move call to filter_connect_internal in filter connect to be earlier that
!replayable check, so that it is always executed.
green [Tue, 6 Dec 2005 23:05:07 +0000 (23:05 +0000)]
b=9879
r=adilger
Test that we do not receive any plain lock requests from ibits-aware
clients.
Test that client and server have intersecting lock bits, and if not - server
drops IBITS compat flag. (if the flag is set and intersecting list of bits is
zero on client - just error message is issued).
We now also check that we do not return IBITS lock with sync callback to
liblustre clients.
cvs2svn [Tue, 6 Dec 2005 21:16:37 +0000 (21:16 +0000)]
This commit was manufactured by cvs2svn to create branch 'b_release_1_4_6'.
green [Tue, 6 Dec 2005 21:16:36 +0000 (21:16 +0000)]
reverting test commit
green [Tue, 6 Dec 2005 21:16:16 +0000 (21:16 +0000)]
test commit
brian [Tue, 6 Dec 2005 17:07:13 +0000 (17:07 +0000)]
Re-arrange options as make oldconfig will.
green [Tue, 6 Dec 2005 12:52:08 +0000 (12:52 +0000)]
b=9879
Introduce mds_reconnect to properly update export flags during reconnect.
green [Tue, 6 Dec 2005 10:35:59 +0000 (10:35 +0000)]
b=9879
Return error to client if it requests inode bits locks and we believe it
does not support such locks.
brian [Mon, 5 Dec 2005 18:14:40 +0000 (18:14 +0000)]
Remove duplicated and conflicting options.
brian [Mon, 5 Dec 2005 18:12:17 +0000 (18:12 +0000)]
CONFIG_IEEE1394_OHCI1394 needs to be a module too.
green [Mon, 5 Dec 2005 14:28:18 +0000 (14:28 +0000)]
Fix 2.6 build errors after b1_4 merge
green [Mon, 5 Dec 2005 12:37:10 +0000 (12:37 +0000)]
Update from b_hd_newconfig (b1_4)
green [Mon, 5 Dec 2005 11:51:45 +0000 (11:51 +0000)]
Updated to b1_4
green [Sun, 4 Dec 2005 22:54:59 +0000 (22:54 +0000)]
b=8001
r=adilger
Landing Inode bits compatibility stuff
brian [Sat, 3 Dec 2005 00:56:29 +0000 (00:56 +0000)]
b=9729
r=+adilger
Add an --enable-bgl flag for future BGL specific tunings and disable the -m64
compiler flag checking if set.
adilger [Fri, 2 Dec 2005 22:35:00 +0000 (22:35 +0000)]
Branch b_release_1_4_6
We always need to send OBD_CONNECT_ACL to connect to an MDS that is mounted
with "-o acl" (even just to get the config logs, currently).
b=9771
adilger [Fri, 2 Dec 2005 18:14:36 +0000 (18:14 +0000)]
Branch b_release_1_4_6
Fix 2.6.12 compat code.
ericm [Thu, 1 Dec 2005 21:40:30 +0000 (21:40 +0000)]
branch: b_release_1_4_6
- superblock need MS_POSIXACL flag
- check_acl() should return -EAGAIN in case of no ACL present or not
support ACL, to allow fall back triditional UGO checking.
ericm [Thu, 1 Dec 2005 21:37:28 +0000 (21:37 +0000)]
branch: b_release_1_4_6
from Andreas:
- grain control on which kernel use which ldiskfs series
ericm [Thu, 1 Dec 2005 21:34:43 +0000 (21:34 +0000)]
branch: b_release_1_4_6
from Andreas:
- fix sock_alloc() is not exported on vanilla-2.6.12
brian [Thu, 1 Dec 2005 13:42:54 +0000 (13:42 +0000)]
Rearrange kernel options to be the same as make oldconfig does.
adilger [Thu, 1 Dec 2005 08:35:53 +0000 (08:35 +0000)]
Branch b_release_1_4_6
Fix RPM build breakage
b=9771
adilger [Thu, 1 Dec 2005 08:32:33 +0000 (08:32 +0000)]
Branch b_release_1_4_6
Fix compile warning in ldiskfs/proc.c
ericm [Thu, 1 Dec 2005 02:23:27 +0000 (02:23 +0000)]
branch: b_release_1_4_6
add missing declaration of mds_quota_interface
ericm [Thu, 1 Dec 2005 02:09:24 +0000 (02:09 +0000)]
branch: b_release_1_4_6
fix compile error about ACL.
adilger [Wed, 30 Nov 2005 21:46:23 +0000 (21:46 +0000)]
Branch b_release_1_4_6
- fix build for 2.4 UML kernels that don't have ACL support
adilger [Wed, 30 Nov 2005 18:51:22 +0000 (18:51 +0000)]
Branch b_release_1_4_6
- add OBD_ROCOMPAT_CROW filesystem flag on OST to prevent b1_4 servers from
mounting such a filesystem and blowing up. This flag is set when an MDS
connects with OBD_CONNECT_CROW flag, as we have no idea after that if it
is actually allocating CROW objects
- move a bunch of filesystem constants to lustre_disk.h (as in
b1_4_mountconfig) so we don't define conflicting COMPAT flags for MDS/OST
- move MDS fs-internal definitions to mds_internal.h
- include the OST objid in the inode fid EA (in addition to the MDS fid),
so we can recover the objects names if the parent directory is corrupted
- check for available inodes in osc_check_nospc()
b=8888
brian [Wed, 30 Nov 2005 18:21:58 +0000 (18:21 +0000)]
Build firewire as a module rather than staticly.
Rearrange and remove duplicate options in the rhel3-x86_64 kernel to match
what make oldconfig will do.
adilger [Wed, 30 Nov 2005 17:59:58 +0000 (17:59 +0000)]
Branch b_release_1_4_6
Quiet 2.4 compile warning.
brian [Tue, 29 Nov 2005 21:26:57 +0000 (21:26 +0000)]
Use %{_tmppath} in the BuildRoot: rather than hardcoding /var/tmp.
Use the newly built .config rather than the one from the build tree again.
brian [Mon, 28 Nov 2005 21:10:03 +0000 (21:10 +0000)]
Use update_oldconfig.
Protect a wildcard from shell filename expansion.
adilger [Fri, 25 Nov 2005 22:03:04 +0000 (22:03 +0000)]
Branch b_release_1_4_6
Fix typo in filename.
brian [Fri, 25 Nov 2005 20:56:36 +0000 (20:56 +0000)]
Protect the * from shell expansion producing:
cvs2svn [Fri, 25 Nov 2005 16:50:49 +0000 (16:50 +0000)]
This commit was manufactured by cvs2svn to create branch 'b_release_1_4_6'.
brian [Fri, 25 Nov 2005 16:50:48 +0000 (16:50 +0000)]
Remove the debugging flag to greatly reduce output.
Add an alternate expression for 2.4's make oldconfig.
adilger [Fri, 25 Nov 2005 13:27:45 +0000 (13:27 +0000)]
Branch b_release_1_4_6
Add patches from Bull for 2.6.12 kernel into CVS.
r=pbojanic
brian [Wed, 23 Nov 2005 21:15:05 +0000 (21:15 +0000)]
b_release_1_4_6_rhel3_37 needs it's parents portals/lnet.
Support rhel3 kernel SRPM unpacking/tarball building.
lbuild can use a local SRPM.
Whitespace cleanup.
brian [Wed, 23 Nov 2005 17:39:06 +0000 (17:39 +0000)]
b=9682
r=adilger
Land RHEL3-37 update kernel support.
lsy [Sat, 19 Nov 2005 15:32:38 +0000 (15:32 +0000)]
Land b1_4_merge_ptlrpc onto b_release_1_4_6 (20051119_2035)
brian [Fri, 18 Nov 2005 18:15:48 +0000 (18:15 +0000)]
b=9358
r=adilger
Land RHEL4-22 kernel changes to the 1.4.6 release branch for inclusion in beta2.
- includes enabling firewire support on all platforms to enable use of shared
firewire drives.
yury [Fri, 18 Nov 2005 11:17:40 +0000 (11:17 +0000)]
- added missed swab of body->mode
nic [Wed, 16 Nov 2005 22:19:13 +0000 (22:19 +0000)]
reformat and cleanup don't mix
green [Wed, 16 Nov 2005 12:40:20 +0000 (12:40 +0000)]
file lustre_ver.h.in was initially added on branch b1_4.
green [Wed, 16 Nov 2005 12:39:39 +0000 (12:39 +0000)]
b=7417
r=adilger
Introduce version exchange between servers and clients and ability to issue
warnings on old clients and refusal to accept old liblustre clients.
wangdi [Wed, 16 Nov 2005 07:17:39 +0000 (07:17 +0000)]
Branch b1_4_join
update from b_release_1_4_6.
brian [Wed, 9 Nov 2005 23:03:10 +0000 (23:03 +0000)]
Update for release 1.4.5.94, a.k.a. 1.4.6 beta1.
gord [Wed, 9 Nov 2005 20:47:25 +0000 (20:47 +0000)]
Add kabi script to CVS.
ericm [Wed, 9 Nov 2005 19:32:30 +0000 (19:32 +0000)]
branch: b_release_1_4_6
add back acl test scripts which were missing in landing for unknown reason.
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.
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
brian [Mon, 7 Nov 2005 21:50:32 +0000 (21:50 +0000)]
b1_4_rhel4_22 has been re-parented to b_release_1_4_6 so it should use the
b_release_1_4_6 lnet/portals.
s/^I/ /g
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.
brian [Wed, 2 Nov 2005 21:21:37 +0000 (21:21 +0000)]
Fix timed_run() so that it returns success when it's child does not time out.
Bomb out of lmake if the update_oldconfig times out.
brian [Wed, 2 Nov 2005 21:20:08 +0000 (21:20 +0000)]
I thought this would make expect more efficient, reducing the size of the
buffer that it had to match in but perhaps this is causing the mysterious
hangs.
brian [Wed, 2 Nov 2005 17:53:51 +0000 (17:53 +0000)]
Make sure update_oldconfig does not hang the whole works.
brian [Wed, 2 Nov 2005 14:21:51 +0000 (14:21 +0000)]
Expect debugging to see what is hanging it up.
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).
brian [Tue, 1 Nov 2005 22:17:05 +0000 (22:17 +0000)]
r=nic
Build in the RPM _tmpdir.
Get the .config from the one just used -- it might contain differences from
the one supplied by Lustre -- for new options.
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
brian [Tue, 1 Nov 2005 14:28:58 +0000 (14:28 +0000)]
Don't log the output of the make oldconfig. The expect script displays what
new values needed setting and what they were set to.
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
brian [Mon, 31 Oct 2005 16:04:06 +0000 (16:04 +0000)]
Need to include update_oldconfig in the dist tarball.
brian [Mon, 31 Oct 2005 04:20:07 +0000 (04:20 +0000)]
An expect script to interact with make oldconfig answering questions for new
config values conservatively (m for moduleable code, n for all else).
When a new item is added by make oldconfig, QA should get notified and the
kernel-meister is responsible for getting the kernel_configs updated with
appropriate answers for the new values.
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.
brian [Fri, 28 Oct 2005 19:36:48 +0000 (19:36 +0000)]
r=nic
Look in the right place for *config targets for kernel make.
brian [Fri, 28 Oct 2005 17:49:49 +0000 (17:49 +0000)]
r=nic
Anchor the search for the right target to rebuild the .config file to avoid
using the wrong one just because it's mentioned (as a non-target) in the
Makefile.
If make $oldconfig produces a .config that is different than we have for that
kernel in the Lustre tree, tell the QA folks so they can update the tree to
have the same kernel_config.
nic [Fri, 28 Oct 2005 03:55:07 +0000 (03:55 +0000)]
get a tagged lnet for releases after 1_4_6
nic [Fri, 28 Oct 2005 03:52:22 +0000 (03:52 +0000)]
b_release braches are tagged for build/ too
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 23:20:19 +0000 (23:20 +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