Whamcloud - gitweb
fs/lustre-release.git
17 years agoBranch b_new_cmd
vitaly [Sun, 22 Oct 2006 18:14:08 +0000 (18:14 +0000)]
Branch b_new_cmd

'./stat' command could not be found

17 years agoBranch:b_new_cmd
wangdi [Sun, 22 Oct 2006 09:28:41 +0000 (09:28 +0000)]
Branch:b_new_cmd
when stripe_count == -1, we should retrieve the ost_count as the
stripe_count when computing the log credits

17 years ago- use full_name_hash()
tappro [Sun, 22 Oct 2006 08:23:47 +0000 (08:23 +0000)]
- use full_name_hash()

17 years agoBranch: b_new_cmd
wangdi [Sun, 22 Oct 2006 05:33:35 +0000 (05:33 +0000)]
Branch: b_new_cmd
 clear MA_LOV | MA_COOKIE, if we do not unlink it. since we get it
 in the begining of unlink for retrieving the lsm_stripe_count for
 unlink credits

17 years agoBranch: b_new_cmd
wangdi [Sun, 22 Oct 2006 04:08:07 +0000 (04:08 +0000)]
Branch: b_new_cmd
correct handling mdd pdir locks in mdd_rename

17 years ago - fix issues with create recovery
tappro [Sat, 21 Oct 2006 23:23:17 +0000 (23:23 +0000)]
 - fix issues with create recovery

17 years agollite: readdir: drop lfd_dup support: it only complicates things and confuses gnu...
nikita [Sat, 21 Oct 2006 18:26:21 +0000 (18:26 +0000)]
llite: readdir: drop lfd_dup support: it only complicates things and confuses gnu rm(1).

17 years agoiam: add proper hash collision handling.
nikita [Sat, 21 Oct 2006 18:25:14 +0000 (18:25 +0000)]
iam: add proper hash collision handling.

17 years agoAdd timestamp for remote client permission, reduce unnecessary checking.
fanyong [Sat, 21 Oct 2006 14:50:04 +0000 (14:50 +0000)]
Add timestamp for remote client permission, reduce unnecessary checking.

17 years ago- error handling for dynlocks
tappro [Sat, 21 Oct 2006 12:06:26 +0000 (12:06 +0000)]
- error handling for dynlocks

17 years agomdd: fix typoes.
nikita [Sat, 21 Oct 2006 10:35:01 +0000 (10:35 +0000)]
mdd: fix typoes.

17 years ago- changes due to pdirops
tappro [Sat, 21 Oct 2006 10:22:32 +0000 (10:22 +0000)]
- changes due to pdirops

17 years ago- implement pdirops in mdd. It uses dynlocks for directory operations.
tappro [Sat, 21 Oct 2006 10:17:27 +0000 (10:17 +0000)]
- implement pdirops in mdd. It uses dynlocks for directory operations.
- use -EREMOTE in mdd_is_parent instead of EREMOTE.

17 years ago- wrong variable name
tappro [Sat, 21 Oct 2006 10:12:33 +0000 (10:12 +0000)]
- wrong variable name

17 years ago- init ma_valid before usage
tappro [Sat, 21 Oct 2006 10:00:42 +0000 (10:00 +0000)]
- init ma_valid before usage

17 years agoBranch: b_new_cmd
wangdi [Sat, 21 Oct 2006 09:44:47 +0000 (09:44 +0000)]
Branch: b_new_cmd
 in mdd_creat, get md directly, do not get md by attr_get later

17 years agoBranch: b_new_cmd
wangdi [Sat, 21 Oct 2006 09:30:59 +0000 (09:30 +0000)]
Branch: b_new_cmd
Do not check mdsnum for single mds.

17 years agoBranch b_new_cmd
wangdi [Sat, 21 Oct 2006 05:12:46 +0000 (05:12 +0000)]
Branch b_new_cmd
add dynamic-locks to 2.6-fc3 series

17 years agobranch: b_new_cmd
ericm [Sat, 21 Oct 2006 05:02:05 +0000 (05:02 +0000)]
branch: b_new_cmd
fix getxattr(), enable user_xattr & acl for local test cfg by default.

17 years agollite: readdir: reset dup counter.
nikita [Fri, 20 Oct 2006 23:13:41 +0000 (23:13 +0000)]
llite: readdir: reset dup counter.

