Whamcloud - gitweb
fs/lustre-release.git
18 years agoStop error spew if no real error, doh.
adilger [Tue, 9 Mar 2004 08:39:54 +0000 (08:39 +0000)]
Stop error spew if no real error, doh.
b=2633

18 years agoCall test_foo() functions directly instead of via run_one() so they do setup
adilger [Tue, 9 Mar 2004 08:37:35 +0000 (08:37 +0000)]
Call test_foo() functions directly instead of via run_one() so they do setup
even if a test is excluded.
Rename "test_foo" files to "f<testno>" so they are deleted at the end of
the sanity.sh run.

18 years agoDrop the filter export grants under the same lock as the removal of the
adilger [Tue, 9 Mar 2004 07:56:33 +0000 (07:56 +0000)]
Drop the filter export grants under the same lock as the removal of the
export from the device from the export list.  This still isn't possible
for --force disconnects, so we don't do filter_grant_sanity_check() at
that time.

Also, change the LASSERTs to CERRORs in case this happens again.  First of
all to see if these errors are just transient during export disconnection
which means they are just overly-aggressive assertions, or if there is a
permanent accounting error that indicates some other problem.  Secondly, it
isn't possible to stop the use of existing export references, so there will
always be some small race during client eviction as completing operations
might update the export before it is destroyed.
b=2663

18 years agofile 2.6.3-mm4 was initially added on branch b_v26.
ericm [Tue, 9 Mar 2004 04:37:54 +0000 (04:37 +0000)]
file 2.6.3-mm4 was initially added on branch b_v26.

18 years agofile vfs_nointent-2.6.3-mm4.patch was initially added on branch b_v26.
ericm [Tue, 9 Mar 2004 04:37:53 +0000 (04:37 +0000)]
file vfs_nointent-2.6.3-mm4.patch was initially added on branch b_v26.

18 years agofile iopen-2.6.3-mm4.patch was initially added on branch b_v26.
ericm [Tue, 9 Mar 2004 04:37:52 +0000 (04:37 +0000)]
file iopen-2.6.3-mm4.patch was initially added on branch b_v26.

18 years agofile fs-intent-2.6.3-mm4.patch was initially added on branch b_v26.
ericm [Tue, 9 Mar 2004 04:37:51 +0000 (04:37 +0000)]
file fs-intent-2.6.3-mm4.patch was initially added on branch b_v26.

18 years agob=2295
jacob [Tue, 9 Mar 2004 03:32:50 +0000 (03:32 +0000)]
b=2295
r=adilger

 * clean up bugs in previous patch
 * print basename(argv[0]) instead of "mount" with error messages

18 years agob 2295
youfeng [Tue, 9 Mar 2004 02:37:28 +0000 (02:37 +0000)]
b 2295
r Jacob

add a missing arg to printf, make the program exit with 1 on args error

18 years agob 2295
youfeng [Tue, 9 Mar 2004 01:23:03 +0000 (01:23 +0000)]
b 2295
r Adilger

fix a llmount, mount.lustre segment fault bug

18 years agofixup last commit
jacob [Tue, 9 Mar 2004 01:08:30 +0000 (01:08 +0000)]
fixup last commit

18 years agor=adilger,phil
jacob [Tue, 9 Mar 2004 00:15:38 +0000 (00:15 +0000)]
r=adilger,phil
b=2464

Land initial b_bgl fixes.  Includes compile and a couple of swabbing
fixes.

18 years agoCopy the extent lock policy data only in the completion callback, or in the
adilger [Mon, 8 Mar 2004 20:33:26 +0000 (20:33 +0000)]
Copy the extent lock policy data only in the completion callback, or in the
enqueue reply if the extent was changed and granted immediately.  This
avoids overwriting the policy data if it was updated in the completion callback
before the reply was processed.
b=2901
r=phil

18 years agoHandle glimpse races where inode is evicted by client but still holding lock.
adilger [Mon, 8 Mar 2004 20:08:55 +0000 (20:08 +0000)]
Handle glimpse races where inode is evicted by client but still holding lock.
b=2818

18 years ago* Made echo_commitrw() pay attention to the final 'rc' parameter (bug 1450)
eeb [Mon, 8 Mar 2004 17:46:43 +0000 (17:46 +0000)]
*  Made echo_commitrw() pay attention to the final 'rc' parameter (bug 1450)

