Whamcloud - gitweb
fs/lustre-release.git
19 years agoremove outdated patches
wangdi [Thu, 19 Aug 2004 17:01:21 +0000 (17:01 +0000)]
remove outdated patches

19 years agoupdate .snap on smfs
wangdi [Thu, 19 Aug 2004 16:45:48 +0000 (16:45 +0000)]
update .snap on smfs

19 years agob=4336
alex [Thu, 19 Aug 2004 13:49:28 +0000 (13:49 +0000)]
b=4336

- series against 2.4.21 suse kernel and needed patches

19 years ago- lustre may set generation in replay case by itself
alex [Thu, 19 Aug 2004 13:44:38 +0000 (13:44 +0000)]
- lustre may set generation in replay case by itself

19 years ago- outdated patches have been removed
alex [Thu, 19 Aug 2004 09:32:26 +0000 (09:32 +0000)]
- outdated patches have been removed

19 years agominor fix for complilation
ericm [Wed, 18 Aug 2004 22:23:36 +0000 (22:23 +0000)]
minor fix for complilation

19 years agofile ext3-mballoc2-2.6.7.patch was initially added on branch b1_4_bug4265.
alex [Wed, 18 Aug 2004 21:32:57 +0000 (21:32 +0000)]
file ext3-mballoc2-2.6.7.patch was initially added on branch b1_4_bug4265.

19 years agofile ext3-extents-2.6.7.patch was initially added on branch b1_4_bug4265.
alex [Wed, 18 Aug 2004 21:32:53 +0000 (21:32 +0000)]
file ext3-extents-2.6.7.patch was initially added on branch b1_4_bug4265.

19 years ago1)cleanup smfs code for 2.6 and snapfs
wangdi [Wed, 18 Aug 2004 18:09:51 +0000 (18:09 +0000)]
1)cleanup smfs code for 2.6 and snapfs
2)update snapfs on smfs
3)add snap_utils on lctl.c
4)some minor fix on smfs

19 years agofile e1000-affinity.patch was initially added on branch b1_4_smallfix.
adilger [Wed, 18 Aug 2004 09:30:32 +0000 (09:30 +0000)]
file e1000-affinity.patch was initially added on branch b1_4_smallfix.

19 years agoFix OST AMD - mark new OST active when it is added.
adilger [Wed, 18 Aug 2004 05:10:48 +0000 (05:10 +0000)]
Fix OST AMD - mark new OST active when it is added.
b=4324
r=donm (original patch)

19 years ago- fixed typo in lconf LMV:clanup_module()
yury [Tue, 17 Aug 2004 11:28:40 +0000 (11:28 +0000)]
- fixed typo in lconf LMV:clanup_module()

19 years agoFix assertion problem at flock cleanup.
adilger [Mon, 16 Aug 2004 20:36:24 +0000 (20:36 +0000)]
Fix assertion problem at flock cleanup.
b=4220
r=donm (original patch)

19 years agofile export_num_siblings.patch was initially added on branch b1_4_smallfix.
green [Mon, 16 Aug 2004 18:25:51 +0000 (18:25 +0000)]
file export_num_siblings.patch was initially added on branch b1_4_smallfix.

19 years ago- fixes, comments in mds_lock_mode_for_dir() about protecting against
yury [Mon, 16 Aug 2004 08:49:49 +0000 (08:49 +0000)]
- fixes, comments in mds_lock_mode_for_dir() about protecting against
possible splitting.

19 years agofile rhel-2.4.21 was initially added on branch b1_4.
adilger [Fri, 13 Aug 2004 17:14:26 +0000 (17:14 +0000)]
file rhel-2.4.21 was initially added on branch b1_4.

19 years agofile vfs_intent-2.4.21-rhel.patch was initially added on branch b1_4.
adilger [Fri, 13 Aug 2004 17:14:24 +0000 (17:14 +0000)]
file vfs_intent-2.4.21-rhel.patch was initially added on branch b1_4.