17 years agomdd: mdd_lov_create(): avoid dynamic allocation of struct obdo
nikita [Fri, 20 Oct 2006 23:12:35 +0000 (23:12 +0000)]
mdd: mdd_lov_create(): avoid dynamic allocation of struct obdo

17 years agoiam: 0. pdirops locking in iam_index_next() (readdir). 1. handle failure to allocate...
nikita [Fri, 20 Oct 2006 23:11:09 +0000 (23:11 +0000)]
iam: 0. pdirops locking in iam_index_next() (readdir). 1. handle failure to allocate dynlocks. 2. some (rudimentary) statistics code.

17 years ago clean last_xid checking/handling
tappro [Fri, 20 Oct 2006 19:40:16 +0000 (19:40 +0000)]
 clean last_xid checking/handling

17 years ago- check that mdsnum is correct in cml_create
tappro [Fri, 20 Oct 2006 19:34:46 +0000 (19:34 +0000)]
- check that mdsnum is correct in cml_create

17 years ago- convert mdl locks to ldlm ones in more samtr way;
yury [Fri, 20 Oct 2006 11:27:36 +0000 (11:27 +0000)]
- convert mdl locks to ldlm ones in more samtr way;
- add client part of pdirops locks.

17 years agoadded ext3-pdirops-2.6.9.patch for fc3 series
huanghua [Fri, 20 Oct 2006 10:41:44 +0000 (10:41 +0000)]
added ext3-pdirops-2.6.9.patch for fc3 series

17 years agocheck nlink count for hard link
huanghua [Fri, 20 Oct 2006 09:16:54 +0000 (09:16 +0000)]
check nlink count for hard link

17 years agoBranch: b_new_cmd
wangdi [Fri, 20 Oct 2006 09:15:24 +0000 (09:15 +0000)]
Branch: b_new_cmd
add time profile for mdd api

17 years agoBranch: b_new_cmd
wangdi [Fri, 20 Oct 2006 09:14:01 +0000 (09:14 +0000)]
Branch: b_new_cmd
only reset ma_lmm_size when we could get MD, otherwise this ma_md_size > 0 might
fail if we use this manytimes in a mdd api

17 years agokernel-patches: add dynlocks to -fc{3,5} series.
nikita [Fri, 20 Oct 2006 08:27:57 +0000 (08:27 +0000)]
kernel-patches: add dynlocks to -fc{3,5} series.

17 years agoBranch: b_new_cmd
wangdi [Fri, 20 Oct 2006 08:16:00 +0000 (08:16 +0000)]
Branch: b_new_cmd
move mdd_handler stuff to mdd_object.c and remove mdd_handler.c

17 years agoBranch: b_new_cmd
wangdi [Fri, 20 Oct 2006 08:03:41 +0000 (08:03 +0000)]
Branch: b_new_cmd
valid should not be reset here

17 years agoBranch: b_new_cmd
wangdi [Fri, 20 Oct 2006 07:30:41 +0000 (07:30 +0000)]
Branch: b_new_cmd
1) move mdd credits to mdd device
2) compute unlink on lsm stripe count, not ost count.
3) refresh ma valid in mdt layer, before call cmm/mdd api

17 years ago(1) fix a bug about lock in rename: we should lock the target dir and target object...
huanghua [Fri, 20 Oct 2006 06:55:39 +0000 (06:55 +0000)]
(1) fix a bug about lock in rename: we should lock the target dir and target object if and only if they are local;
(2) fix a typo bug in mdt_reint_link(): for partial link(), we should use fid1;
(3) add some test case for link: cross node link.

17 years agoMake the code more clean.
fanyong [Fri, 20 Oct 2006 06:34:15 +0000 (06:34 +0000)]
Make the code more clean.

17 years ago- break too long line
tappro [Fri, 20 Oct 2006 05:37:04 +0000 (05:37 +0000)]
- break too long line

17 years ago- another one fix to avoid memleak
tappro [Fri, 20 Oct 2006 05:32:33 +0000 (05:32 +0000)]
- another one fix to avoid memleak

17 years ago- avoid possible memleak
tappro [Fri, 20 Oct 2006 05:30:48 +0000 (05:30 +0000)]
- avoid possible memleak

17 years ago- fix wrong checking
tappro [Fri, 20 Oct 2006 05:28:14 +0000 (05:28 +0000)]
- fix wrong checking