18 years agoFix munlink messages to not make it appear like there was an unlink failure.
adilger [Mon, 8 Mar 2004 17:12:40 +0000 (17:12 +0000)]
Fix munlink messages to not make it appear like there was an unlink failure.
b=2167

18 years agoIncrement the ost_start_idx inside the object creation loop even if there is
adilger [Sun, 7 Mar 2004 03:17:59 +0000 (03:17 +0000)]
Increment the ost_start_idx inside the object creation loop even if there is
a failed object creation instead of in advance.  Otherwise, if there is a
down OST the following one will have twice as many objects allocated on it
(observed with watch-lustre on ALC while running IOR with one OST inactive
on the MDS).

18 years ago- tagging RC_CURRENT
buffalo-pull [Sat, 6 Mar 2004 00:16:17 +0000 (00:16 +0000)]
- tagging RC_CURRENT

18 years ago- tagging RC_CURRENT
buffalo-pull [Fri, 5 Mar 2004 04:39:35 +0000 (04:39 +0000)]
- tagging RC_CURRENT

18 years agoLand b1_2 onto HEAD (20040304_171022)
adilger [Fri, 5 Mar 2004 03:52:30 +0000 (03:52 +0000)]
Land b1_2 onto HEAD (20040304_171022)
b=2733, b=2773, b=2529, b=2730, b=2819, b=2814, b=2822, b=1450, b=2676, b=2681
b=2817, b=2706, b=2816, b=1987, b=2884, b=1191, b=2809, b=2765, b=2805, b=1972

18 years agofile vanilla-2.6.3-nfs4 was initially added on branch b_v26.
ericm [Thu, 4 Mar 2004 12:29:44 +0000 (12:29 +0000)]
file vanilla-2.6.3-nfs4 was initially added on branch b_v26.

18 years agoliblustre:
ericm [Thu, 4 Mar 2004 11:07:43 +0000 (11:07 +0000)]
liblustre:
 - don't build mpi programs by default, as Bob's suggestion

18 years ago- tagging RC_CURRENT
buffalo-pull [Thu, 4 Mar 2004 00:04:24 +0000 (00:04 +0000)]
- tagging RC_CURRENT

18 years agoliblustre:
ericm [Wed, 3 Mar 2004 16:52:32 +0000 (16:52 +0000)]
liblustre:
 - another inode drop fix
 - fix a stupid error of last checkin

18 years agoliblustre:
ericm [Wed, 3 Mar 2004 14:37:03 +0000 (14:37 +0000)]
liblustre:
 - supress a warning of glimpse callback
 - remove the debug code accidently checked in sometime before

18 years agoliblustre:
ericm [Wed, 3 Mar 2004 14:33:55 +0000 (14:33 +0000)]
liblustre:
 - don't blindly drop inode
 - fix iget
 - root inode checking

18 years agofile build_check.h was initially added on branch b_cray_portals_merge.
zab [Tue, 2 Mar 2004 23:12:35 +0000 (23:12 +0000)]
file build_check.h was initially added on branch b_cray_portals_merge.

18 years agofile lustre_list.h was initially added on branch b_cray_portals_merge.
zab [Tue, 2 Mar 2004 23:12:28 +0000 (23:12 +0000)]
file lustre_list.h was initially added on branch b_cray_portals_merge.

18 years agofile llite_gns.c was initially added on branch b_gns.
phil [Tue, 2 Mar 2004 17:22:56 +0000 (17:22 +0000)]
file llite_gns.c was initially added on branch b_gns.

18 years agoliblustre:
ericm [Tue, 2 Mar 2004 15:00:53 +0000 (15:00 +0000)]
liblustre:
 - b#1179: fix byteorder definition
 - minor code cleanup in liblustre.h

18 years agoliblustre:
ericm [Tue, 2 Mar 2004 14:56:14 +0000 (14:56 +0000)]
liblustre:
 - fix broken readdir test

18 years agoliblustre:
ericm [Tue, 2 Mar 2004 13:38:08 +0000 (13:38 +0000)]
liblustre:
 - must update kms after write

18 years agoChanges in vanilla-2.4.20 patch set. Added tmpfs related patches.
yury [Tue, 2 Mar 2004 13:13:16 +0000 (13:13 +0000)]
Changes in vanilla-2.4.20 patch set. Added tmpfs related patches.

