Whamcloud - gitweb
fs/lustre-release.git
18 years agojbd: add jbd-checkpoint-on-commit.patch.
nikita [Mon, 13 Nov 2006 22:37:37 +0000 (22:37 +0000)]
jbd: add jbd-checkpoint-on-commit.patch.

18 years agoosd: debugging dump index leaf node when osd_inode_remove() fails to find a record...
nikita [Mon, 13 Nov 2006 17:34:14 +0000 (17:34 +0000)]
osd: debugging dump index leaf node when osd_inode_remove() fails to find a record in oi.

18 years agoiam: debugging code for oi -ENOENT error.
nikita [Mon, 13 Nov 2006 17:33:32 +0000 (17:33 +0000)]
iam: debugging code for oi -ENOENT error.

18 years agolu_object: use hash_long() to hash fids.
nikita [Mon, 13 Nov 2006 14:14:29 +0000 (14:14 +0000)]
lu_object: use hash_long() to hash fids.

18 years agoosd: put back fid_is_local() assertion.
nikita [Mon, 13 Nov 2006 12:17:39 +0000 (12:17 +0000)]
osd: put back fid_is_local() assertion.

18 years agomdd_unlink(): fix format.
nikita [Mon, 13 Nov 2006 12:17:17 +0000 (12:17 +0000)]
mdd_unlink(): fix format.

18 years agoBranch b_new_cmd
vitaly [Mon, 13 Nov 2006 10:48:26 +0000 (10:48 +0000)]
Branch b_new_cmd
b=22564

eliminate the access to freed by ll_done_writing @och in ll_close_inode_openhandle.

18 years ago(1) add some condition check.
fanyong [Mon, 13 Nov 2006 06:15:54 +0000 (06:15 +0000)]
(1) add some condition check.
(2) simplify lprocfs_wr_identity_flush.
(3) add some comment.

18 years agoDrop unnecessary check, update remote perm anyway.
fanyong [Mon, 13 Nov 2006 06:03:40 +0000 (06:03 +0000)]
Drop unnecessary check, update remote perm anyway.

18 years agofix memleak in error case.
huanghua [Mon, 13 Nov 2006 03:58:35 +0000 (03:58 +0000)]
fix memleak in error case.

18 years ago- fix small typo
tappro [Sun, 12 Nov 2006 10:17:00 +0000 (10:17 +0000)]
- fix small typo

18 years ago- return MIN_PRECREATE to the initial value - 32
tappro [Sun, 12 Nov 2006 10:15:29 +0000 (10:15 +0000)]
- return MIN_PRECREATE to the initial value - 32
- check the llog and echo groups and do real create always for them

18 years agoremove voluntary preempt from configs
tappro [Sat, 11 Nov 2006 15:08:33 +0000 (15:08 +0000)]
remove voluntary preempt from configs

18 years agodisable lookup() in sanity checks for create temporary
tappro [Sat, 11 Nov 2006 08:32:58 +0000 (08:32 +0000)]
disable lookup() in sanity checks for create temporary

18 years agoadd debug info
tappro [Sat, 11 Nov 2006 08:26:34 +0000 (08:26 +0000)]
add debug info

18 years agoiam: add debugging for bug 11027.
nikita [Sat, 11 Nov 2006 01:02:31 +0000 (01:02 +0000)]
iam: add debugging for bug 11027.

18 years ago- avoid assert case in mdd_unlink() while building the transaction parameters.
tappro [Fri, 10 Nov 2006 20:10:59 +0000 (20:10 +0000)]
- avoid assert case in mdd_unlink() while building the transaction parameters.
  The issue is sanity check was done too late.

18 years agoSupport the lmc --failout argument and set the failover mode in the csv
brian [Fri, 10 Nov 2006 18:11:44 +0000 (18:11 +0000)]
Support the lmc --failout argument and set the failover mode in the csv
file accordingly.

18 years agoiam: take dx lock when inserting new pointer into index node.
nikita [Fri, 10 Nov 2006 16:46:00 +0000 (16:46 +0000)]
iam: take dx lock when inserting new pointer into index node.

