Whamcloud - gitweb
44d02a0ce863e17826765352df8ecf8f5cefea68
[fs/lustre-release.git] / lnet / ChangeLog
1 tbd         Cluster File Systems, Inc. <info@clusterfs.com>
2        * version 1.6.4
3        * Support for networks:
4         socklnd   - any kernel supported by Lustre,
5         qswlnd    - Qsnet kernel modules 5.20 and later,
6         openiblnd - IbGold 1.8.2,
7         o2iblnd   - OFED 1.1 and 1.2,
8         viblnd    - Voltaire ibhost 3.4.5 and later,
9         ciblnd    - Topspin 3.2.0,
10         iiblnd    - Infiniserv 3.3 + PathBits patch,
11         gmlnd     - GM 2.1.22 and later,
12         mxlnd     - MX 1.2.1 or later,
13         ptllnd    - Portals 3.3 / UNICOS/lc 1.5.x, 2.0.x
14
15 Severity   : normal
16 Bugzilla   : 12302
17 Description: new userspace socklnd
18 Details    : Old userspace tcpnal that resided in lnet/ulnds/socklnd replaced
19              with new one - usocklnd.
20
21 Severity   : enhancement
22 Bugzilla   : 11686
23 Description: Console message flood
24 Details    : Make cdls ratelimiting more tunable by adding several tunable in
25              procfs /proc/sys/lnet/console_{min,max}_delay_centisecs and
26              /proc/sys/lnet/console_backoff.
27
28 --------------------------------------------------------------------------------
29
30 2007-09-27         Cluster File Systems, Inc. <info@clusterfs.com>
31        * version 1.6.3
32        * Support for networks:
33         socklnd   - any kernel supported by Lustre,
34         qswlnd    - Qsnet kernel modules 5.20 and later,
35         openiblnd - IbGold 1.8.2,
36         o2iblnd   - OFED 1.1 and 1.2,
37         viblnd    - Voltaire ibhost 3.4.5 and later,
38         ciblnd    - Topspin 3.2.0,
39         iiblnd    - Infiniserv 3.3 + PathBits patch,
40         gmlnd     - GM 2.1.22 and later,
41         mxlnd     - MX 1.2.1 or later,
42         ptllnd    - Portals 3.3 / UNICOS/lc 1.5.x, 2.0.x
43
44 Severity   : normal
45 Bugzilla   : 12782
46 Description: /proc/sys/lnet has non-sysctl entries
47 Details    : Updating dump_kernel/daemon_file/debug_mb to use sysctl variables
48
49 Severity   : major
50 Bugzilla   : 13236
51 Description: TOE Kernel panic by ksocklnd
52 Details    : offloaded sockets provide their own implementation of sendpage,
53              can't call tcp_sendpage() directly
54
55 Severity   : normal
56 Bugzilla   : 10778
57 Description: kibnal_shutdown() doesn't finish; lconf --cleanup hangs
58 Details    : races between lnd_shutdown and peer creation prevent 
59              lnd_shutdown from finishing.
60
61 Severity   : normal
62 Bugzilla   : 13279
63 Description: open files rlimit 1024 reached while liblustre testing
64 Details    : ulnds/socklnd must close open socket after unsuccessful
65              'say hello' attempt.
66
67 Severity   : major 
68 Bugzilla   : 13482
69 Description: build error
70 Details    : fix typos in gmlnd, ptllnd and viblnd
71
72 ------------------------------------------------------------------------------
73
74 2007-07-30  Cluster File Systems, Inc. <info@clusterfs.com>
75        * version 1.6.1
76        * Support for networks:
77         socklnd   - kernels up to 2.6.16,
78         qswlnd    - Qsnet kernel modules 5.20 and later,
79         openiblnd - IbGold 1.8.2,
80         o2iblnd   - OFED 1.1 and 1.2
81         viblnd    - Voltaire ibhost 3.4.5 and later,
82         ciblnd    - Topspin 3.2.0,
83         iiblnd    - Infiniserv 3.3 + PathBits patch,
84         gmlnd     - GM 2.1.22 and later,
85         mxlnd     - MX 1.2.1 or later,
86         ptllnd    - Portals 3.3 / UNICOS/lc 1.5.x, 2.0.x
87
88 2007-06-21  Cluster File Systems, Inc. <info@clusterfs.com>
89        * version 1.4.11
90        * Support for networks:
91         socklnd   - kernels up to 2.6.16,
92         qswlnd    - Qsnet kernel modules 5.20 and later,
93         openiblnd - IbGold 1.8.2,
94         o2iblnd   - OFED 1.1
95         viblnd    - Voltaire ibhost 3.4.5 and later,
96         ciblnd    - Topspin 3.2.0,
97         iiblnd    - Infiniserv 3.3 + PathBits patch,
98         gmlnd     - GM 2.1.22 and later,
99         mxlnd     - MX 1.2.1 or later,
100         ptllnd    - Portals 3.3 / UNICOS/lc 1.5.x, 2.0.x
101
102 Severity   : minor
103 Bugzilla   : 13288
104 Description: Initialize cpumask before use
105
106 Severity   : major
107 Bugzilla   : 12014
108 Description: ASSERTION failures when upgrading to the patchless zero-copy
109              socklnd 
110 Details    : This bug affects "rolling upgrades", causing an inconsistent
111              protocol version negotiation and subsequent assertion failure
112              during rolling upgrades after the first wave of upgrades.
113
114 Severity   : minor
115 Bugzilla   : 11223
116 Details    : Change "dropped message" CERRORs to D_NETERROR so they are
117              logged instead of creating "console chatter" when a lustre
118              timeout races with normal RPC completion.
119
120 Severity   : minor
121 Details    : lnet_clear_peer_table can wait forever if user forgets to
122              clear a lazy portal.
123
124 Severity   : minor
125 Details    : libcfs_id2str should check pid against LNET_PID_ANY.
126
127 Severity   : major
128 Bugzilla   : 10916
129 Description: added LNET self test
130 Details    : landing b_self_test
131
132 Severity   : minor
133 Frequency  : rare
134 Bugzilla   : 12227
135 Description: cfs_duration_{u,n}sec() wrongly calculate nanosecond part of
136              struct timeval.
137 Details    : do_div() macro is used incorrectly.
138
139 2007-04-23  Cluster File Systems, Inc. <info@clusterfs.com>
140
141 Severity   : normal
142 Bugzilla   : 11680
143 Description: make panic on lbug configurable
144
145 Severity   : major
146 Bugzilla   : 12316
147 Description: Add OFED1.2 support to o2iblnd
148 Details    : o2iblnd depends on OFED's modules, if out-tree OFED's modules
149              are installed (other than kernel's in-tree infiniband), there
150              could be some problem while insmod o2iblnd (mismatch CRC of 
151              ib_* symbols).
152              If extra Module.symvers is supported in kernel (i.e, 2.6.17),
153              this link provides solution:
154              https://bugs.openfabrics.org/show_bug.cgi?id=355
155              if extra Module.symvers is not supported in kernel, we will
156              have to run the script in bug 12316 to update
157              $LINUX/module.symvers before building o2iblnd.
158              More details about this are in bug 12316.
159
160 ------------------------------------------------------------------------------
161
162 2007-04-01  Cluster File Systems, Inc. <info@clusterfs.com>
163        * version 1.4.10 / 1.6.0
164        * Support for networks:
165         socklnd   - kernels up to 2.6.16,
166         qswlnd    - Qsnet kernel modules 5.20 and later,
167         openiblnd - IbGold 1.8.2,
168         o2iblnd   - OFED 1.1,
169         viblnd    - Voltaire ibhost 3.4.5 and later,
170         ciblnd    - Topspin 3.2.0,
171         iiblnd    - Infiniserv 3.3 + PathBits patch,
172         gmlnd     - GM 2.1.22 and later,
173         mxlnd     - MX 1.2.1 or later,
174         ptllnd    - Portals 3.3 / UNICOS/lc 1.5.x, 2.0.x
175         
176 Severity   : minor
177 Frequency  : rare
178 Description: Ptllnd didn't init kptllnd_data.kptl_idle_txs before it could be
179              possibly accessed in kptllnd_shutdown. Ptllnd should init 
180              kptllnd_data.kptl_ptlid2str_lock before calling kptllnd_ptlid2str.
181
182 Severity   : normal
183 Frequency  : rare
184 Description: gmlnd ignored some transmit errors when finalizing lnet messages.
185
186 Severity   : minor
187 Frequency  : rare
188 Description: ptllnd logs a piece of incorrect debug info in kptllnd_peer_handle_hello.
189
190 Severity   : minor
191 Frequency  : rare
192 Description: the_lnet.ln_finalizing was not set when the current thread is
193              about to complete messages. It only affects multi-threaded 
194              user space LNet.
195         
196 Severity   : normal
197 Frequency  : rare
198 Bugzilla   : 11472
199 Description: Changed the default kqswlnd ntxmsg=512
200         
201 Severity   : major
202 Frequency  : rare
203 Bugzilla   : 12458
204 Description: Assertion failure in kernel ptllnd caused by posting passive
205              bulk buffers before connection establishment complete.
206         
207 Severity   : major
208 Frequency  : rare
209 Bugzilla   : 12455
210 Description: A race in kernel ptllnd between deleting a peer and posting
211              new communications for it could hang communications -
212              manifesting as "Unexpectedly long timeout" messages.
213         
214 Severity   : major
215 Frequency  : rare
216 Bugzilla   : 12432
217 Description: Kernel ptllnd lock ordering issue could hang a node.
218         
219 Severity   : major
220 Frequency  : rare
221 Bugzilla   : 12016
222 Description: node crash on socket teardown race
223
224 Severity   : minor
225 Frequency  : 'lctl peer_list' issued on a mx net
226 Bugzilla   : 12237
227 Description: Enable lctl's peer_list for MXLND
228
229 Severity   : major
230 Frequency  : after Ptllnd timeouts and portals congestion
231 Bugzilla   : 11659
232 Description: Credit overflows
233 Details    : This was a bug in ptllnd connection establishment.  The fix
234              implements better peer stamps to disambiguate connection
235              establishment and ensure both peers enter the credit flow
236              state machine consistently.
237
238 Severity   : major
239 Frequency  : rare       
240 Bugzilla   : 11394
241 Description: kptllnd didn't propagate some network errors up to LNET 
242 Details    : This bug was spotted while investigating 11394.  The fix
243              ensures network errors on sends and bulk transfers are
244              propagated to LNET/lustre correctly.
245
246 Severity   : enhancement
247 Bugzilla   : 10316
248 Description: Fixed console chatter in case of -ETIMEDOUT.
249
250 Severity   : enhancement
251 Bugzilla   : 11684
252 Description: Added D_NETTRACE for recording network packet history
253              (initially only for ptllnd).  Also a separate userspace
254              ptllnd facility to gather history which should really be
255              covered by D_NETTRACE too, if only CDEBUG recorded history in
256              userspace.
257
258 Severity   : major
259 Frequency  : rare       
260 Bugzilla   : 11616
261 Description: o2iblnd handle early RDMA_CM_EVENT_DISCONNECTED.
262 Details    : If the fabric is lossy, an RDMA_CM_EVENT_DISCONNECTED
263              callback can occur before a connection has actually been
264              established.  This caused an assertion failure previously.
265
266 Severity   : enhancement
267 Bugzilla   : 11094
268 Description: Multiple instances for o2iblnd
269 Details    : Allow multiple instances of o2iblnd to enable networking over
270              multiple HCAs and routing between them.
271
272 Severity   : major
273 Bugzilla   : 11201
274 Description: lnet deadlock in router_checker
275 Details    : turned ksnd_connd_lock, ksnd_reaper_lock, and ksock_net_t:ksnd_lock
276              into BH locks to eliminate potential deadlock caused by
277              ksocknal_data_ready() preempting code holding these locks.
278
279 Severity   : major
280 Bugzilla   : 11126
281 Description: Millions of failed socklnd connection attempts cause a very slow FS
282 Details    : added a new route flag ksnr_scheduled to distinguish from
283              ksnr_connecting, so that a peer connection request is only turned
284              down for race concerns when an active connection to the same peer
285              is under progress (instead of just being scheduled).
286
287 ------------------------------------------------------------------------------
288
289 2007-02-09  Cluster File Systems, Inc. <info@clusterfs.com>
290        * version 1.4.9
291        * Support for networks:
292         socklnd   - kernels up to 2.6.16
293         qswlnd    - Qsnet kernel modules 5.20 and later
294         openiblnd - IbGold 1.8.2
295         o2iblnd   - OFED 1.1
296         viblnd    - Voltaire ibhost 3.4.5 and later
297         ciblnd    - Topspin 3.2.0
298         iiblnd    - Infiniserv 3.3 + PathBits patch
299         gmlnd     - GM 2.1.22 and later
300         mxlnd     - MX 1.2.1 or later
301         ptllnd    - Portals 3.3 / UNICOS/lc 1.5.x, 2.0.x
302        * bug fixes
303
304 Severity   : major on XT3
305 Bugzilla   : none
306 Description: libcfs overwrites /proc/sys/portals
307 Details    : libcfs created a symlink from /proc/sys/portals to
308              /proc/sys/lnet for backwards compatibility.  This is no
309              longer required and makes the Cray portals /proc variables
310              inaccessible.
311
312 Severity   : minor
313 Bugzilla   : 11312
314 Description: OFED FMR API change
315 Details    : This changes parameter usage to reflect a change in
316              ib_fmr_pool_map_phys() between OFED 1.0 and OFED 1.1.  Note
317              that FMR support is only used in experimental versions of the
318              o2iblnd - this change does not affect standard usage at all.
319
320 Severity   : enhancement
321 Bugzilla   : 11245
322 Description: new ko2iblnd module parameter: ib_mtu
323 Details    : the default IB MTU of 2048 performs badly on 23108 Tavor
324              HCAs.  You can avoid this problem by setting the MTU to 1024
325              using this module parameter.
326
327 Severity   : enhancement
328 Bugzilla   : 11118/11620
329 Description: ptllnd small request message buffer alignment fix
330 Details    : Set the PTL_MD_LOCAL_ALIGN8 option on small message receives.
331              Round up small message size on sends in case this option
332              is not supported.  11620 was a defect in the initial
333              implementation which effectively asserted all peers had to be
334              running the correct protocol version which was fixed by always
335              NAK-ing such requests and handling any misalignments they
336              introduce.
337
338 Severity   : minor
339 Frequency  : rarely
340 Description: When kib(nal|lnd)_del_peer() is called upon a peer whose
341              ibp_tx_queue is not empty, kib(nal|lnd)_destroy_peer()'s
342              'LASSERT(list_empty(&peer->ibp_tx_queue))' will fail.
343
344 Severity   : enhancement
345 Bugzilla   : 11250
346 Description: Patchless ZC(zero copy) socklnd
347 Details    : New protocol for socklnd, socklnd can support zero copy without
348              kernel patch, it's compatible with old socklnd. Checksum is 
349              moved from tunables to modparams.
350
351 Severity   : minor
352 Frequency  : rarely
353 Description: When ksocknal_del_peer() is called upon a peer whose
354              ksnp_tx_queue is not empty, ksocknal_destroy_peer()'s
355              'LASSERT(list_empty(&peer->ksnp_tx_queue))' will fail.
356
357 Severity   : normal
358 Frequency  : when ptlrpc is under heavy use and runs out of request buffer
359 Bugzilla   : 11318
360 Description: In lnet_match_blocked_msg(), md can be used without holding a
361              ref on it.
362
363 Severity   : minor
364 Frequency  : very rarely
365 Bugzilla   : 10727
366 Description: If ksocknal_lib_setup_sock() fails, a ref on peer is lost.
367              If connd connects a route which has been closed by
368              ksocknal_shutdown(), ksocknal_create_routes() may create new
369              routes which hold references on the peer, causing shutdown
370              process to wait for peer to disappear forever.
371
372 Severity   : enhancement
373 Bugzilla   : 11234
374 Description: Dump XT3 portals traces on kptllnd timeout
375 Details    : Set the kptllnd module parameter "ptltrace_on_timeout=1" to
376              dump Cray portals debug traces to a file.  The kptllnd module
377              parameter "ptltrace_basename", default "/tmp/lnet-ptltrace",
378              is the basename of the dump file.
379
380 Severity   : major
381 Frequency  : infrequent
382 Bugzilla   : 11308
383 Description: kernel ptllnd fix bug in connection re-establishment
384 Details    : Kernel ptllnd could produce protocol errors e.g. illegal
385              matchbits and/or violate the credit flow protocol when trying
386              to re-establish a connection with a peer after an error or
387              timeout. 
388
389 Severity   : enhancement
390 Bugzilla   : 10316
391 Description: Allow /proc/sys/lnet/debug to be set symbolically
392 Details    : Allow debug and subsystem debug values to be read/set by name
393              in addition to numerically, for ease of use.
394
395 Severity   : normal
396 Frequency  : only in configurations with LNET routers
397 Bugzilla   : 10316
398 Description: routes automatically marked down and recovered
399 Details    : In configurations with LNET routers if a router fails routers
400              now actively try to recover routes that are down, unless they
401              are marked down by an administrator.
402
403 ------------------------------------------------------------------------------
404
405 2006-12-09  Cluster File Systems, Inc. <info@clusterfs.com>
406
407 Severity   : critical
408 Frequency  : very rarely, in configurations with LNET routers and TCP
409 Bugzilla   : 10889
410 Description: incorrect data written to files on OSTs
411 Details    : In certain high-load conditions incorrect data may be written
412              to files on the OST when using TCP networks.
413
414 ------------------------------------------------------------------------------
415
416 2006-07-31  Cluster File Systems, Inc. <info@clusterfs.com>
417         * version 1.4.7
418         - rework CDEBUG messages rate-limiting mechanism b=10375
419         - add per-socket tunables for socklnd if the kernel is patched b=10327
420
421 ------------------------------------------------------------------------------
422
423 2006-02-15  Cluster File Systems, Inc. <info@clusterfs.com>
424         * version 1.4.6
425         - fix use of portals/lnet pid to avoid dropping RPCs b=10074
426         - iiblnd wasn't mapping all memory, resulting in comms errors b=9776
427         - quiet LNET startup LNI message for liblustre b=10128
428         - Better console error messages if 'ip2nets' can't match an IP address
429         - Fixed overflow/use-before-set bugs in linux-time.h
430         - Fixed ptllnd bug that wasn't initialising rx descriptors completely
431         - LNET teardown failed an assertion about the route table being empty
432         - Fixed a crash in LNetEQPoll(<invalid handle>)
433         - Future protocol compatibility work (b_rls146_lnetprotovrsn)
434         - improve debug message for liblustre/Catamount nodes (b=10116)
435
436 2005-10-10  Cluster File Systems, Inc. <info@clusterfs.com>
437         * Configuration change for the XT3
438              The PTLLND is now used to run Lustre over Portals on the XT3.
439              The configure option(s) --with-cray-portals are no longer
440              used.  Rather --with-portals=<path-to-portals-includes> is
441              used to enable building on the XT3.  In addition to enable
442              XT3 specific features the option --enable-cray-xt3 must be
443              used.
444
445 2005-10-10  Cluster File Systems, Inc. <info@clusterfs.com>
446         * Portals has been removed, replaced by LNET.
447            LNET is new networking infrastructure for Lustre, it includes a
448            reorganized network configuration mode (see the user
449            documentation for full details) as well as support for routing
450            between different network fabrics.  Lustre Networking Devices
451            (LNDS) for the supported network fabrics have also been created
452            for this new infrastructure.
453
454 2005-08-08  Cluster File Systems, Inc. <info@clusterfs.com>
455        * version 1.4.4
456        * bug fixes
457
458 Severity   : major
459 Frequency  : rare (large Voltaire clusters only)
460 Bugzilla   : 6993
461 Description: the default number of reserved transmit descriptors was too low
462              for some large clusters
463 Details    : As a workaround, the number was increased.  A proper fix includes
464              a run-time tunable.
465
466 2005-06-02  Cluster File Systems, Inc. <info@clusterfs.com>
467        * version 1.4.3
468        * bug fixes
469
470 Severity   : major
471 Frequency  : occasional (large-scale events, cluster reboot, network failure)
472 Bugzilla   : 6411
473 Description: too many error messages on console obscure actual problem and
474              can slow down/panic server, or cause recovery to fail repeatedly
475 Details    : enable rate-limiting of console error messages, and some messages
476              that were console errors now only go to the kernel log
477
478 Severity   : enhancement
479 Bugzilla   : 1693
480 Description: add /proc/sys/portals/catastrophe entry which will report if
481              that node has previously LBUGged
482
483 2005-04-06  Cluster File Systems, Inc. <info@clusterfs.com>
484        * bugs
485         - update gmnal to use PTL_MTU, fix module refcounting (b=5786)
486
487 2005-04-04  Cluster File Systems, Inc. <info@clusterfs.com>
488        * bugs
489         - handle error return code in kranal_check_fma_rx() (5915,6054)
490
491 2005-02-04  Cluster File Systems, Inc. <info@clusterfs.com>
492        * miscellania
493         - update vibnal (Voltaire IB NAL)
494         - update gmnal (Myrinet NAL), gmnalid
495
496 2005-02-04  Eric Barton  <eeb@bartonsoftware.com>
497
498         * Landed portals:b_port_step as follows...
499
500           - removed CFS_DECL_SPIN* 
501             just use 'spinlock_t' and initialise with spin_lock_init()
502
503           - removed CFS_DECL_MUTEX*
504             just use 'struct semaphore' and initialise with init_mutex()
505
506           - removed CFS_DECL_RWSEM*
507             just use 'struct rw_semaphore' and initialise with init_rwsem()
508
509           - renamed cfs_sleep_chan -> cfs_waitq
510                     cfs_sleep_link -> cfs_waitlink
511
512           - fixed race in linux version of arch-independent socknal
513             (the ENOMEM/EAGAIN decision).
514
515           - Didn't fix problems in Darwin version of arch-independent socknal
516             (resetting socket callbacks, eager ack hack, ENOMEM/EAGAIN decision)
517
518           - removed libcfs types from non-socknal header files (only some types
519             in the header files had been changed; the .c files hadn't been
520             updated at all).