18 years agoliblustre build fix:
ericm [Tue, 2 Mar 2004 08:57:01 +0000 (08:57 +0000)]
liblustre build fix:
 - follow the file size glimpse/probe change

18 years ago- tagging RC_CURRENT
buffalo-pull [Tue, 2 Mar 2004 03:03:30 +0000 (03:03 +0000)]
- tagging RC_CURRENT

18 years agofile module.c was initially added on branch b_cray_portals_merge.
zab [Tue, 2 Mar 2004 01:34:26 +0000 (01:34 +0000)]
file module.c was initially added on branch b_cray_portals_merge.

18 years agofile list.h was initially added on branch b_cray_portals_merge.
zab [Tue, 2 Mar 2004 01:34:21 +0000 (01:34 +0000)]
file list.h was initially added on branch b_cray_portals_merge.

18 years agofile libcfs.h was initially added on branch b_cray_portals_merge.
zab [Tue, 2 Mar 2004 01:34:20 +0000 (01:34 +0000)]
file libcfs.h was initially added on branch b_cray_portals_merge.

18 years agoDon't dereference NULL lock in error path
phil [Mon, 1 Mar 2004 18:16:43 +0000 (18:16 +0000)]
Don't dereference NULL lock in error path

18 years agoUpdated iopen patch for tmpfs.
yury [Mon, 1 Mar 2004 15:35:32 +0000 (15:35 +0000)]
Updated iopen patch for tmpfs.

18 years agoto incorporate change of lib_finalize function in portals/portals/lib-msg.c
hitao [Mon, 1 Mar 2004 15:20:48 +0000 (15:20 +0000)]
to incorporate change of lib_finalize function in portals/portals/lib-msg.c

18 years agomerge gmnal code in b_llp2 to HEAD
hitao [Mon, 1 Mar 2004 15:15:19 +0000 (15:15 +0000)]
merge gmnal code in b_llp2 to HEAD

18 years agofile vallina-2.6.3-nfs4 was initially added on branch b_v26.
ericm [Mon, 1 Mar 2004 12:14:38 +0000 (12:14 +0000)]
file vallina-2.6.3-nfs4 was initially added on branch b_v26.

18 years agofile uml-patch-2.6.3-rc2-1.patch was initially added on branch b_v26.
ericm [Mon, 1 Mar 2004 12:14:37 +0000 (12:14 +0000)]
file uml-patch-2.6.3-rc2-1.patch was initially added on branch b_v26.

18 years agofile uml-fix-2.6.3.patch was initially added on branch b_v26.
ericm [Mon, 1 Mar 2004 12:14:36 +0000 (12:14 +0000)]
file uml-fix-2.6.3.patch was initially added on branch b_v26.

18 years agofile linux-2.6.3-nfs-intent.patch was initially added on branch b_v26.
ericm [Mon, 1 Mar 2004 12:14:35 +0000 (12:14 +0000)]
file linux-2.6.3-nfs-intent.patch was initially added on branch b_v26.

18 years agofile linux-2.6.3-CITI_NFS4_ALL.patch was initially added on branch b_v26.
ericm [Mon, 1 Mar 2004 12:14:34 +0000 (12:14 +0000)]
file linux-2.6.3-CITI_NFS4_ALL.patch was initially added on branch b_v26.

18 years agofile export-2.6.3.patch was initially added on branch b_v26.
ericm [Mon, 1 Mar 2004 12:14:33 +0000 (12:14 +0000)]
file export-2.6.3.patch was initially added on branch b_v26.

18 years ago- tagging RC_CURRENT
buffalo-pull [Sat, 28 Feb 2004 00:10:13 +0000 (00:10 +0000)]
- tagging RC_CURRENT

18 years agofile branch.sh was initially added on branch b_smallfix.
adilger [Fri, 27 Feb 2004 22:18:21 +0000 (22:18 +0000)]
file branch.sh was initially added on branch b_smallfix.

18 years ago* Changed obdecho persistent object id to 1; object id 0 is now illegal.
eeb [Fri, 27 Feb 2004 19:07:14 +0000 (19:07 +0000)]
*  Changed obdecho persistent object id to 1; object id 0 is now illegal.

*  Fixed obdecho persistent object size at 1 MByte.

*  Changed test_brw data verification tests to work on a fixed 4k block
   rather than on page size to allow different page sized servers and
   clients.