19 years ago- small fix in mds_lock_mode_for_dir()
yury [Fri, 13 Aug 2004 16:10:43 +0000 (16:10 +0000)]
- small fix in mds_lock_mode_for_dir()

19 years ago- mds_lock_mode_for_dir() should check also MDS_NO_SPLIT_EXPECTED.
yury [Fri, 13 Aug 2004 16:07:36 +0000 (16:07 +0000)]
- mds_lock_mode_for_dir() should check also MDS_NO_SPLIT_EXPECTED.
- mds_reint_link() should use LCK_PW instead of LCK_EX when calling mds_lock_mode_for_dir().

19 years ago1)cleanup smfs for build in 2.6
uid721 [Fri, 13 Aug 2004 09:21:19 +0000 (09:21 +0000)]
1)cleanup smfs for build in 2.6
2)some minor fix for building 2.6

19 years agob=4223
houfeng [Thu, 12 Aug 2004 06:37:03 +0000 (06:37 +0000)]
b=4223
r=houfeng

- changed for SNMP monitoring

19 years agominor build fix for smfs
wangdi [Thu, 12 Aug 2004 04:24:12 +0000 (04:24 +0000)]
minor build fix for smfs

19 years agoget rid of lustre_snap.h in ptlrpc/pack_generic.c
wangdi [Thu, 12 Aug 2004 03:45:09 +0000 (03:45 +0000)]
get rid of lustre_snap.h in ptlrpc/pack_generic.c

19 years agoCommit debugging changes from current CMD testing.
adilger [Wed, 11 Aug 2004 20:40:02 +0000 (20:40 +0000)]
Commit debugging changes from current CMD testing.

19 years ago1)add .snap namespace to smfs
wangdi [Wed, 11 Aug 2004 15:37:42 +0000 (15:37 +0000)]
1)add .snap namespace to smfs
2)some cleanup in smfs

19 years agofile confobd.c was initially added on branch b_confobd.
ericm [Wed, 11 Aug 2004 06:15:06 +0000 (06:15 +0000)]
file confobd.c was initially added on branch b_confobd.

19 years ago- export leak fixed: we need not 2nd obd_llog_init()
alex [Wed, 11 Aug 2004 00:29:03 +0000 (00:29 +0000)]
- export leak fixed: we need not 2nd obd_llog_init()

19 years ago- it's valid that MDC/LMV notifies MDS
alex [Tue, 10 Aug 2004 19:38:29 +0000 (19:38 +0000)]
- it's valid that MDC/LMV notifies MDS

19 years agosorry, misoperation
zhaibo [Tue, 10 Aug 2004 13:09:59 +0000 (13:09 +0000)]
sorry, misoperation

19 years agoss
zhaibo [Tue, 10 Aug 2004 13:04:36 +0000 (13:04 +0000)]
ss

19 years agob=2089
alex [Tue, 10 Aug 2004 12:39:32 +0000 (12:39 +0000)]
b=2089

 - changes in extents patches:
    - 48bits phys.blocknumber support in on-disk structures
    - magic's changed
    - few new asserts
 - related changes in fsfilt_ext3

19 years agoAdd separate create locks per object group.
adilger [Mon, 9 Aug 2004 16:29:06 +0000 (16:29 +0000)]
Add separate create locks per object group.
b=4184

19 years ago- generated new lustre_assert_wire_constants() to fix sanity test 58 and
yury [Mon, 9 Aug 2004 10:58:43 +0000 (10:58 +0000)]
- generated new lustre_assert_wire_constants() to fix sanity test 58 and
close bug #3447.

19 years agoAlex's fix for cross-MDS mkdir recovery (b=3869)
adilger [Mon, 9 Aug 2004 04:02:18 +0000 (04:02 +0000)]
Alex's fix for cross-MDS mkdir recovery (b=3869)
Don't hold journal transaction open across OST_CREATE (b=3313)

