Whamcloud - gitweb
shaocheng [Fri, 19 Mar 2004 12:23:31 +0000 (12:23 +0000)]
Update from HEAD
shaocheng [Fri, 19 Mar 2004 11:26:49 +0000 (11:26 +0000)]
- further combine setstripe on file and directory
- remove the commented-out codes
- modify sanity.sh to reflect lfs changes
shaocheng [Fri, 19 Mar 2004 06:13:26 +0000 (06:13 +0000)]
- combine dsetstripe into setstripe command of lfs
- remove "#if 0" block from mds_pack_md
- modify sanity.sh accordingly
zab [Tue, 16 Mar 2004 23:06:40 +0000 (23:06 +0000)]
- seperate out the different ptlrpc bulk desc building methods which depend on
the portals implementation they're talking to
zab [Fri, 12 Mar 2004 19:50:35 +0000 (19:50 +0000)]
- spin the kernel portals router bits of kp30 into their own header
hitao [Tue, 9 Mar 2004 15:41:57 +0000 (15:41 +0000)]
new series for suse 2.6.3 kernel
ericm [Tue, 9 Mar 2004 04:37:56 +0000 (04:37 +0000)]
add series 2.6.3-mm4
-mm4 patch itself is too large, for now leave it outside of our cvs.
zab [Fri, 5 Mar 2004 19:28:26 +0000 (19:28 +0000)]
- update cray_protals_merge from HEAD in preparation for testing and landing
(20040305_1027)
eeb [Thu, 4 Mar 2004 15:10:14 +0000 (15:10 +0000)]
* Bug 2869: Added PtlInit() parameter "int *max_interfaces"
* Bug 2870: Added PtlMDBind parameter "ptl_unlink_t unlink_op"
ericm [Thu, 4 Mar 2004 12:29:46 +0000 (12:29 +0000)]
remove lustre_build patch from series which prevent rpm build
zab [Wed, 3 Mar 2004 00:58:31 +0000 (00:58 +0000)]
- temporarily disable building some dirs when cray portals are in use
- revert the overly aggressive migration of portals/list.h
- make sure all builds see -DCRAY_PORTALS. this is gross.
- protect the libcfs ioctl registration with __KERNEL__
- avoid portals_nid2str() as it breaks the compiler
zab [Tue, 2 Mar 2004 23:12:37 +0000 (23:12 +0000)]
- more progress in moving towards building against cray's external
portals includes. This is a work in progress as I ran into
internal compiler errors. All builds are probably broken.
phil [Tue, 2 Mar 2004 17:22:58 +0000 (17:22 +0000)]
This file would be helpful.
zab [Tue, 2 Mar 2004 01:34:28 +0000 (01:34 +0000)]
- the start of moving things from portals.o to libcfs.o. the 2.4 kernel
build still works though others probably don't.
ericm [Mon, 1 Mar 2004 12:14:40 +0000 (12:14 +0000)]
2.6 build fixes:
- add series vallina-2.6.3-nfs4, and related patches
- compile proper source in llite/ obdfilter/
- remove ll_sync_page reference in llite/rw26.c, according to b#2673
- fix Rules, which broken build under ptlrpc
- kernel flags and modversions related fixes
adilger [Fri, 27 Feb 2004 22:18:25 +0000 (22:18 +0000)]
Add a script to create a CVS branch according to our standards.
shaocheng [Tue, 24 Feb 2004 23:37:11 +0000 (23:37 +0000)]
update with current HEAD
adilger [Tue, 24 Feb 2004 11:23:33 +0000 (11:23 +0000)]
Remove binary test program from CVS.
phil [Mon, 23 Feb 2004 22:57:55 +0000 (22:57 +0000)]
merge HEAD into b_size, in preparation for landing
cvs2svn [Mon, 23 Feb 2004 17:39:09 +0000 (17:39 +0000)]
This commit was manufactured by cvs2svn to create branch 'unlabeled-1.1.2'.
wangdi [Mon, 23 Feb 2004 17:39:07 +0000 (17:39 +0000)]
update smfs 1)Add kml in smfs, but still not finish it, will change later according to llog. 2)some minor fixs
ericm [Mon, 23 Feb 2004 14:45:38 +0000 (14:45 +0000)]
port several patches to 2.6.3
ericm [Mon, 23 Feb 2004 14:14:50 +0000 (14:14 +0000)]
2.6 compile fix under obdfilter.
ericm [Mon, 23 Feb 2004 13:58:56 +0000 (13:58 +0000)]
module's init function will not get called when loading in 2.6.
wangdi [Mon, 23 Feb 2004 04:24:35 +0000 (04:24 +0000)]
get rid of some .h file we do not need in options.c
phil [Sun, 22 Feb 2004 04:19:29 +0000 (04:19 +0000)]
1. When one thread enqueues and another thread matches, the matching
thread can get the lock before the enqueueing thread updates the lock
value block. The correct fix is to do the granting inside of the
completion AST -- which can then be wrapped as appropriate to handle
the LVB mechanics -- but that's higher risk than I want right now.
Instead, I added a temporary LDLM_FL_CAN_MATCH flag, which gets set
only after the enqueueing thread is finished. Threads trying to match
will wait for this flag to be set after the lock is granted.
2. Fixes a fencepost error in the KMS calculation; a lock on [x, y]
actually protects a file of y + 1 bytes, not y bytes.
3. I spotted that ldlm_completion_ast might not call wake_up in
certain cases, but I think that's a theoretical concern. Fixed by
checking a different set of flags.
eeb [Sat, 21 Feb 2004 09:54:05 +0000 (09:54 +0000)]
* Applied fix for 1888
phil [Sat, 21 Feb 2004 02:14:29 +0000 (02:14 +0000)]
b=2720
Andreas's patch
Take the i_sem instead of DLM locks internally on the obdfilter.
It's good for lots of reasons, but also removes a painful lock
inversion between the lvb_sem and the DLM namespace lock.
wangdi [Fri, 20 Feb 2004 13:59:39 +0000 (13:59 +0000)]
copy inode attribute to bottom inode in smfs_dirty_inode
jacob [Fri, 20 Feb 2004 08:44:33 +0000 (08:44 +0000)]
b=2774
r=phil
if portals_nid2str() is used twice in a single printf-type thing it
will end up printing the same ip both times.
this patch adds a second buffer so that it prints the correct things.
youfeng [Fri, 20 Feb 2004 06:03:58 +0000 (06:03 +0000)]
b_2074
r = Adilger
b 2074 comment 33 -- cleanup code using fstat()
wangdi [Thu, 19 Feb 2004 14:33:30 +0000 (14:33 +0000)]
Oops, Just forget to commit smfs_internal.h in the last commit
wangdi [Thu, 19 Feb 2004 14:24:03 +0000 (14:24 +0000)]
Update smfs 1. Use d_alloc to alloc the cache dentry 2. some minor fixs
buffalo-pull [Thu, 19 Feb 2004 03:46:05 +0000 (03:46 +0000)]
- tagging RC_CURRENT
rread [Wed, 18 Feb 2004 21:37:24 +0000 (21:37 +0000)]
b=2751
Don't do precreate orphan recovery on an OST if the MDS is in recovery
mode. The OSC's last_id info is not initialized until after MDS
recovery is complete, so clearing the orphans here would result in
removing all the objects on the OST.
adilger [Wed, 18 Feb 2004 20:07:54 +0000 (20:07 +0000)]
Fix endian conversion of socknal major/minor version. They are __u16 not __u32.
b=2464
wangdi [Wed, 18 Feb 2004 15:55:12 +0000 (15:55 +0000)]
1. Replace i_mapping with the bottom inode imapping in mmap method according to peter's advice. 2. some minor fix
adilger [Tue, 17 Feb 2004 23:31:25 +0000 (23:31 +0000)]
Increase the number of request buffers to 4096 from 1024 for a 4GB machine
so we can remove max_rpcs_in_flight workaround on ALC.
b=2729
wangdi [Tue, 17 Feb 2004 09:01:27 +0000 (09:01 +0000)]
add address method of smfs for mmap
jacob [Tue, 17 Feb 2004 04:03:18 +0000 (04:03 +0000)]
r=shaver
Fix configure option indenting.
wangdi [Mon, 16 Feb 2004 13:42:44 +0000 (13:42 +0000)]
copy bottom inode attribute out to the vfs inode
wangdi [Mon, 16 Feb 2004 12:33:48 +0000 (12:33 +0000)]
Update smfs: 1.fix bugs in smfs_link 2) decrease i_count in smfs_clear_inode
adilger [Mon, 16 Feb 2004 07:15:58 +0000 (07:15 +0000)]
Shouldn't have been merged.
adilger [Mon, 16 Feb 2004 06:56:45 +0000 (06:56 +0000)]
Add newline to ll_readpage() debug message.
adilger [Mon, 16 Feb 2004 00:33:18 +0000 (00:33 +0000)]
Re-add CVS helper scripts. Not sure how they were lost.
wangdi [Sun, 15 Feb 2004 15:50:02 +0000 (15:50 +0000)]
1. Adding iput(cache_inode) in smfs_clear_inode for clearing cache inode according to peter's advice. 2. other minor fixes in smfs_clear_inode
ericm [Sun, 15 Feb 2004 14:31:50 +0000 (14:31 +0000)]
remove the ancient workaround for liblustre in osc_announce_cached().
Andreas: I tested that OST will never grant more space to liblustre than
the initial 4M.
shaver [Sun, 15 Feb 2004 05:03:03 +0000 (05:03 +0000)]
b=2726: make sure that we properly balance page locking in the case of a failed
writepage.
patch=zab
buffalo-pull [Sat, 14 Feb 2004 03:35:41 +0000 (03:35 +0000)]
- tagging RC_CURRENT
rread [Sat, 14 Feb 2004 03:16:22 +0000 (03:16 +0000)]
land b_eq on HEAD
adilger [Sat, 14 Feb 2004 01:31:13 +0000 (01:31 +0000)]
Update b_eq from HEAD (20040213_1644) (b_bug974 landing).
Eric Mei, per your comment in osc_announce_cached(), we should only be sending
OBD_MD_FLGRANT if the client is caching data. If (AFAIK) liblustre isn't
doing any client-side write cache then it shouldn't be requesting any grant
from the OST. This isn't critical, since the OST _should_ stop giving out
grant when the client isn't consuming it, but it would be good to verify.
adilger [Fri, 13 Feb 2004 23:42:52 +0000 (23:42 +0000)]
Oops.
adilger [Fri, 13 Feb 2004 23:17:53 +0000 (23:17 +0000)]
Landing b_bug974 onto HEAD (20040213_1538).
Adds support for client-side write cache accounting via OST write credits
(grants). There is not yet a "correction" algorithm for grants if they
get out of sync between the client and OST (OST can handle clients who think
they have grant but do not). Peter had previously suggested that grants
should decay over time (faster on the clients than on the OSTs) so idle
nodes do not consume space they aren't using.
Use /proc/fs/lustre/osc/OSC*/cur_grant_bytes (and existing cur_dirty_bytes)
to check client-side cache values.
Includes lustre-side changes for lfsck support (create files with
specific objids, create specific objids on OSTs).
Also includes some changes to the testing scripts (local.sh, lov.sh, acc-sm)
so that they include a "client nid '*'" client and can be used for sanityN.sh
testing. This has been put into the main acceptance-small.sh loop so that
sanityN.sh will be run on both single and multi-OST setups.
b=974 b=2349
r=shaver
adilger [Fri, 13 Feb 2004 22:17:10 +0000 (22:17 +0000)]
Update b_bug974 from HEAD (20040213_1456) prior to landing (mostly b_smallfix)
adilger [Fri, 13 Feb 2004 21:32:19 +0000 (21:32 +0000)]
Land b_smallfix onto HEAD (20040213_1402)
adilger [Fri, 13 Feb 2004 18:00:39 +0000 (18:00 +0000)]
Or rather just old ones, since this bites me sometimes.
adilger [Fri, 13 Feb 2004 17:59:21 +0000 (17:59 +0000)]
Ignore all .mergeinfo files.
wangdi [Fri, 13 Feb 2004 14:28:46 +0000 (14:28 +0000)]
Update smfs: fix bugs of smfs_create
wangdi [Fri, 13 Feb 2004 07:23:00 +0000 (07:23 +0000)]
Update smfs: some fix about clear_inode in smfs
nic [Thu, 12 Feb 2004 20:13:10 +0000 (20:13 +0000)]
b=2618
r=shaver
get lconf to panic() when no host entry is found. using panic() will prevent
lconf from exiting cleanly when this happens.
adilger [Thu, 12 Feb 2004 18:19:54 +0000 (18:19 +0000)]
Don't pass garbage mode bits to the filesystem with O_CREAT.
It is really the fault of K&R that there are 2 different open prototypes.
adilger [Thu, 12 Feb 2004 10:29:25 +0000 (10:29 +0000)]
Fix obvious cut-n-paste error in lov_brw_check() (would only be noticable
during OSC failure).
adilger [Thu, 12 Feb 2004 09:29:59 +0000 (09:29 +0000)]
Fix comment to refer to a function which actually exists.
buffalo-pull [Thu, 12 Feb 2004 04:43:53 +0000 (04:43 +0000)]
- tagging RC_CURRENT
rread [Thu, 12 Feb 2004 01:28:08 +0000 (01:28 +0000)]
b=2699
Make sure this request was replied before unpacking, and if not return
an error.
phil [Wed, 11 Feb 2004 22:37:05 +0000 (22:37 +0000)]
Proper KMS management on the client
zab [Wed, 11 Feb 2004 22:19:49 +0000 (22:19 +0000)]
- be sure to run the tests with 0 debugging
adilger [Wed, 11 Feb 2004 18:19:32 +0000 (18:19 +0000)]
Have the loopback OST/MDS files use the same names as the other tests, so
that my root filesystem doesn't fill up with all the different files.
wangdi [Wed, 11 Feb 2004 09:29:52 +0000 (09:29 +0000)]
update smfs, some fix about read in smfs
buffalo-pull [Wed, 11 Feb 2004 03:02:55 +0000 (03:02 +0000)]
- tagging RC_CURRENT
wangchao [Wed, 11 Feb 2004 02:22:36 +0000 (02:22 +0000)]
b=2019
r=adilger
have lconf create large journals
wangchao [Wed, 11 Feb 2004 02:18:04 +0000 (02:18 +0000)]
b=2079
r=shaver
replace OBD_IOC_LIST ioctl with reading /proc/fs/lustre/devices
zab [Tue, 10 Feb 2004 22:25:15 +0000 (22:25 +0000)]
- record 'readprofile' profiles if they are available
- record all the test commands that are run
rread [Tue, 10 Feb 2004 21:39:45 +0000 (21:39 +0000)]
initialize force_umount = 0
adilger [Tue, 10 Feb 2004 21:36:40 +0000 (21:36 +0000)]
Update b_bug974 from HEAD (20040210_1406) (b_smallfix landing)
adilger [Tue, 10 Feb 2004 20:32:56 +0000 (20:32 +0000)]
Landing b_smallfix onto HEAD (20040210_1202)
cvs2svn [Tue, 10 Feb 2004 20:20:37 +0000 (20:20 +0000)]
This commit was manufactured by cvs2svn to create branch 'unlabeled-1.1.2'.
adilger [Tue, 10 Feb 2004 20:20:36 +0000 (20:20 +0000)]
Add cvsdiffclient and cvs-modified-files.pl to CVS (needs a usage note).
adilger [Tue, 10 Feb 2004 20:19:28 +0000 (20:19 +0000)]
Add land[12].sh and add some extra checks to merge[12].sh.
shaocheng [Tue, 10 Feb 2004 09:44:54 +0000 (09:44 +0000)]
- last commit failed to add and remove some files listed below.
shaocheng [Tue, 10 Feb 2004 09:44:50 +0000 (09:44 +0000)]
file Makefile.in was initially added on branch b_bug1414.
shaocheng [Tue, 10 Feb 2004 09:44:49 +0000 (09:44 +0000)]
file Makefile was initially added on branch b_bug1414.
shaocheng [Tue, 10 Feb 2004 09:44:48 +0000 (09:44 +0000)]
file lustre_user.h was initially added on branch b_bug1414.
shaocheng [Tue, 10 Feb 2004 09:44:47 +0000 (09:44 +0000)]
file liblustreapi.h was initially added on branch b_bug1414.
shaocheng [Tue, 10 Feb 2004 09:44:46 +0000 (09:44 +0000)]
file Makefile.am was initially added on branch b_bug1414.
shaocheng [Tue, 10 Feb 2004 09:34:15 +0000 (09:34 +0000)]
- ll_dirstripe_verify is used to verify if files are created using parent
directories' stripe info
- add set/get dir stripe info tests into sanity.sh
- create new header file include/lustre/liblustreapi.h and move
include/linux/lustre_user.h into include/lustre. pass "make rpms"
shaocheng [Tue, 10 Feb 2004 09:34:13 +0000 (09:34 +0000)]
file ll_dirstripe_verify.c was initially added on branch b_bug1414.
shaocheng [Tue, 10 Feb 2004 09:34:09 +0000 (09:34 +0000)]
file ll_dirstripe_verify was initially added on branch b_bug1414.
rread [Tue, 10 Feb 2004 08:59:13 +0000 (08:59 +0000)]
Fix a merge error in conf-sanity.sh. Using CMDVERBOSE this way was
passing "> /dev/null" as an extra argument to the functions, and this
is not really what we want. Since I don't think it's all that bad to
see the output of lconf, anyway, I just deleted the >/dev/null
entirely.
While looking into this, I also noticed that mount -f was still
attempting to fetch the log from the MDS. That is fixed, too.
wangdi [Tue, 10 Feb 2004 04:32:11 +0000 (04:32 +0000)]
update smfs, some minor fix about symlink, link and rename
adilger [Tue, 10 Feb 2004 04:15:04 +0000 (04:15 +0000)]
Correct description for bug 1934.
adilger [Tue, 10 Feb 2004 02:49:00 +0000 (02:49 +0000)]
Update b_bug974 from HEAD (20040209_1727) (b_recovery and 1.0.4 landing).
buffalo-pull [Tue, 10 Feb 2004 00:35:50 +0000 (00:35 +0000)]
- tagging RC_CURRENT
adilger [Tue, 10 Feb 2004 00:21:17 +0000 (00:21 +0000)]
Fix mkfsoptions support for osts.
b=2603, b=2604
adilger [Tue, 10 Feb 2004 00:15:19 +0000 (00:15 +0000)]
Additional debugging for MDS client eviction problem (from 1.0.4).
b=2443
adilger [Tue, 10 Feb 2004 00:11:08 +0000 (00:11 +0000)]
Print out dotted-quad IP addresses in the socknal (from 1.0.4)
b=2302
adilger [Tue, 10 Feb 2004 00:07:02 +0000 (00:07 +0000)]
Fix timeouts when evicting a client with a single lock held (from 1.0.4).
b=2642
adilger [Tue, 10 Feb 2004 00:02:17 +0000 (00:02 +0000)]
Don't leave stale dentries around after renames (from 1.0.4).
b=2428
adilger [Mon, 9 Feb 2004 23:40:41 +0000 (23:40 +0000)]
Zero end of page at obdfilter for partial page writes (from 1.0.4).
b=2648
r=phil
adilger [Mon, 9 Feb 2004 23:27:33 +0000 (23:27 +0000)]
RPM build fix from 1.0.4
r=jacob