Whamcloud - gitweb
fs/lustre-release.git
17 years agoiam/pdirops: remove obsolete comment.
nikita [Wed, 25 Oct 2006 17:26:41 +0000 (17:26 +0000)]
iam/pdirops: remove obsolete comment.

17 years agoiam: little cleanup.
nikita [Wed, 25 Oct 2006 17:26:20 +0000 (17:26 +0000)]
iam: little cleanup.

17 years agodynlocks: dynlock_unlock(): print invalid magic before panicking.
nikita [Wed, 25 Oct 2006 17:25:50 +0000 (17:25 +0000)]
dynlocks: dynlock_unlock(): print invalid magic before panicking.

17 years agomdt: add const to make compiler happy.
nikita [Wed, 25 Oct 2006 16:58:06 +0000 (16:58 +0000)]
mdt: add const to make compiler happy.

17 years agodisable expensive assert.
nikita [Wed, 25 Oct 2006 16:55:18 +0000 (16:55 +0000)]
disable expensive assert.

17 years agofix comment to match reality.
nikita [Wed, 25 Oct 2006 16:55:01 +0000 (16:55 +0000)]
fix comment to match reality.

17 years agomake lustre less noisy during normal operation.
nikita [Wed, 25 Oct 2006 16:54:39 +0000 (16:54 +0000)]
make lustre less noisy during normal operation.

17 years agoBranch: b_new_cmd
wangdi [Wed, 25 Oct 2006 13:28:40 +0000 (13:28 +0000)]
Branch: b_new_cmd
change this debug level to VFSTRACE temporarily for debuging read-ahead

17 years agoBranch: b_new_cmd
wangdi [Wed, 25 Oct 2006 13:24:34 +0000 (13:24 +0000)]
Branch: b_new_cmd
unlink dir still need some credits for del the index and unlink the object

17 years ago- fixes in mdt_rename_lock()
yury [Wed, 25 Oct 2006 13:01:23 +0000 (13:01 +0000)]
- fixes in mdt_rename_lock()

17 years ago- use FL_LOCAL for big rename lock, it is never going to be sent to other nodes.
yury [Wed, 25 Oct 2006 12:50:57 +0000 (12:50 +0000)]
- use FL_LOCAL for big rename lock, it is never going to be sent to other nodes.

17 years ago- use req_xid_is_last()
tappro [Wed, 25 Oct 2006 10:37:59 +0000 (10:37 +0000)]
- use req_xid_is_last()
- fix mdt_req_from_mcd() for MDS_DONE_WRITING

17 years ago- added two asserts to catch test 11 issue.
yury [Wed, 25 Oct 2006 10:09:09 +0000 (10:09 +0000)]
- added two asserts to catch test 11 issue.

17 years agoSmall fix.
fanyong [Wed, 25 Oct 2006 07:30:05 +0000 (07:30 +0000)]
Small fix.

17 years agoMake the code more compatible.
fanyong [Wed, 25 Oct 2006 03:01:24 +0000 (03:01 +0000)]
Make the code more compatible.

17 years agoBranch b_new_cmd
vitaly [Tue, 24 Oct 2006 20:44:41 +0000 (20:44 +0000)]
Branch b_new_cmd

do not take credits for unlinking directories.

17 years agoiam: iam_it_collision(): release path before repeating lookup (fid to buffalo failure).
nikita [Tue, 24 Oct 2006 13:21:19 +0000 (13:21 +0000)]
iam: iam_it_collision(): release path before repeating lookup (fid to buffalo failure).

17 years ago- fixed test 26 in recovery-small
yury [Tue, 24 Oct 2006 13:00:30 +0000 (13:00 +0000)]
- fixed test 26 in recovery-small

17 years ago- do not call any obd_fid_init() from llite, do that from lmv only;
yury [Tue, 24 Oct 2006 12:27:15 +0000 (12:27 +0000)]
- do not call any obd_fid_init() from llite, do that from lmv only;
- handle adding new mdc in lvm correctly from POV of seq init;
- move tgt disconnect to lmv_disconnect_mdc(), call obd_fid_fini() from it;
- deny adding new fld target on fly, continue to work with old targets set (hack until DHT is not used);
- fix sanity 24g, use mdd_is_root() for root comparisons as lu_fid_eq() can't be used fo root fids.

17 years agoBranch: b_new_cmd
wangdi [Tue, 24 Oct 2006 11:50:28 +0000 (11:50 +0000)]
Branch: b_new_cmd
we should update cat log hdr only after we successfully create the new log,
otherwise the index will be wrong, when disk full, which maybe cause lbug later

17 years ago- remove pdirops defines. Now it is active all the time without any keys in configure.
yury [Tue, 24 Oct 2006 07:46:04 +0000 (07:46 +0000)]
- remove pdirops defines. Now it is active all the time without any keys in configure.

17 years ago(1) more restriction on fid_is_sane();
huanghua [Tue, 24 Oct 2006 07:33:24 +0000 (07:33 +0000)]
(1) more restriction on fid_is_sane();
(2) use precise symlink length.

17 years agolvfs: fsfilt_ext3_read(): return actually read size.
nikita [Tue, 24 Oct 2006 06:38:01 +0000 (06:38 +0000)]
lvfs: fsfilt_ext3_read(): return actually read size.