19 years ago- minor cleanups
alex [Sun, 8 Aug 2004 22:09:46 +0000 (22:09 +0000)]
- minor cleanups

19 years agob=4182
alex [Sun, 8 Aug 2004 12:09:23 +0000 (12:09 +0000)]
b=4182

- races in lmv_check_connect() and mds_lmv_connect() have been fixed

19 years agoFix mis-patch in lov_connect/lov_disconnect.
adilger [Sun, 8 Aug 2004 07:34:57 +0000 (07:34 +0000)]
Fix mis-patch in lov_connect/lov_disconnect.
Add debugging to reconstruct_open() for bug 4181.

19 years ago- minor cleanups
alex [Sat, 7 Aug 2004 14:21:58 +0000 (14:21 +0000)]
- minor cleanups

19 years agob=3550
alex [Sat, 7 Aug 2004 14:09:37 +0000 (14:09 +0000)]
b=3550

- with ext3-reserve-inode-space patch ext3 reserve last group for
  creation with O_INRESERVE flag only
  (in order to save patch)

19 years agob=4048
alex [Sat, 7 Aug 2004 14:04:54 +0000 (14:04 +0000)]
b=4048

- landed on HEAD

19 years agob=3733
alex [Sat, 7 Aug 2004 13:42:38 +0000 (13:42 +0000)]
b=3733

- initial backport of mballoc v2 onto 2.4.24

19 years ago- extents patch updated from b1_4:
alex [Sat, 7 Aug 2004 13:24:54 +0000 (13:24 +0000)]
- extents patch updated from b1_4:
  - tree operations moved to separate structure
  - blocks leak in error path has been fixed
  - few fixes against lookup cache
  - truncate re-initialize root structure properly
  - bits related to mballoc have been removed
  - proper copyright in extents.c file
- extents-in-ea patch updated:
  - declares separate structure ext3_ea_helpers (see above)

19 years agoAdd SNMP monitoring variables.
adilger [Sat, 7 Aug 2004 11:35:50 +0000 (11:35 +0000)]
Add SNMP monitoring variables.
b=3950

19 years agoAdd flock support.
adilger [Sat, 7 Aug 2004 00:43:56 +0000 (00:43 +0000)]
Add flock support.
b=3897

19 years agoCommit OST AMD support to HEAD so we can being running with a common code base.
adilger [Sat, 7 Aug 2004 00:33:37 +0000 (00:33 +0000)]
Commit OST AMD support to HEAD so we can being running with a common code base.

19 years agofile configurable-x86_64-2.4.21.patch was initially added on branch b1_4.
alex [Fri, 6 Aug 2004 16:02:27 +0000 (16:02 +0000)]
file configurable-x86_64-2.4.21.patch was initially added on branch b1_4.

19 years agoDisable llog on the MDS.
adilger [Thu, 5 Aug 2004 23:58:33 +0000 (23:58 +0000)]
Disable llog on the MDS.

19 years agoRemove global atomic counter for MDS opens, it just slows things down.
adilger [Thu, 5 Aug 2004 23:55:53 +0000 (23:55 +0000)]
Remove global atomic counter for MDS opens, it just slows things down.

19 years agoPrint client recovery info to the console for debugging.
adilger [Thu, 5 Aug 2004 23:19:53 +0000 (23:19 +0000)]
Print client recovery info to the console for debugging.
Better locking arount mds_obd_create(), fix error path.

19 years agoDefensive check to avoid re-freeing export during force cleanup.
adilger [Thu, 5 Aug 2004 23:12:23 +0000 (23:12 +0000)]
Defensive check to avoid re-freeing export during force cleanup.

19 years agoRemove duplicate but unused declaration of mds_pack_open_flags().
adilger [Thu, 5 Aug 2004 23:11:16 +0000 (23:11 +0000)]
Remove duplicate but unused declaration of mds_pack_open_flags().

19 years agoMore verbose debugging for llog replay assertion.
adilger [Thu, 5 Aug 2004 23:07:30 +0000 (23:07 +0000)]
More verbose debugging for llog replay assertion.
b=4033