17 years agochange capability config interface to 0/1/2/3 according to brian's advice.
lsy [Fri, 20 Oct 2006 03:36:57 +0000 (03:36 +0000)]
change capability config interface to 0/1/2/3 according to brian's advice.

17 years agodisable capability check for replay open request, because the capability might have...
lsy [Fri, 20 Oct 2006 02:06:44 +0000 (02:06 +0000)]
disable capability check for replay open request, because the capability might have expired.

17 years agoiam: use pdirops locking in iam.
nikita [Thu, 19 Oct 2006 22:56:58 +0000 (22:56 +0000)]
iam: use pdirops locking in iam.

17 years agokernel-patches: add iam/ldiskfs pdirops implementation for 2.6-rhel4
nikita [Thu, 19 Oct 2006 22:55:09 +0000 (22:55 +0000)]
kernel-patches: add iam/ldiskfs pdirops implementation for 2.6-rhel4

17 years agokernel-patches: add dynlocks (from HEAD) to 2.6-rhel4 kernel series.
nikita [Thu, 19 Oct 2006 22:52:43 +0000 (22:52 +0000)]
kernel-patches: add dynlocks (from HEAD) to 2.6-rhel4 kernel series.

17 years agoDRANGE: use %#x format specifier
nikita [Thu, 19 Oct 2006 22:51:24 +0000 (22:51 +0000)]
DRANGE: use %#x format specifier

17 years agoBranch: b_new_cmd
wangdi [Thu, 19 Oct 2006 15:49:53 +0000 (15:49 +0000)]
Branch: b_new_cmd

update for reorganizing mdd files

17 years agoSmall fix for getting ACL.
fanyong [Thu, 19 Oct 2006 14:48:13 +0000 (14:48 +0000)]
Small fix for getting ACL.

17 years agoBranch: b_new_cmd
wangdi [Thu, 19 Oct 2006 14:39:16 +0000 (14:39 +0000)]
Branch: b_new_cmd
further update for mdd files recorganizing

17 years agominor cleanup.
lsy [Thu, 19 Oct 2006 14:05:15 +0000 (14:05 +0000)]
minor cleanup.

17 years agoBranch: b_new_cmd
wangdi [Thu, 19 Oct 2006 13:45:12 +0000 (13:45 +0000)]
Branch: b_new_cmd
more update for mds_handle.c split

17 years ago- more fixes in pdirops. Cmm has not to decide what to do in case split is not going...
yury [Thu, 19 Oct 2006 09:59:09 +0000 (09:59 +0000)]
- more fixes in pdirops. Cmm has not to decide what to do in case split is not going to happen, better mdt does it.

17 years agoBranch: b_new_cmd
wangdi [Thu, 19 Oct 2006 09:52:26 +0000 (09:52 +0000)]
Branch: b_new_cmd
split mdd_handler.c into several files

17 years agoBranch: b_new_cmd
wangdi [Thu, 19 Oct 2006 09:10:49 +0000 (09:10 +0000)]
Branch: b_new_cmd
add mdd procfs support to profile mdd ops

17 years ago- fixes in pdirops
yury [Thu, 19 Oct 2006 08:45:23 +0000 (08:45 +0000)]
- fixes in pdirops

17 years agoPack ACL back when file open, fix some bug about permission.
fanyong [Thu, 19 Oct 2006 08:16:12 +0000 (08:16 +0000)]
Pack ACL back when file open, fix some bug about permission.

17 years ago- cleanups in cmm split a bit;
yury [Thu, 19 Oct 2006 08:07:10 +0000 (08:07 +0000)]
- cleanups in cmm split a bit;
- preparation stage for adding ldlm part of pdirops (not used yet, all stuff is under CONFIG_PDIROPS)

17 years ago- put fix from niu to correct place.
yury [Thu, 19 Oct 2006 06:46:11 +0000 (06:46 +0000)]
- put fix from niu to correct place.

17 years agoAdd acl initialization for cross-ref create.
fanyong [Thu, 19 Oct 2006 06:03:30 +0000 (06:03 +0000)]
Add acl initialization for cross-ref create.

17 years ago- enable check for correct placement in split dir
tappro [Thu, 19 Oct 2006 00:52:46 +0000 (00:52 +0000)]
- enable check for correct placement in split dir
- lmv_intent_open() uses lmv_get_export()

17 years agobranch: b_new_cmd
ericm [Wed, 18 Oct 2006 23:48:43 +0000 (23:48 +0000)]
branch: b_new_cmd
basic support for PAG, ported from HEAD.