17 years agoosd,mdd: move osd_readpage() and friends into mdd layer. Remove ->do_readpage() metho...
nikita [Tue, 24 Oct 2006 05:21:32 +0000 (05:21 +0000)]
osd,mdd: move osd_readpage() and friends into mdd layer. Remove ->do_readpage() method from dt_object_operations.

17 years agobranch: b_new_cmd
ericm [Mon, 23 Oct 2006 22:49:31 +0000 (22:49 +0000)]
branch: b_new_cmd
move configuration of capa/pag/gss back to lustre-core.

17 years agoosd: implement osd_{read,write}() on top of fsfilt_ldiskfs buffer-head-based versions.
nikita [Mon, 23 Oct 2006 22:26:01 +0000 (22:26 +0000)]
osd: implement osd_{read,write}() on top of fsfilt_ldiskfs buffer-head-based versions.

17 years agokernel_patches: dynlocks: a bit of cleanups.
nikita [Mon, 23 Oct 2006 18:34:38 +0000 (18:34 +0000)]
kernel_patches: dynlocks: a bit of cleanups.

17 years agoldlm: ldlm_lock_debug(): fix it so it prints something (from Andreas via Oleg).
nikita [Mon, 23 Oct 2006 18:33:30 +0000 (18:33 +0000)]
ldlm: ldlm_lock_debug(): fix it so it prints something (from Andreas via Oleg).

17 years agopdirops: quick fix to enable pdirops unconditionally.
nikita [Mon, 23 Oct 2006 18:29:47 +0000 (18:29 +0000)]
pdirops: quick fix to enable pdirops unconditionally.

17 years ago- more cleanups in pdo
yury [Mon, 23 Oct 2006 16:56:16 +0000 (16:56 +0000)]
- more cleanups in pdo

17 years agodynlocks: fix assertion that does not take read-locking into account.
nikita [Mon, 23 Oct 2006 15:59:57 +0000 (15:59 +0000)]
dynlocks: fix assertion that does not take read-locking into account.

17 years ago- small cleanups in mdt_object_lock()
yury [Mon, 23 Oct 2006 15:48:14 +0000 (15:48 +0000)]
- small cleanups in mdt_object_lock()

17 years agoiam: tentative fix for b=11098.
nikita [Mon, 23 Oct 2006 15:36:49 +0000 (15:36 +0000)]
iam: tentative fix for b=11098.

17 years agoBranch: b_new_cmd
wangdi [Mon, 23 Oct 2006 13:57:00 +0000 (13:57 +0000)]
Branch: b_new_cmd
since we already set no_need_trans for split. so remove this ugly hack
for split.

17 years ago- fix qos_maxage issue. It was uninitialized.
tappro [Mon, 23 Oct 2006 13:37:51 +0000 (13:37 +0000)]
- fix qos_maxage issue. It was uninitialized.

17 years ago- small fixes, cleanups, comments in pdirops code in mdt.
yury [Mon, 23 Oct 2006 12:08:59 +0000 (12:08 +0000)]
- small fixes, cleanups, comments in pdirops code in mdt.

17 years agoosd: osd_dir_page_build(): cleanup BE/cpu/LE conversion.
nikita [Mon, 23 Oct 2006 10:18:22 +0000 (10:18 +0000)]
osd: osd_dir_page_build(): cleanup BE/cpu/LE conversion.

17 years agomdd: cleanup naming: fid is record rather than key.
nikita [Mon, 23 Oct 2006 10:17:54 +0000 (10:17 +0000)]
mdd: cleanup naming: fid is record rather than key.

17 years agoiam: lvar_leaf(): zero out dummy record.
nikita [Mon, 23 Oct 2006 10:17:24 +0000 (10:17 +0000)]
iam: lvar_leaf(): zero out dummy record.

17 years agoBranch: b_new_cmd
wangdi [Mon, 23 Oct 2006 10:02:39 +0000 (10:02 +0000)]
Branch: b_new_cmd
fix previous commit bugs, since lookup also use it.

17 years agofid need convertion.
huanghua [Mon, 23 Oct 2006 09:24:48 +0000 (09:24 +0000)]
fid need convertion.

17 years agoBranch: b_new_cmd
wangdi [Mon, 23 Oct 2006 09:11:02 +0000 (09:11 +0000)]
Branch: b_new_cmd
fix typo here, we should use BE for rec in iam

17 years ago- fixed typo in fid_be_to_cpu()
yury [Mon, 23 Oct 2006 08:34:54 +0000 (08:34 +0000)]
- fixed typo in fid_be_to_cpu()

17 years agousing big endian format for fid in (name->fid) index.
huanghua [Mon, 23 Oct 2006 07:49:04 +0000 (07:49 +0000)]
using big endian format for fid in (name->fid) index.

17 years agoBranch b_new_cmd
vitaly [Sun, 22 Oct 2006 20:43:43 +0000 (20:43 +0000)]
Branch b_new_cmd

do not pack MA_LOV on unlink if nlink > 1

17 years ago- a bit more sanity checks
yury [Sun, 22 Oct 2006 18:50:12 +0000 (18:50 +0000)]
- a bit more sanity checks

17 years ago- added last chunk of ldlm part of pdiros, enabled by default, use --disable-pdirops...
yury [Sun, 22 Oct 2006 18:43:45 +0000 (18:43 +0000)]
- added last chunk of ldlm part of pdiros, enabled by default, use --disable-pdirops key to disble it;
- fixes in mdt_is_subdir();
- added few asserts checking f_ver invariants.

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