19 years ago- we need not that CWARN()s
alex [Wed, 4 Aug 2004 14:41:38 +0000 (14:41 +0000)]
- we need not that CWARN()s

19 years agofile lutil.h was initially added on branch b_newsysio.
ericm [Tue, 3 Aug 2004 00:52:49 +0000 (00:52 +0000)]
file lutil.h was initially added on branch b_newsysio.

19 years agofile lutil.c was initially added on branch b_newsysio.
ericm [Tue, 3 Aug 2004 00:52:47 +0000 (00:52 +0000)]
file lutil.c was initially added on branch b_newsysio.

19 years agob=4059
alex [Mon, 2 Aug 2004 23:39:02 +0000 (23:39 +0000)]
b=4059

- race in lmv_check_connect() has been fixed: few threads might try to
  establish LMV's connects to MDCs and some of them might find not-yet-
  -connected LMV operational

19 years agob=4030
alex [Mon, 2 Aug 2004 22:18:37 +0000 (22:18 +0000)]
b=4030
r=adilger

- new obd method ->o_connect_post() is called when reverse import
  gets initialized
- method ->o_llog_connect() gets obd_export, not obd_device
- MDS passes mdsnum in connect_flags slot
- OST saves last known group in LAST_GROUP file
- OST initializes all known groups upon startup, not on demand
- filter_connect_post() initializes context for given group upon
  connection from MDS
- filter_connect() initializes group from connect_flags
- osc_set_info() doesn't forward "mds_conn": no need to do this any more

19 years ago1)reorganize the smfs hook ops to make smfs walk a list of hooks ops in hook macro
wangdi [Mon, 2 Aug 2004 14:58:13 +0000 (14:58 +0000)]
1)reorganize the smfs hook ops to make smfs walk a list of hooks ops in hook macro
2)remove clonefs in llite, we do not need them now
3)add snap_dot_info in snap_super_info

19 years agob=4054
alex [Mon, 2 Aug 2004 14:39:03 +0000 (14:39 +0000)]
b=4054

- in RESENT case mds_getattr_name() doesn't take dentry for parent.
  so, we have no mea to check mds validness

19 years ago- comment fixed
alex [Sat, 31 Jul 2004 14:56:29 +0000 (14:56 +0000)]
- comment fixed

19 years agob=4051
alex [Sat, 31 Jul 2004 14:49:46 +0000 (14:49 +0000)]
b=4051
r=adilger

- lock inversion between mds_reint_unlink() and mdt_obj_create() fixed:
  mdt_obj_create() unlinks object, so it doesn't matter what directory
  to create objects in

19 years agob=4049
alex [Sat, 31 Jul 2004 14:43:41 +0000 (14:43 +0000)]
b=4049
r=adilger

- fix lock inversion by removing DLM lock acquiring in mdt_obj_create()
  instead just mark request difficult explicitly

19 years agob=4044
alex [Sat, 31 Jul 2004 14:35:46 +0000 (14:35 +0000)]
b=4044
r=adilger

- few clients connecting simultaneously might race in mds_lmv_connect().
  just take a sem around code that connects to LMV

19 years agor=adilger
alex [Sat, 31 Jul 2004 14:31:03 +0000 (14:31 +0000)]
r=adilger

- possible name collision in mdt_obj_create() fixed

19 years agoFix error handling.
adilger [Fri, 30 Jul 2004 21:53:55 +0000 (21:53 +0000)]
Fix error handling.

19 years agoGrab a lov llog lock so we ensure the llog records for a single transno
adilger [Fri, 30 Jul 2004 21:53:14 +0000 (21:53 +0000)]
Grab a lov llog lock so we ensure the llog records for a single transno
are allocated in the same order they will be replayed in.  Concurrent
unlinks might otherwise have misordered llog records and not be replayable.
b=4033
r=andreas (for Tian)