18 years ago- detect cross-ref cases in MDT using special flag rather than by using if (name...
yury [Fri, 10 Nov 2006 16:17:17 +0000 (16:17 +0000)]
- detect cross-ref cases in MDT using special flag rather than by using if (name[0] == 0);
- fixes in check split optimization.

18 years ago- add more stats in mdd
tappro [Fri, 10 Nov 2006 09:52:42 +0000 (09:52 +0000)]
- add more stats in mdd

18 years agobranch: b_new_cmd
ericm [Fri, 10 Nov 2006 00:31:44 +0000 (00:31 +0000)]
branch: b_new_cmd
b=11185
only register gss policy after it is ready.

18 years agomkfs_lustre.c: cap journal size at 2GB to avoid overflows.
nikita [Thu, 9 Nov 2006 10:35:57 +0000 (10:35 +0000)]
mkfs_lustre.c: cap journal size at 2GB to avoid overflows.

18 years agoBranch: b_new_cmd
wangdi [Thu, 9 Nov 2006 08:19:14 +0000 (08:19 +0000)]
Branch: b_new_cmd
it should return -ENOENT instead of ESTALE, if it is dead obj in mdd_lookup.
found by nikita

18 years agoupdate comment according to code change.
lsy [Thu, 9 Nov 2006 07:51:57 +0000 (07:51 +0000)]
update comment according to code change.

18 years agobranch: b_new_cmd
ericm [Thu, 9 Nov 2006 03:22:54 +0000 (03:22 +0000)]
branch: b_new_cmd
debug on mountain.

18 years agobranch: b_new_cmd
ericm [Wed, 8 Nov 2006 20:28:16 +0000 (20:28 +0000)]
branch: b_new_cmd
fix null pointer reference in CERROR.

18 years agokgdb: use correct macro version.
nikita [Wed, 8 Nov 2006 20:25:25 +0000 (20:25 +0000)]
kgdb: use correct macro version.

18 years agojbd: add a patch to create shadow-copies for all transaction buffers.
nikita [Wed, 8 Nov 2006 20:24:54 +0000 (20:24 +0000)]
jbd: add a patch to create shadow-copies for all transaction buffers.

18 years agoforgot pack capa for iocontrol EXT3_IOC_SETFLAGS.
lsy [Wed, 8 Nov 2006 16:04:33 +0000 (16:04 +0000)]
forgot pack capa for iocontrol EXT3_IOC_SETFLAGS.
in filter_auth_capa fid might be NULL.

18 years ago- fixed possible race in ll_close_inode_openhandle()
yury [Wed, 8 Nov 2006 15:59:43 +0000 (15:59 +0000)]
- fixed possible race in ll_close_inode_openhandle()

18 years ago- remove mkfs hjournal upper limit again after mk2fs is patched.
yury [Wed, 8 Nov 2006 15:33:17 +0000 (15:33 +0000)]
- remove mkfs hjournal upper limit again after mk2fs is patched.

18 years agomore verbose message.
lsy [Wed, 8 Nov 2006 15:07:05 +0000 (15:07 +0000)]
more verbose message.

18 years agomkfs_lustre: return journal size limit back: buffalo tests fail without this.
nikita [Wed, 8 Nov 2006 13:01:50 +0000 (13:01 +0000)]
mkfs_lustre: return journal size limit back: buffalo tests fail without this.

18 years agoadd debug code for capa cleanup failure.
lsy [Wed, 8 Nov 2006 10:49:22 +0000 (10:49 +0000)]
add debug code for capa cleanup failure.
rename filter_verify_capa to filter_auth_capa.

18 years ago- fixed pssible NULL pointer access in lprocfs_rd_conn_uuid();
yury [Wed, 8 Nov 2006 08:44:25 +0000 (08:44 +0000)]
- fixed pssible NULL pointer access in lprocfs_rd_conn_uuid();

18 years ago- fixed pssibly using freed och in ll_close_inode_openhandle().
yury [Wed, 8 Nov 2006 08:30:42 +0000 (08:30 +0000)]
- fixed pssibly using freed och in ll_close_inode_openhandle().

18 years ago- do not check dir for split if cleint already knows that it is split.
yury [Tue, 7 Nov 2006 20:07:27 +0000 (20:07 +0000)]
- do not check dir for split if cleint already knows that it is split.

18 years agofix in patch
tappro [Tue, 7 Nov 2006 18:25:41 +0000 (18:25 +0000)]
fix in patch

18 years agoreturn minor changes in config back
tappro [Tue, 7 Nov 2006 16:26:52 +0000 (16:26 +0000)]
return minor changes in config back

18 years ago- added -ERESTART handling for link, unlink and rename on client. This is not case...
yury [Tue, 7 Nov 2006 16:18:44 +0000 (16:18 +0000)]
- added -ERESTART handling for link, unlink and rename on client. This is not case for tests, because tests do not contain concurrent create vs. rename, but this is correctly from overall point of view of FS functionaling. So it should be.

18 years ago- added stats to cmm split;
yury [Tue, 7 Nov 2006 14:21:44 +0000 (14:21 +0000)]
- added stats to cmm split;
- get rid of second attr_get() in cmm_split_check().

18 years ago(1) provide locked and unlocked version for mdd_permission.
fanyong [Tue, 7 Nov 2006 14:07:09 +0000 (14:07 +0000)]
(1) provide locked and unlocked version for mdd_permission.
(2) fix some outdated comment.
(3) other small fix.

18 years agofix broken compile
tappro [Tue, 7 Nov 2006 12:47:13 +0000 (12:47 +0000)]
fix broken compile

18 years agofix error handling; kill possible memleak.
huanghua [Tue, 7 Nov 2006 10:34:00 +0000 (10:34 +0000)]
fix error handling; kill possible memleak.

18 years ago- update default configs
tappro [Tue, 7 Nov 2006 07:32:19 +0000 (07:32 +0000)]
- update default configs

18 years agoadd highmem-split patch from HEAD to series
tappro [Tue, 7 Nov 2006 07:31:06 +0000 (07:31 +0000)]
add highmem-split patch from HEAD to series

18 years ago(1) drop unnecessary mdd_read_lock.
fanyong [Tue, 7 Nov 2006 06:51:37 +0000 (06:51 +0000)]
(1) drop unnecessary mdd_read_lock.
(2) add some comment.
(3) cleanup the code.

18 years agoPass lu_attr as arg for __mdd_permission_internal explicitly.
fanyong [Tue, 7 Nov 2006 05:06:07 +0000 (05:06 +0000)]
Pass lu_attr as arg for __mdd_permission_internal explicitly.

18 years agoSmall fix, cleanup the code.
fanyong [Tue, 7 Nov 2006 03:31:05 +0000 (03:31 +0000)]
Small fix, cleanup the code.

18 years agorename op_mod_capa? to op_capa?. (original mod already means md_op_data)
lsy [Tue, 7 Nov 2006 03:05:32 +0000 (03:05 +0000)]
rename op_mod_capa? to op_capa?. (original mod already means md_op_data)

18 years agocmm,osd: add debugging to catch bug11150.
nikita [Mon, 6 Nov 2006 22:33:43 +0000 (22:33 +0000)]
cmm,osd: add debugging to catch bug11150.

18 years ago- use separate create lock for each group on OST, so that, creates from different...
yury [Mon, 6 Nov 2006 18:40:11 +0000 (18:40 +0000)]
- use separate create lock for each group on OST, so that, creates from different MDS may be handled in parallel;
- use separate destroy_in_progress flag for each group on OST.

18 years agomkfs.lustre: remove upper limit on journal size: we want larger journal.
nikita [Mon, 6 Nov 2006 16:53:46 +0000 (16:53 +0000)]
mkfs.lustre: remove upper limit on journal size: we want larger journal.

18 years ago- all md_op_data field have prefix op_;
yury [Mon, 6 Nov 2006 16:24:03 +0000 (16:24 +0000)]
- all md_op_data field have prefix op_;
- use name[0] == 0 to check if this is partial operation.

18 years agoreturn TEA hash back
tappro [Mon, 6 Nov 2006 14:36:49 +0000 (14:36 +0000)]
return TEA hash back

18 years agoanother part of -ERESTART handling
tappro [Mon, 6 Nov 2006 14:34:34 +0000 (14:34 +0000)]
another part of -ERESTART handling

18 years ago- finish reqp if -ERESTART received, add debug
tappro [Mon, 6 Nov 2006 14:20:56 +0000 (14:20 +0000)]
- finish reqp if -ERESTART received, add debug

18 years agoosd: fix ipd handling for iterators.
nikita [Mon, 6 Nov 2006 11:21:29 +0000 (11:21 +0000)]
osd: fix ipd handling for iterators.

18 years agoBranch: b_new_cmd
wangdi [Mon, 6 Nov 2006 10:36:49 +0000 (10:36 +0000)]
Branch: b_new_cmd
add debug_info for 11123

18 years agoCheck WRITE permission of parent when create.
fanyong [Mon, 6 Nov 2006 07:19:06 +0000 (07:19 +0000)]
Check WRITE permission of parent when create.

18 years ago- optimization for open. In case mdt_reint_open() sees that child object does not...
yury [Sun, 5 Nov 2006 14:12:23 +0000 (14:12 +0000)]
- optimization for open. In case mdt_reint_open() sees that child object does not exist and should be created, tell mdd do not lookup child object again in sanity check.

18 years agocorrect block/inode ratio for OST, don't use defaults
tappro [Sun, 5 Nov 2006 12:37:04 +0000 (12:37 +0000)]
correct block/inode ratio for OST, don't use defaults

18 years ago- enable 4G of memory usage, disable preemt
tappro [Sun, 5 Nov 2006 12:31:13 +0000 (12:31 +0000)]
- enable 4G of memory usage, disable preemt

18 years agoosd/mdd: new (weaker) locking for ->do_attr_{g,e}set(), see message to colibri@ for...
nikita [Sat, 4 Nov 2006 23:24:09 +0000 (23:24 +0000)]
osd/mdd: new (weaker) locking for ->do_attr_{g,e}set(), see message to colibri@ for details.

18 years agomdd: little cleanup.
nikita [Sat, 4 Nov 2006 21:14:47 +0000 (21:14 +0000)]
mdd: little cleanup.

18 years ago0. iam: pub r5 hash back.
nikita [Sat, 4 Nov 2006 21:14:11 +0000 (21:14 +0000)]
0. iam: pub r5 hash back.

1. iam/osd: fix a race that caused 11150.

18 years ago- remove debug stuff for b11150
yury [Sat, 4 Nov 2006 15:33:38 +0000 (15:33 +0000)]
- remove debug stuff for b11150

18 years ago- make 16K bytes/inode ratio only for really big devices > 100Gb. This is
tappro [Sat, 4 Nov 2006 15:30:35 +0000 (15:30 +0000)]
- make 16K bytes/inode ratio only for really big devices > 100Gb. This is
  workaround against -ENOSPC on OST due to lack of inodes

18 years ago- cleanups and fixes in fid/lproc* stuff;
yury [Sat, 4 Nov 2006 08:27:23 +0000 (08:27 +0000)]
- cleanups and fixes in fid/lproc* stuff;
- in mdd_dir_page_build() added check for wrong hash.
- in mdd_dir_page_build() fixed using not swabbed fid.

18 years ago(1) check whether reply buffer has been packed;
huanghua [Sat, 4 Nov 2006 07:31:39 +0000 (07:31 +0000)]
(1) check whether reply buffer has been packed;
(2) shrink reply buffer if needed;
(3) call ptlrpc_lprocfs_unregister_obd() while cleanup.

18 years agofix a typo
huanghua [Sat, 4 Nov 2006 06:08:00 +0000 (06:08 +0000)]
fix a typo

18 years agobranch: b_new_cmd
ericm [Fri, 3 Nov 2006 21:06:07 +0000 (21:06 +0000)]
branch: b_new_cmd
after negotiation handling might invalidate the whole negotiation, do
proper cleanup, and client don't repeatedly try (bug found by fanyong).

18 years agoptlrpc: put back into ll_rpc_opcode[] symbolic rpc names lost during 1.5 merge.
nikita [Fri, 3 Nov 2006 18:30:47 +0000 (18:30 +0000)]
ptlrpc: put back into ll_rpc_opcode[] symbolic rpc names lost during 1.5 merge.

18 years agomdt: export ptlrpc stats fro mdt services.
nikita [Fri, 3 Nov 2006 18:30:03 +0000 (18:30 +0000)]
mdt: export ptlrpc stats fro mdt services.

18 years agoseq: fix (paper over, in fact) NULL pointer dereference during read of /proc/fs/lustr...
nikita [Fri, 3 Nov 2006 18:28:32 +0000 (18:28 +0000)]
seq: fix (paper over, in fact) NULL pointer dereference during read of /proc/fs/lustre/seq/cli-ctl-* files.

18 years agorevert back changes about MAX_HASH_SIZE usage during hash_segment calculations.
tappro [Fri, 3 Nov 2006 16:15:21 +0000 (16:15 +0000)]
revert back changes about MAX_HASH_SIZE usage during hash_segment calculations.

18 years ago- cleanups in mdd about update CTIME etc., for all operaitons. Removed dead code...
yury [Fri, 3 Nov 2006 15:36:06 +0000 (15:36 +0000)]
- cleanups in mdd about update CTIME etc., for all operaitons. Removed dead code unbder if 0

18 years ago- more fixes with hash_segment calculation. make them similar during split and
tappro [Fri, 3 Nov 2006 12:39:07 +0000 (12:39 +0000)]
- more fixes with hash_segment calculation. make them similar during split and
  at client after that.
- fix cmr_link() issue. use correct place to store fid during lookup

18 years agocmm: replace some dynamic allocations with context key values.
nikita [Fri, 3 Nov 2006 12:32:31 +0000 (12:32 +0000)]
cmm: replace some dynamic allocations with context key values.

18 years agoavoid loosing last hashes
tappro [Fri, 3 Nov 2006 12:02:13 +0000 (12:02 +0000)]
avoid loosing last hashes

18 years agoFix ASSERTION for local client when identity_upcall is disabled.
fanyong [Fri, 3 Nov 2006 10:55:23 +0000 (10:55 +0000)]
Fix ASSERTION for local client when identity_upcall is disabled.

18 years agosanity check for user authenticate.
fanyong [Fri, 3 Nov 2006 07:35:51 +0000 (07:35 +0000)]
sanity check for user authenticate.

18 years agomdd: initialize mdd->mdd_txn_cb.dtc_linkage to avoid crash in error handling path...
nikita [Thu, 2 Nov 2006 21:43:46 +0000 (21:43 +0000)]
mdd: initialize mdd->mdd_txn_cb.dtc_linkage to avoid crash in error handling path (bug found by Elena).

18 years agobranch: b_new_cmd
ericm [Thu, 2 Nov 2006 21:29:20 +0000 (21:29 +0000)]
branch: b_new_cmd
fix assertion: enc pages might be allocated by previous failed bulk rpc.

18 years ago- fix split issue with create file on wrong mds. Check for split is needed
tappro [Thu, 2 Nov 2006 17:16:40 +0000 (17:16 +0000)]
- fix split issue with create file on wrong mds. Check for split is needed
  always in cml_create, even after cmm_split_try()
- fix issue with cross-ref link to existent name, in that case the extra ref
  occur on inode. Additional lookup() in cmr_link() prevents such situation.

18 years agosync with last changes to iam_lvar.c.
nikita [Thu, 2 Nov 2006 16:22:49 +0000 (16:22 +0000)]
sync with last changes to iam_lvar.c.

18 years agoprocsleep: simplify stack-walker, making it more robust.
nikita [Thu, 2 Nov 2006 16:15:59 +0000 (16:15 +0000)]
procsleep: simplify stack-walker, making it more robust.

18 years agoBranch: b_new_cmd
wangdi [Thu, 2 Nov 2006 15:47:54 +0000 (15:47 +0000)]
Branch: b_new_cmd
try another hash method to check whether 11150 is related with iam

18 years agoSmall fix, user authentication first.
fanyong [Thu, 2 Nov 2006 13:44:24 +0000 (13:44 +0000)]
Small fix, user authentication first.

18 years ago- fixes in split about le/cpu byte order, cleanups;
yury [Thu, 2 Nov 2006 12:48:43 +0000 (12:48 +0000)]
- fixes in split about le/cpu byte order, cleanups;
- added dump page in split in case of error in remove page code.

18 years ago(1) For setattr / setxattr, change ctime.
fanyong [Thu, 2 Nov 2006 08:24:16 +0000 (08:24 +0000)]
(1) For setattr / setxattr, change ctime.
(2) For link / unlink, change child's ctime, change parent's ctime and mtime.
(3) For create / delete, change parent ctime and mtime.
(4) For rename, change source's and target's ctime, change ctime and mtime of
    source's parent and target's parent.

18 years agofix a typo which makes cross link() fail.
huanghua [Thu, 2 Nov 2006 05:24:13 +0000 (05:24 +0000)]
fix a typo which makes cross link() fail.

18 years ago(1) add some test case for link();
huanghua [Thu, 2 Nov 2006 04:06:56 +0000 (04:06 +0000)]
(1) add some test case for link();
(2) add ONLY=MOUNT for sanity and sanity-lmv to only mount Lustre.

18 years ago- simplify handling of same fids issue during link. mdt_reint_link() returns
tappro [Thu, 2 Nov 2006 01:13:38 +0000 (01:13 +0000)]
- simplify handling of same fids issue during link. mdt_reint_link() returns
  error immediately, mdd_link_sanity_check() check the source is dir at first,
  therefore src cannot be the same as tgt.

18 years ago- make clo_split enum type
tappro [Wed, 1 Nov 2006 23:20:28 +0000 (23:20 +0000)]
- make clo_split enum type
- fix is_subdir() -EREMOTE issues
- avoid usage of mdt_body  mode field to store the result

18 years agoosd: remove unused fields.
nikita [Wed, 1 Nov 2006 23:02:56 +0000 (23:02 +0000)]
osd: remove unused fields.

18 years agoincrease mdt thread pool size limit.
nikita [Wed, 1 Nov 2006 23:02:00 +0000 (23:02 +0000)]
increase mdt thread pool size limit.

18 years ago- fixes in split about using correct byte order;
yury [Wed, 1 Nov 2006 19:44:13 +0000 (19:44 +0000)]
- fixes in split about using correct byte order;
- in cmm_split_try() init la_size used in split info messages;
- cleanups and debug in llite close thread related stuff;
- fixes in mdd about link() operation. Fixed deadlock for case when tgt and src is same object. Fixed lost error code after insert name which is possibly existing. Cleanups;
- in mdt_reint_open() use MDT_CROSS_LOCK for opened file in case it is located on remote MDT (by huanghua);
- in mdt_attr_set() fixed wrong goto to label out;
- cleanups in mdt_reint_link(), mdt_reint_unlink(), mdt_reint_rename() (by huanghua);
- fixed lock mode in md_reint_link(). It should LCK_EX instead of LCK_PW;
- fixed deadlock in mdt_reint_link() in case src and dst are same object;
- use MDT_CROSS_LOCK for src in mdt_reint_link() as it maybe located on remote MDT (by huanghua);
- used MDT_CROSS_LOCK for in mdt_reint_rename() as name may be located on remote MDT (by huanghua);
- fixed -ENODATA case in mdt_getxattr_pack_reply(). It should cause err_serious() with errors in console. Cleanups;

18 years agoBranch b_new_cmd
wangdi [Wed, 1 Nov 2006 16:40:02 +0000 (16:40 +0000)]
Branch b_new_cmd
check -EREMOTE before return