17 years ago- disable valid placement check in split dir temporary
tappro [Wed, 18 Oct 2006 23:37:54 +0000 (23:37 +0000)]
- disable valid placement check in split dir temporary

17 years agobranch: b_new_cmd
ericm [Wed, 18 Oct 2006 23:22:59 +0000 (23:22 +0000)]
branch: b_new_cmd
minor fix to quiet compiler warning.

17 years agobranch: b_new_cmd
ericm [Wed, 18 Oct 2006 23:11:12 +0000 (23:11 +0000)]
branch: b_new_cmd
minor typo fix.

17 years agobranch: b_new_cmd
ericm [Wed, 18 Oct 2006 23:08:52 +0000 (23:08 +0000)]
branch: b_new_cmd
minor fix for build breakage.

17 years ago- addition to previous commit.
tappro [Wed, 18 Oct 2006 22:24:30 +0000 (22:24 +0000)]
- addition to previous commit.

17 years ago- check that lookup is happened on correct mds in case of split, return
tappro [Wed, 18 Oct 2006 22:23:40 +0000 (22:23 +0000)]
- check that lookup is happened on correct mds in case of split, return
  -ERESTART otherwise

17 years ago- handle errors during fid allocation instead of LBUG()
tappro [Wed, 18 Oct 2006 21:47:11 +0000 (21:47 +0000)]
- handle errors during fid allocation instead of LBUG()
- remove #if 1 - #endif around lmv_all_chars_policy()
- fix needless line breaking

17 years ago- remove unused semaphore
tappro [Wed, 18 Oct 2006 21:43:01 +0000 (21:43 +0000)]
- remove unused semaphore

17 years agofix a compile error
huanghua [Wed, 18 Oct 2006 17:28:43 +0000 (17:28 +0000)]
fix a compile error

17 years ago- save fid in och instead of pointer to it which may become invalid in file close...
yury [Wed, 18 Oct 2006 16:14:19 +0000 (16:14 +0000)]
- save fid in och instead of pointer to it which may become invalid in file close time;

17 years agomore efficient checking of zero-length string.
huanghua [Wed, 18 Oct 2006 16:08:10 +0000 (16:08 +0000)]
more efficient checking of zero-length string.

17 years ago- various fixes from b1_5
yury [Wed, 18 Oct 2006 08:52:07 +0000 (08:52 +0000)]
- various fixes from b1_5

17 years agoAdd mdd_init_acl for new obj (create, mkdir and so on).
fanyong [Wed, 18 Oct 2006 08:38:56 +0000 (08:38 +0000)]
Add mdd_init_acl for new obj (create, mkdir and so on).

17 years agoBranch: b_new_cmd
wangdi [Wed, 18 Oct 2006 06:41:35 +0000 (06:41 +0000)]
Branch: b_new_cmd
typo fix about raw lookup return value indicated by tappro

17 years agoBranch: b_new_cmd
wangdi [Wed, 18 Oct 2006 06:21:26 +0000 (06:21 +0000)]
Branch: b_new_cmd
add raw lookup support in mdt for those lookup perf verfication test

17 years agoadd lock on son while doing error handling
huanghua [Wed, 18 Oct 2006 06:18:06 +0000 (06:18 +0000)]
add lock on son while doing error handling

17 years agoShould check ACL when directory search.
fanyong [Wed, 18 Oct 2006 03:18:23 +0000 (03:18 +0000)]
Should check ACL when directory search.

17 years agopatches: turn PROC_SLEEP on in relevant configs.
nikita [Tue, 17 Oct 2006 22:59:21 +0000 (22:59 +0000)]
patches: turn PROC_SLEEP on in relevant configs.

17 years agopatches: add sleeping statistics collection patch. See mail message to colibri@ for...
nikita [Tue, 17 Oct 2006 22:00:30 +0000 (22:00 +0000)]
patches: add sleeping statistics collection patch. See mail message to colibri@ for more information.