18 years ago* Applied the last patch in Bug 2306, which changes the portals router/NAL
eeb [Fri, 27 Feb 2004 16:43:23 +0000 (16:43 +0000)]
*  Applied the last patch in Bug 2306, which changes the portals router/NAL
   forwarding interface from a single struct iovec for the message header +
   payload, to passing the message header by pointer, and the message body
   by ptl_kiov_t (== page,offset,size).  This restores portals router
   performance by allowing it to use socknal zero copy again.

*  Applied the socknal connection load balancing fix from Bug 2817

18 years ago- tagging RC_CURRENT
buffalo-pull [Fri, 27 Feb 2004 01:11:08 +0000 (01:11 +0000)]
- tagging RC_CURRENT

18 years ago- tagging RC_CURRENT
buffalo-pull [Thu, 26 Feb 2004 00:05:42 +0000 (00:05 +0000)]
- tagging RC_CURRENT

18 years agoUpdate smfs: minor fixs in smfs_unlink
wangdi [Wed, 25 Feb 2004 16:15:00 +0000 (16:15 +0000)]
Update smfs: minor fixs in smfs_unlink

18 years agoUpdate smfs:some minor fix in smfs
wangdi [Wed, 25 Feb 2004 09:18:29 +0000 (09:18 +0000)]
Update smfs:some minor fix in smfs

18 years agoUpdate smfs: 1)unlock cache inode after we call bottom fs methods 2)minor fix in...
wangdi [Tue, 24 Feb 2004 18:44:49 +0000 (18:44 +0000)]
Update smfs: 1)unlock cache inode after we call bottom fs methods 2)minor fix in symlink ops

18 years agosome scripts were mysteriously deleted when b_size landed
phil [Tue, 24 Feb 2004 07:51:55 +0000 (07:51 +0000)]
some scripts were mysteriously deleted when b_size landed

18 years agoFix a fencepost I was pretty sure I had already fixed (I checked; the
phil [Tue, 24 Feb 2004 07:25:06 +0000 (07:25 +0000)]
Fix a fencepost I was pretty sure I had already fixed (I checked; the
other places were still fixed).  NB: a lock on [x,y] protects a KMS of
up to y+1 bytes.

18 years agob 2295
youfeng [Tue, 24 Feb 2004 06:56:16 +0000 (06:56 +0000)]
b 2295
r Adilger

move defination IOC_MDC_GETSTRIPE and declaration op_create_file() to lustre_user.h cause it is needed for user-space apps.

add a funcation int get_file_stripe(char *path, struct lov_user_md *lum) in liblustreapi.c, which is used by user apps want to get Lustre files' stripe info

18 years agoFix RPM tag
adilger [Tue, 24 Feb 2004 02:35:15 +0000 (02:35 +0000)]
Fix RPM tag

18 years agoLand b_smallfix onto HEAD (20040223_1817)
adilger [Tue, 24 Feb 2004 01:47:59 +0000 (01:47 +0000)]
Land b_smallfix onto HEAD (20040223_1817)

18 years agor=phil
jacob [Tue, 24 Feb 2004 00:00:52 +0000 (00:00 +0000)]
r=phil

if mount.lustre is not installed, don't oops but print a message
suggesting it be checked.

18 years agob=1021,2720
phil [Mon, 23 Feb 2004 23:37:30 +0000 (23:37 +0000)]
b=1021,2720
land b_size on HEAD for 1.2

18 years agoCreate ll_truncate_complete_page() compat macro.
adilger [Mon, 23 Feb 2004 17:52:03 +0000 (17:52 +0000)]
Create ll_truncate_complete_page() compat macro.

18 years agoupdate smfs 1)Add kml in smfs, but still not finish it, will change later according...
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

18 years agoport several patches to 2.6.3
ericm [Mon, 23 Feb 2004 14:45:38 +0000 (14:45 +0000)]
port several patches to 2.6.3

18 years ago2.6 compile fix under obdfilter.
ericm [Mon, 23 Feb 2004 14:14:50 +0000 (14:14 +0000)]
2.6 compile fix under obdfilter.

18 years agomodule's init function will not get called when loading in 2.6.
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.

18 years agoget rid of some .h file we do not need in options.c
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

18 years ago* Applied fix for 1888
eeb [Sat, 21 Feb 2004 09:54:05 +0000 (09:54 +0000)]
*  Applied fix for 1888