19 years ago- ext3_check_dir_entry shouldn't panic if inum in cross-node dentry
alex [Fri, 30 Jul 2004 20:20:25 +0000 (20:20 +0000)]
- ext3_check_dir_entry shouldn't panic if inum in cross-node dentry
  larger than local filesystem may have

19 years agob=3825
rread [Fri, 30 Jul 2004 18:08:56 +0000 (18:08 +0000)]
b=3825

typo

19 years agoMake recovery on clients less verbose and misleading.
rread [Thu, 29 Jul 2004 20:29:03 +0000 (20:29 +0000)]
Make recovery on clients less verbose and misleading.

19 years agob=3554
rread [Thu, 29 Jul 2004 20:23:26 +0000 (20:23 +0000)]
b=3554

Use cond_resched() ll_pgcache_remove_extent, and make sure we've got
the definition for it.

19 years agob=3986
alex [Thu, 29 Jul 2004 09:07:47 +0000 (09:07 +0000)]
b=3986
r=adilger

- we can't initialize few groups in parallel because
  filter_read_group_internal() reallocates bunch of
  global-per-obd structures. so, here is simple patch
  to serialize it. indeed, this isn's very scalable
  to hundreds of MDSs, but I think it's enough for a
  while. tested on mountain and my home cluster

19 years ago- just to avoid gcc warning
alex [Wed, 28 Jul 2004 21:25:47 +0000 (21:25 +0000)]
- just to avoid gcc warning

19 years agob=3825
alex [Wed, 28 Jul 2004 21:22:30 +0000 (21:22 +0000)]
b=3825
r=robert

  landed on HEAD

19 years agob=4019
alex [Wed, 28 Jul 2004 19:17:32 +0000 (19:17 +0000)]
b=4019
r=adilger

 - obd_connect() gets one more arg: connect flags
 - client_connect_import() puts this flag in imp_connect_flags
 - ptlrpc_connect_import() sends this flag to peer
 - mds_lmv_connect() passes OBD_OPT_MDS_CONNECTION when connects to MDS
 - mds_connect() looks for OBD_OPT_MDS_CONNECTION and treats
   connection with this flag as MDS-to-MDS and doesn't try
   to connect to own LMV

 this way connection to LMV gets delayed and MDS reconnects to LMV
 after recovery abort

19 years agofile small_scatterlist-2.4.21-chaos.patch was initially added on branch b1_4_eeb_perf.
eeb [Wed, 28 Jul 2004 18:09:53 +0000 (18:09 +0000)]
file small_scatterlist-2.4.21-chaos.patch was initially added on branch b1_4_eeb_perf.

19 years agofile blkdev_tunables-2.4.21-chaos.patch was initially added on branch b1_4_eeb_perf.
eeb [Wed, 28 Jul 2004 18:09:52 +0000 (18:09 +0000)]
file blkdev_tunables-2.4.21-chaos.patch was initially added on branch b1_4_eeb_perf.

19 years ago- lmv.sh config generator may add several OST nodes to setup as specified
alex [Tue, 27 Jul 2004 15:37:43 +0000 (15:37 +0000)]
- lmv.sh config generator may add several OST nodes to setup as specified
  in OSTCOUNT environment variable

19 years agob=3999
alex [Tue, 27 Jul 2004 15:35:06 +0000 (15:35 +0000)]
b=3999

- IT_UNLINK doesn't use 4rd buffer

19 years agob=3550
alex [Tue, 27 Jul 2004 12:38:12 +0000 (12:38 +0000)]
b=3550
r=adilger

- replay of unlink. landed for testing on china cluster

19 years ago- don't show error message in replay case
alex [Tue, 27 Jul 2004 12:32:15 +0000 (12:32 +0000)]
- don't show error message in replay case

19 years agob=3995
alex [Tue, 27 Jul 2004 12:17:06 +0000 (12:17 +0000)]
b=3995

- mdc_enqueue() saved wrong easize for IT_OPEN replay