17 years agoiam: 0. add more integrity checks (no index node points back to the root), 2. (tentat...
nikita [Tue, 17 Oct 2006 19:51:14 +0000 (19:51 +0000)]
iam: 0. add more integrity checks (no index node points back to the root), 2. (tentatively) fix 11027.

17 years ago- small fix to prevent lost update of obd_next_recovery_transno value
tappro [Tue, 17 Oct 2006 19:13:46 +0000 (19:13 +0000)]
- small fix to prevent lost update of obd_next_recovery_transno value

17 years ago- return back default policy for non-directories. ONLY directories can be
tappro [Tue, 17 Oct 2006 19:10:53 +0000 (19:10 +0000)]
- return back default policy for non-directories. ONLY directories can be
  cross-ref during creation
- replace mea index name from 'mds' to 'mea_idx' to make that clear that index
  is not number of mds.

17 years ago- for non-split lmv_placement_policy() should spread inodes over all MDSes smoothly...
yury [Tue, 17 Oct 2006 16:29:43 +0000 (16:29 +0000)]
- for non-split lmv_placement_policy() should spread inodes over all MDSes smoothly as well, not only fpor dirs.

17 years agomdd: mdd_create(): update outdated comment.
nikita [Tue, 17 Oct 2006 16:17:27 +0000 (16:17 +0000)]
mdd: mdd_create(): update outdated comment.

17 years agoSmall fix.
fanyong [Tue, 17 Oct 2006 15:21:09 +0000 (15:21 +0000)]
Small fix.

17 years agolu: proper locking for site.ls_total
nikita [Tue, 17 Oct 2006 15:09:52 +0000 (15:09 +0000)]
lu: proper locking for site.ls_total

17 years ago- liblustre build fix.
yury [Tue, 17 Oct 2006 14:27:39 +0000 (14:27 +0000)]
- liblustre build fix.

17 years ago- cleanups in seq-mgr, move cache statistics to lu_cache;
yury [Tue, 17 Oct 2006 14:12:21 +0000 (14:12 +0000)]
- cleanups in seq-mgr, move cache statistics to lu_cache;
- remove needless locks in fld server and client.

17 years agoProcess "-ENODATA" correctly for ACL, update lli_posix_acl even if no acl.
fanyong [Tue, 17 Oct 2006 13:49:30 +0000 (13:49 +0000)]
Process "-ENODATA" correctly for ACL, update lli_posix_acl even if no acl.

17 years agoadd full support for remote operations.
lsy [Tue, 17 Oct 2006 13:27:43 +0000 (13:27 +0000)]
add full support for remote operations.
typo fix in sanity.sh.

17 years agoBranch: b_new_cmd
wangdi [Tue, 17 Oct 2006 11:16:17 +0000 (11:16 +0000)]
Branch: b_new_cmd

check group correctly for filter precreate

17 years ago(1) support very long symlink name;
huanghua [Tue, 17 Oct 2006 10:12:15 +0000 (10:12 +0000)]
(1) support very long symlink name;
(2) add test case for very long symlink name;

17 years agoAdd mdd_acl_chmod for acl changing when chmod.
fanyong [Tue, 17 Oct 2006 08:49:39 +0000 (08:49 +0000)]
Add mdd_acl_chmod for acl changing when chmod.

17 years agoinitialize the body->eadatalen and body->acllen by generic code.
huanghua [Tue, 17 Oct 2006 08:32:51 +0000 (08:32 +0000)]
initialize the body->eadatalen and body->acllen by generic code.

17 years agosymlink name is also stored there.
huanghua [Tue, 17 Oct 2006 05:44:43 +0000 (05:44 +0000)]
symlink name is also stored there.

17 years agoBranch: b_new_cmd
wangdi [Tue, 17 Oct 2006 05:02:55 +0000 (05:02 +0000)]
Branch: b_new_cmd
test fixes about sanity-65

17 years agoanother one issue with pack_reply
tappro [Mon, 16 Oct 2006 17:04:12 +0000 (17:04 +0000)]
another one issue with pack_reply

17 years ago- in abort_req_replay_queue() pass correct count of fields to lustre_pack_reply().
yury [Mon, 16 Oct 2006 16:54:26 +0000 (16:54 +0000)]
- in abort_req_replay_queue() pass correct count of fields to lustre_pack_reply().

17 years agomdt: mdt_shrink_reply(): do not assume body->eadatasize always contains EA size:...
nikita [Mon, 16 Oct 2006 15:07:35 +0000 (15:07 +0000)]
mdt: mdt_shrink_reply(): do not assume body->eadatasize always contains EA size: it might be symlink.

17 years agoBranch: b_new_cmd
wangdi [Mon, 16 Oct 2006 15:06:13 +0000 (15:06 +0000)]
Branch: b_new_cmd
replace atoi to strtoul, since atoi can not cast 0xffffffff to -1