18 years agocopy inode attribute to bottom inode in smfs_dirty_inode
wangdi [Fri, 20 Feb 2004 13:59:39 +0000 (13:59 +0000)]
copy inode attribute to bottom inode in smfs_dirty_inode

18 years agob=2774
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.

18 years agob_2074
youfeng [Fri, 20 Feb 2004 06:03:58 +0000 (06:03 +0000)]
b_2074
r = Adilger

 b 2074 comment 33 -- cleanup code using fstat()

18 years agoOops, Just forget to commit smfs_internal.h in the last commit
wangdi [Thu, 19 Feb 2004 14:33:30 +0000 (14:33 +0000)]
Oops, Just forget to commit smfs_internal.h in the last commit

18 years agoUpdate smfs 1. Use d_alloc to alloc the cache dentry 2. some minor fixs
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

18 years ago- tagging RC_CURRENT
buffalo-pull [Thu, 19 Feb 2004 03:46:05 +0000 (03:46 +0000)]
- tagging RC_CURRENT

18 years agob=2751
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.

18 years agoFix endian conversion of socknal major/minor version. They are __u16 not __u32.
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

18 years ago1. Replace i_mapping with the bottom inode imapping in mmap method according to peter...
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

18 years agoIncrease the number of request buffers to 4096 from 1024 for a 4GB machine
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

18 years agoadd address method of smfs for mmap
wangdi [Tue, 17 Feb 2004 09:01:27 +0000 (09:01 +0000)]
add address method of smfs for mmap

18 years agor=shaver
jacob [Tue, 17 Feb 2004 04:03:18 +0000 (04:03 +0000)]
r=shaver

Fix configure option indenting.

18 years agocopy bottom inode attribute out to the vfs inode
wangdi [Mon, 16 Feb 2004 13:42:44 +0000 (13:42 +0000)]
copy bottom inode attribute out to the vfs inode

18 years agoUpdate smfs: 1.fix bugs in smfs_link 2) decrease i_count in smfs_clear_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

18 years agoShouldn't have been merged.
adilger [Mon, 16 Feb 2004 07:15:58 +0000 (07:15 +0000)]
Shouldn't have been merged.

18 years agoAdd newline to ll_readpage() debug message.
adilger [Mon, 16 Feb 2004 06:56:45 +0000 (06:56 +0000)]
Add newline to ll_readpage() debug message.

18 years agoRe-add CVS helper scripts. Not sure how they were lost.
adilger [Mon, 16 Feb 2004 00:33:18 +0000 (00:33 +0000)]
Re-add CVS helper scripts.  Not sure how they were lost.

18 years ago1. Adding iput(cache_inode) in smfs_clear_inode for clearing cache inode according...
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

18 years agoremove the ancient workaround for liblustre in osc_announce_cached().
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.

18 years agob=2726: make sure that we properly balance page locking in the case of a failed
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

18 years ago- tagging RC_CURRENT
buffalo-pull [Sat, 14 Feb 2004 03:35:41 +0000 (03:35 +0000)]
- tagging RC_CURRENT

18 years agoland b_eq on HEAD
rread [Sat, 14 Feb 2004 03:16:22 +0000 (03:16 +0000)]
land b_eq on HEAD

18 years agoOops.
adilger [Fri, 13 Feb 2004 23:42:52 +0000 (23:42 +0000)]
Oops.

18 years agoLanding b_bug974 onto HEAD (20040213_1538).
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

18 years agoLand b_smallfix onto HEAD (20040213_1402)
adilger [Fri, 13 Feb 2004 21:32:19 +0000 (21:32 +0000)]
Land b_smallfix onto HEAD (20040213_1402)

18 years agoOr rather just old ones, since this bites me sometimes.
adilger [Fri, 13 Feb 2004 18:00:39 +0000 (18:00 +0000)]
Or rather just old ones, since this bites me sometimes.

18 years agoIgnore all .mergeinfo files.
adilger [Fri, 13 Feb 2004 17:59:21 +0000 (17:59 +0000)]
Ignore all .mergeinfo files.

18 years agoUpdate smfs: fix bugs of smfs_create
wangdi [Fri, 13 Feb 2004 14:28:46 +0000 (14:28 +0000)]
Update smfs: fix bugs of smfs_create

18 years agoUpdate smfs: some fix about clear_inode in smfs
wangdi [Fri, 13 Feb 2004 07:23:00 +0000 (07:23 +0000)]
Update smfs: some fix about clear_inode in smfs