19 years agob=3983
alex [Mon, 26 Jul 2004 22:50:10 +0000 (22:50 +0000)]
b=3983

brown paper bug have been fixed

19 years agob=3550
rread [Mon, 26 Jul 2004 16:20:25 +0000 (16:20 +0000)]
b=3550

Preemptive LASSERT to make sure replay creates the correct
inode here.

19 years agoUpdate snapfs: 1) some fix on clonefs read in lustre
wangdi [Mon, 26 Jul 2004 13:03:28 +0000 (13:03 +0000)]
Update snapfs: 1) some fix on clonefs read in lustre

19 years agob=3983
alex [Mon, 26 Jul 2004 11:20:43 +0000 (11:20 +0000)]
b=3983

- adds a bit more balanced hash that takes all chars into account
- stores hash type in mea
- converts old non-marked mea to new one with magic

19 years ago- more info in test 1c
alex [Mon, 26 Jul 2004 11:14:15 +0000 (11:14 +0000)]
- more info in test 1c

19 years ago- mds_reint_unlink() shouldn't kill slaves if master directory can't be unlinked
alex [Mon, 26 Jul 2004 10:59:34 +0000 (10:59 +0000)]
- mds_reint_unlink() shouldn't kill slaves if master directory can't be unlinked

19 years agob=3874
alex [Sat, 24 Jul 2004 12:10:35 +0000 (12:10 +0000)]
b=3874

- this BKL collides with jbd a lot. remove it.

19 years agob=3874
alex [Sat, 24 Jul 2004 12:06:50 +0000 (12:06 +0000)]
b=3874

- avoid needless fsfilt_get_md() and taking i_sem on a non-splittable parent

19 years agob=3633,3934
rread [Fri, 23 Jul 2004 18:06:05 +0000 (18:06 +0000)]
b=3633,3934

debugging

19 years agob=3899
rread [Thu, 22 Jul 2004 19:45:34 +0000 (19:45 +0000)]
b=3899

Handle server recovery in a new thread, instead of tying up request
processing threads. Centralizes the recovery management, including the
abort recovery checking.

19 years agob=3934
rread [Thu, 22 Jul 2004 19:33:03 +0000 (19:33 +0000)]
b=3934

Add some more debugging.

19 years agob=3892
rread [Thu, 22 Jul 2004 17:43:21 +0000 (17:43 +0000)]
b=3892

Move the transno update so it's done after we check for the -ENOTCONN
reply.

19 years agob=2525
rread [Thu, 22 Jul 2004 16:30:26 +0000 (16:30 +0000)]
b=2525

I've seen the "server went back in time" message while testing HEAD,
so this will fix that.  Patch already on 1.4.

19 years agob=3920
alex [Thu, 22 Jul 2004 15:27:42 +0000 (15:27 +0000)]
b=3920

bits from 3599 landed to help debugging

19 years ago- PTLDEBUG var to control debug set
alex [Thu, 22 Jul 2004 15:24:25 +0000 (15:24 +0000)]
- PTLDEBUG var to control debug set

19 years agob=2185
alex [Thu, 22 Jul 2004 09:19:49 +0000 (09:19 +0000)]
b=2185

- ext3-inode-reuse is part of vanilla-2.4.24 series
- MDS doesn't take lock to prevent inode recreation
  (this improves performance a bit)

19 years ago- ost_brw_write() should return an error rather than uninitialized npages
alex [Thu, 22 Jul 2004 09:08:10 +0000 (09:08 +0000)]
- ost_brw_write() should return an error rather than uninitialized npages

19 years agob=3940
rread [Thu, 22 Jul 2004 06:36:02 +0000 (06:36 +0000)]
b=3940

Corrected. OBD_MD_MDS should only be set when the directory was
created on a different node.

19 years agob=3362
wangchao [Thu, 22 Jul 2004 06:07:20 +0000 (06:07 +0000)]
b=3362
r=braam
update lctl.lyx