Whamcloud - gitweb
6d3b6d6ab5e4bb07823d80371af7331a65d46749
[fs/lustre-release.git] / lustre / ChangeLog
1 tbd  Sun Microsystems, Inc.
2        * version 2.0.0
3        * Support for kernels:
4         2.6.16.60-0.27 (SLES 10),
5         2.6.18-92.1.10.el5 (RHEL 5),
6         2.6.22.14 vanilla (kernel.org).
7        * Client support for unpatched kernels:
8         (see http://wiki.lustre.org/index.php?title=Patchless_Client)
9         2.6.16 - 2.6.21 vanilla (kernel.org)
10        * Recommended e2fsprogs version: 1.40.11-sun1
11        * Note that reiserfs quotas are disabled on SLES 10 in this kernel.
12        * RHEL 4 and RHEL 5/SLES 10 clients behaves differently on 'cd' to a
13         removed cwd "./" (refer to Bugzilla 14399).
14        * File join has been disabled in this release, refer to Bugzilla 16929.
15
16 Severity   : enhancement
17 Bugzilla   : 15966
18 Description: Re-disable certain /proc logging
19 Details    : Enable and disable client's offset_stats, extents_stats and
20              extents_stats_per_process stats logging on the fly.
21
22 Severity   : major
23 Frequency  : Only on FC kernels 2.6.22+
24 Bugzilla   : 16303
25 Description: oops in statahead
26 Details    : Do not drop reference count for the dentry from VFS when lookup,
27              VFS will do that by itself.
28
29 Severity   : enhancement
30 Bugzilla   : 16643
31 Description: Generic /proc file permissions
32 Details    : Set /Proc file permissions in a more generic way to enable non-
33              root users operate on some /proc files.
34
35 Severity   : major
36 Bugzilla   : 16561
37 Description: Hitting mdc_commit_close() ASSERTION
38 Details    : Properly handle request reference release in
39              ll_release_openhandle().
40
41 Severity   : normal
42 Bugzilla   : 15975
43 Frequency  : only patchless client
44 Description: add workaround for race between add/remove dentry from hash
45
46 Severity   : enhancement
47 Bugzilla   : 16845
48 Description: Allow OST glimpses to return PW locks
49
50 Severity   : minor
51 Bugzilla   : 16717
52 Description: LBUG when llog conf file is full
53 Details    : When llog bitmap is full, ENOSPC should be returned for plain
54              log.
55
56 Severity   : normal
57 Bugzilla   : 16907
58 Description: Prevent import from entering FULL state when server in recovery
59
60 Severity   : major
61 Bugzilla   : 16750
62 Description: service mount cannot take device name with ":"
63 Details    : Only when device name contains ":/" will mount treat it as
64              client mount.
65
66 Severity   : normal
67 Bugzilla   : 15927
68 Frequency  : rare
69 Description: replace ptlrpcd with the statahead thread to interpret the async
70              statahead RPC callback
71
72 Severity   : normal
73 Bugzilla   : 16611
74 Frequency  : on recovery
75 Description: I/O failures after umount during fail back
76 Details    : if client reconnected to restarted server we need join to recovery
77              instead of find server handler is changed and process self eviction
78              with cancel all locks.
79
80 Severity   : enhancement
81 Bugzilla   : 16633
82 Description: Update to RHEL5 kernel-2.6.18-92.1.10.el5.
83
84 Severity   : enhancement
85 Bugzilla   : 16547
86 Description: Update to SLES10 SP2 kernel-2.6.16.60-0.27.
87
88 Severity   : enhancement
89 Bugzilla   : 16566
90 Description: Upcall on Lustre log has been dumped
91 Details    : Allow for a user mode script to be called once a Lustre log has
92              been dumped. It passes the filename of the dumped log to the
93              script, the location of the script can be specified via
94              /proc/sys/lnet/debug_log_upcall.
95
96 Severity   : minor
97 Bugzilla   : 16583
98 Frequency  : rare
99 Description: avoid idr_remove called for id which is not allocated.
100 Details    : Move assigment s_dev for clustered nfs to end of initialization,
101              to avoid problem with error handling.
102
103 Severity   : minor
104 Bugzilla   : 16109
105 Frequency  : rare
106 Description: avoid Already found the key in hash [CONN_UNUSED_HASH] messages
107 Details    : When connection is reused this not moved from CONN_UNUSED_HASH
108              into CONN_USED_HASH and this prodice warning when put connection
109              again in unused hash.
110
111 Severity   : enhancement
112 Bugzilla   : 15899
113 Description: File striping can now be set to use an arbitrary pool of OSTs.
114         
115 Severity   : enhancement
116 Bugzilla   : 16573
117 Description: Export bytes_read/bytes_write count on OSC/OST.
118
119 Severity   : normal
120 Bugzilla   : 16237
121 Description: Early reply size mismatch, MGC loses connection
122 Details    : Apply the MGS_CONNECT_SUPPORTED mask at reconnect time so
123              the connect flags are properly negotiated.
124
125 Severity   : normal
126 Bugzilla   : 16006
127 Description: Properly propagate oinfo flags from lov to osc for statfs
128 Details    : restore missing copy oi_flags to lov requests.
129
130 Severity   : enhancement
131 Bugzilla   : 16581
132 Description: Add man pages for llobdstat(8), llstat(8), plot-llstat(8),
133            : l_getgroups(8), lst(8), routerstat(8)
134 Details    : included man pages for llobdstat(8), llstat(8),
135            : plot-llstat(8), l_getgroups(8), lst(8), routerstat(8)
136
137 Severity   : enhancement
138 Bugzilla   : 16091
139 Description: configure's --enable-quota should check the
140            : kernel .config for CONFIG_QUOTA
141 Details    : configure is terminated if --enable-quota is passed but
142            : no quota support is in kernel
143
144 Severity   : normal
145 Bugzilla   : 13139
146 Description: Remove portals compatibility
147 Details    : Remove portals compatibility, not interoperable with releases
148              before 1.4.6
149
150 Severity   : normal
151 Bugzilla   : 15576
152 Description: Resolve device initialization race
153 Details    : Prevent proc handler from accessing devices added to the
154              obd_devs array but yet be intialized.
155
156 Severity   : enhancement
157 Bugzilla   : 15308
158 Description: Update to SLES10 SP2 kernel-2.6.16.60-0.23.
159
160 Severity   : enhancement
161 Bugzilla   : 16190
162 Description: Update to RHEL5 kernel-2.6.18-92.1.6.el5.
163
164 Severity   : normal
165 Bugzilla   : 12975
166 Frequency  : rare
167 Description: Using wrong pointer in osc_brw_prep_request
168 Details    : Access to array[-1] can produce panic if kernel compiled with
169              CONFIG_PAGE_ALLOC enabled
170
171 Severity   : normal
172 Bugzilla   : 16037
173 Description: Client runs out of low memory
174 Details    : Consider only lowmem when counting initial number of llap pages
175
176 Severity   : normal
177 Bugzilla   : 15625
178 Description: *optional* service tags registration
179 Details    : if the "service tags" package is installed on a Lustre node
180              When the filesystem is mounted, a local-node service tag will
181              be created.  See http://inventory.sun.com/ for more information
182              about the Service Tags asset management system.
183
184 Severity   : normal
185 Bugzilla   : 15825
186 Description: Kernel BUG tries to release flock
187 Details    : Lustre does not destroy flock lock before last reference goes
188              away. So always drop flock locks when client is evicted and
189              perform unlock regardless of successfulness of speaking to MDS.
190
191 Severity   : normal
192 Bugzilla   : 15210
193 Description: add recount protection for osc callbacks, so avoid panic on shutdown
194
195 Severity   : normal
196 Bugzilla   : 12653
197 Description: sanity test 65a fails if stripecount of -1 is set
198 Details    : handle -1 striping on filesystem in ll_dirstripe_verify
199
200 Severity   : normal
201 Bugzilla   : 14742
202 Frequency  : rare
203 Description: ASSERTION(CheckWriteback(page,cmd)) failed
204 Details    : badly clear PG_Writeback bit in ll_ap_completion can produce false
205              positive assertion.
206
207 Severity   : enhancement
208 Bugzilla   : 15865
209 Description: Update to RHEL5 kernel-2.6.18-53.1.21.el5.
210
211 Severity   : major
212 Bugzilla   : 15924
213 Description: do not process already freed flock
214 Details    : flock can possibly be freed by another thread before it reaches
215              to ldlm_flock_completion_ast.
216
217 Severity   : normal
218 Bugzilla   : 14480
219 Description: LBUG during stress test
220 Details    : Need properly lock accesses the flock deadlock detection list.
221
222 Severity   : minor
223 Bugzilla   : 15837
224 Description: oops in page fault handler
225 Details    : kernel page fault handler can return two special 'pages' in error case, don't
226              try dereference NOPAGE_SIGBUS and NOPAGE_OMM.
227
228 Severity   : minor
229 Bugzilla   : 15716
230 Description: timeout with invalidate import.
231 Details    : ptlrpcd_check call obd_zombie_impexp_cull and wait request which should be
232              handled by ptlrpcd. This produce long age waiting and -ETIMEOUT
233              ptlrpc_invalidate_import and as result LASSERT.
234
235 Severity   : enhancement
236 Bugzilla   : 15741
237 Description: Update to RHEL5 kernel-2.6.18-53.1.19.el5.
238
239 Severity   : major
240 Bugzilla   : 14134
241 Description: enable MGS and MDT services start separately
242 Details    : add a 'nomgs' option in mount.lustre to enable start a MDT with
243              a co-located MGS without starting the MGS, which is a complement
244              to 'nosvc' mount option.
245
246 Severity   : normal
247 Bugzilla   : 14835
248 Frequency  : after recovery
249 Description: precreate to many object's after del orphan.
250 Details    : del orphan st in oscc last_id == next_id and this triger growing
251              count of precreated objects. Set flag LOW to skip increase count
252              of precreated objects.
253
254 Severity   : normal
255 Bugzilla   : 15139
256 Frequency  : rare, on clear nid stats
257 Description: ASSERTION(client_stat->nid_exp_ref_count == 0)
258 Details    : when clean nid stats sometimes try destroy live entry,
259              and this produce panic in free.
260
261 Severity   : major
262 Bugzilla   : 15575
263 Description: Stack overflow during MDS log replay
264              ease stack pressure by using a thread dealing llog_process.
265
266 Severity   : normal
267 Bugzilla   : 15443
268 Description: wait until IO finished before start new when do lock cancel.
269 Details    : VM protocol want old IO finished before start new, in this case
270              need wait until PG_writeback is cleared until check dirty flag and
271              call writepages in lock cancel callback.
272
273 Severity   : enhancement
274 Bugzilla   : 14929
275 Description: using special macro for print time and cleanup in includes.
276
277 Severity   : normal
278 Bugzilla   : 12888
279 Description: mds_mfd_close() ASSERTION(rc == 0)
280 Details    : In mds_mfd_close(), we need protect inode's writecount change
281              within its orphan write semaphore to prevent possible races.
282
283 Severity   : minor
284 Bugzilla   : 14929
285 Description: Obsolete CURRENT_SECONDS and use cfs_time_current_sec() instead.
286
287 Severity   : minor
288 Bugzilla   : 14645
289 Frequency  : rare, on shutdown ost
290 Description: don't hit live lock with umount ost.
291 Details    : shrink_dcache_parent can be in long loop with destroy dentries,
292              use shrink_dcache_sb instead.
293
294 Severity   : minor
295 Bugzilla   : 14949
296 Description: don't panic with use echo client
297 Details    : echo client pass NULL as client nid pointer and this produce null
298              pointer dereference.
299
300 Severity   : normal
301 Bugzilla   : 15278
302 Description: fix build on ppc32
303 Details    : compile code with -m64 flag produce wrong object file for ppc32.
304
305 Severity   : normal
306 Bugzilla   : 12191
307 Description: add message levels for liblustreapi
308
309 Severity   : normal
310 Bugzilla   : 13380
311 Description: fix for occasional failure case of -ENOSPC in recovery-small tests
312 Details    : Move the 'good_osts' check before the 'total_bavail' check.  This
313              will result in an -EAGAIN and in the exit call path we call
314              alloc_rr() which will with increasing aggressiveness attempt to
315              aquire precreated objects on the minimum number of required OSCs.
316
317 Severity   : major
318 Bugzilla   : 14326
319 Description: Use old size assignment to avoid deadlock
320 Details    : This reverts the changes in bugs 2369 and bug 14138 that introduced
321              the scheduling while holding a spinlock.  We do not need locking
322              for size in ll_update_inode() because size is only updated from
323              the MDS for directories or files without objects, so there is no
324              other place to do the update, and concurrent access to such inodes
325              are protected by the inode lock.
326
327 Severity   : normal
328 Bugzilla   : 14746
329 Description: resolve "_IOWR redefined" build error on SLES10
330
331 Severity   : normal
332 Bugzilla   : 14763
333 Description: dump the memory debugging after all modules are unloaded to
334              suppress false negative in conf_sanity test 39
335
336 Severity   : enhancement
337 Bugzilla   : 15316
338 Description: build kernel-ib packages for OFED 1.3 in our release cycle
339
340 Severity   : minor
341 Bugzilla   : 13969
342 Frequency  : always
343 Description: fix SLES kernel versioning
344 Details    : the kernel version for our SLES 10 kernel did not include a "-"
345              before the "smp" at the end.  while this was not a problem in
346              general, it did mean that software trying to use the kernel
347              version to try to detect a vendor specific kernel would fail.
348              this was most evident by the OFED build scripts.
349
350 Severity   : normal
351 Bugzilla   : 14803
352 Description: Don't update lov_desc members until making sure they are valid
353 Details    : When updating lov_desc members via proc fs, need fix their
354              validities before doing the real update.
355
356 Severity   : normal
357 Bugzilla   : 15069
358 Description: don't put request into delay list while invalidate in flight.
359 Details    : ptlrpc_delay_request sometimes put in delay list while invalidate
360              import in flight. this produce timeout for invalidate and sometimes
361              can cause stale data.
362
363 Severity   : minor
364 Bugzilla   : 14856
365 Frequency  : on ppc only
366 Description: not convert ost objects for directory because it's not exist.
367 Details    : ll_dir_getstripe assume dirrectory has ost objects but this wrong.
368
369 Severity   : normal
370 Bugzilla   : 12652
371 Description: Add FMODE_EXEC file flag for SLES10 SP1 kernel.
372
373 Severity   : enhancement
374 Bugzilla   : 13397
375 Description: Update to support 2.6.22.14 vanilla kernel.
376
377 Severity   : normal
378 Bugzilla   : 14533
379 Frequency  : rare, on recovery
380 Description: read procfs can produce deadlock in some situation
381 Details    : Holding lprocfs lock which send rpc can produce block for destroy
382              obd objects and this also block reconnect with -EALREADY. This isn't
383              fix all lprocfs bugs - but make it rare.
384
385 Severity   : enhancement
386 Bugzilla   : 15152
387 Description: Update kernel to RHEL5 2.6.18-53.1.14.el5.
388
389 Severity   : major
390 Frequency  : frequent on X2 node
391 Bugzilla   : 15010
392 Description: mdc_set_open_replay_data LBUG
393 Details    : Set replay data for requests that are eligible for replay.
394
395 Severity   : normal
396 Bugzilla   : 14321
397 Description: lustre_mgs: operation 101 on unconnected MGS
398 Details    : When MGC is disconnected from MGS long enough, MGS will evict the
399              MGC, and late on MGC cannot successfully connect to MGS and a lot
400              of the error messages complaining that MGS is not connected.
401
402 Severity   : major
403 Bugzilla   : 15027
404 Frequency  : on network error
405 Description: panic with double free request if network error
406 Details    : mdc_finish_enqueue is finish request if any network error ocuring,
407              but it's true only for synchronus enqueue, for async enqueue
408              (via ptlrpcd) this incorrect and ptlrpcd want finish request
409              himself.
410
411 Severity   : enhancement
412 Bugzilla   : 11401
413 Description: client-side metadata stat-ahead during readdir(directory readahead)
414 Details    : perform client-side metadata stat-ahead when the client detects
415              readdir and sequential stat of dir entries therein
416
417 Severity   : major
418 Frequency  : on start mds
419 Bugzilla   : 14884
420 Description: Implement get_info(last_id) in obdfilter.
421
422 Severity   : normal
423 Frequency  : occasional
424 Bugzilla   : 13537
425 Description: Correctly check stale fid, not start epoch if ost not support SOM
426 Details    : open with flag O_CREATE need set old fid in op_fid3 because op_fid2
427              overwrited with new generated fid, but mds can anwer with one of these
428              two fids and both is not stale. setattr incorectly start epoch and
429              assume will be called done_writeting, but without SOM done_writing
430              never called.
431
432 Severity   : major
433 Frequency  : rare, depends on device drivers and load
434 Bugzilla   : 14529
435 Description: MDS or OSS nodes crash due to stack overflow
436 Details    : Code changes in 1.8.0 increased the stack usage of some functions.
437              In some cases, in conjunction with device drivers that use a lot
438              of stack the MDS (or possibly OSS) service threads could overflow
439              the stack.  One change which was identified to consume additional
440              stack has been reworked to avoid the extra stack usage.
441
442 Severity   : normal
443 Frequency  : occasional
444 Bugzilla   : 13730
445 Description: Do not fail import if osc_interpret_create gets -EAGAIN
446 Details    : If osc_interpret_create got -EAGAIN it immediately exits and
447              wakeup oscc_waitq.  After wakeup oscc_wait_for_objects call
448              oscc_has_objects and see OSC has no objests and call
449              oscc_internal_create to resend create request.
450
451 Severity   : enhancement
452 Bugzilla   : 14858
453 Description: Update to SLES10 SP1 latest kernel-2.6.16.54-0.2.5.
454
455 Severity   : enhancement
456 Bugzilla   : 14876
457 Description: Update to RHEL5 latest kernel-2.6.18-53.1.13.el5.
458
459 Severity   : normal
460 Frequency  : very rare
461 Bugzilla   : 3462
462 Description: Fix replay if there is an un-replied request and open
463 Details    : In some cases, older replay request will revert the
464              mcd->mcd_last_xid on MDS which is used to record the client's
465              latest sent request.
466
467 Severity   : enhancement
468 Bugzilla   : 14720
469 Description: Update to RHEL5 latest kernel-2.6.18-53.1.6.el5.
470
471 Severity   : enhancement
472 Bugzilla   : 14482
473 Description: Add rhel5 support to HEAD.
474
475 Serverity  : enhancement
476 Bugzilla   : 14793
477 Description: Update RHEL4 kernel to 2.6.9-67.0.4.
478
479 Severity   : minor
480 Frequency  : rare
481 Bugzilla   : 13196
482 Description: Don't allow skipping OSTs if index has been specified.
483 Details    : Don't allow skipping OSTs if index has been specified, make locking
484              in internal create lots better.
485
486 Severity   : normal
487 Bugzilla   : 12228
488 Description: LBUG in ptlrpc_check_set() bad phase ebc0de00
489 Details    : access to bitfield in structure is always rounded to long
490              and this produce problem with not atomic change any bit.
491
492 Severity   : normal
493 Bugzilla   : 13647
494 Description: Lustre make rpms failed.
495 Details    : Remove ldiskfs spec file to avoids rpmbuild be confused when
496              builds Lustre rpms from tarball.
497
498 Severity   : normal
499 Frequency  : rare on shutdown ost
500 Bugzilla   : 14608
501 Description: If llog cancel was not send before clean_exports phase, this can
502              produce deadlock in llog code.
503 Details    : If llog thread has last reference to obd and call class_import_put
504              this produce deadlock because llog_cleanup_commit_master wait when
505              last llog_commit_thread exited, but this never success because was
506              called from llog_commit_thread.
507
508 Severity   : normal
509 Bugzilla   : 9977
510 Description: allow userland application know is lost one of stripes.
511 Details    : fill lvb_blocks with error code on ost and return it to
512              application if error flag found.
513
514 Severity   : normal
515 Bugzilla   : 14607
516 Description: NULL lov_tgts causing MDS oops
517 Details    : more safe checks for NULL lov_tgts for avoid oops.
518
519 Severity   : enhancement
520 Bugzilla   : 14531
521 Description: Update to RHEL4 latest kernel-2.6.9-67.0.1.EL.
522
523 Severity   : normal
524 Bugzilla   : 13375
525 Descriptoin: make lov_create() will not stuck in obd_statfs_rqset()
526 Details    : If an OST is down the MDS will hang indefinitely in
527              obd_statfs_rqset() waiting for the statfs data. While for
528              MDS QOS usage of statfs, it should not stuck in waiting.
529
530 Severity   : enhancement
531 Bugzilla   : 11842
532 Description: remote_acl support
533 Details    : Support ACL-based permission check for remote user.
534              Support setfacl/getfacl for remote user with the utils
535              "lfs {l,r}{s,g}etfacl" which follow the same parameter format as
536              the system "{s,g}etfacl" utils.
537
538 Severity   : enhancement
539 Bugzilla   : 14288
540 Description: Update to RHEL4 U6 kernel-2.6.9-67.EL.
541
542 Severity   : enhancement
543 Bugzilla   : 14368
544 Description: Update to RHEL5 latest kernel-2.6.18-53.1.4.el5.
545
546 Severity   : normal
547 Bugzilla   : 14136
548 Description: make mgs_setparam() handle fsname containing dash
549 Details    : fsname containing a dash does not work with lctl conf_param
550
551 Severity   : enhancement
552 Bugzilla   : 14388
553 Description: Update to SLES10 SP1 latest kernel-2.6.16.54-0.2.3.
554
555 Severity   : enhancement
556 Bugzilla   : 14289
557 Description: Update to RHEL5 Update-1 kernel 2.6.18-53.el5.
558
559 Severity   : major
560 Bugzilla   : 14260
561 Frequency  : rare, at shutdown
562 Description: access already free / zero obd_namespace.
563 Details    : if client_disconnect_export was called without force flag set,
564              and exist connect request in flight, this can produce access to
565              NULL pointer (or already free pointer) when connect_interpret
566              store ocd flags in obd_namespace.
567
568 Severity   : minor
569 Bugzilla   : 14418
570 Frequency  : only at startup
571 Description: not alloc memory with spinlock held.
572 Details    : allocation memory with GFP_KERNEL can produce sleep deadlock,
573              if any spinlock held.
574
575 Severity   : enhancement
576 Bugzilla   : 12211
577 Description: make lustre randomly fail allocating memory
578 Details    : Make lustre randomly failed allocating memory for testing purpose.
579
580 Severity   : enhancement
581 Bugzilla   : 12702
582 Description: lost problems with lov objid file
583 Details    : Fixes some scability and access to not inited memory problems
584              in work with lov objdid file.
585
586 Severity   : major
587 Frequency  : always
588 Bugzilla   : 14270
589 Description: lfs find does not continue on file error
590 Details    : Continue other files processing when a file/dir is absent.
591
592 Severity   : normal
593 Bugzilla   : 11791
594 Description: Inconsistent usage of lustre_pack_reply()
595 Details    : Standardize the usage of lustre_pack_reply() such that it
596              always generate a CERROR on failure.
597
598 Severity   : major
599 Frequency  : occasional
600 Bugzilla   : 13917
601 Description: MDS hang or stay in waiting lock
602 Details    : If client receive lock with CBPENDING flag ldlm need send lock
603              cancel as separate rpc, to avoid situation when cancel request
604              can't processed due all i/o threads stay in wait lock.
605
606 Severity   : normal
607 Bugzilla   : 13969
608 Description: Update to RHEL5 kernel 2.6.18-8.1.15.el5.
609
610 Severity   : normal
611 Bugzilla   : 13874
612 Description: Update to SLES10 SP1 kernel 2.6.16.53-0.16
613
614 Severity   : normal
615 Bugzilla   : 13889
616 Description: Update to SLES9 kernel-2.6.5-7.287.3.
617
618 Severity   : normal
619 Bugzilla   : 14041
620 Description: Update to RHEL4 latest kernel.
621
622 Severity   : enhancement
623 Bugzilla   : 13690
624 Description: Build SLES10 patchless client fails
625 Details    : The configure was broken by run ./configure with
626              --with-linux-obj=.... argument for patchless client. When the
627              configure use --with-linux-obj, the LINUXINCLUDE= -Iinclude
628              can't search header adequately. Use absolute path such as
629              -I($LINUX)/include instead.
630
631 Severity   : normal
632 Bugzilla   : 13888
633 Description: interrupt oig_wait produce painc on resend.
634 Details    : brw_redo_request can be used for resend requests from ptlrpcd and
635              private set, and this produce situation when rq_ptlrpcd_data not
636              copyed to new allocated request and triggered LBUG on assert
637              req->rq_ptlrpcd_data != NULL. But this member used only for wakeup
638              ptlrpcd set if request is changed and can be safety changed to use
639              rq_set directly.
640
641 Severity   : normal
642 Bugzilla   : 13497
643 Description: LASSERT_{REQ,REP}SWAB macros are buggy
644 Details    : If SWAB_PARANOIA is disabled, the LASSERT_REQSWAB and
645              LASSERT_REPSWAB macros become no-ops, which is incorrect. Drop
646              these macros and replace them with their difinitions instead.
647
648 Severity   : normal
649 Bugzilla   : 13521
650 Description: Update kernel patches for SLES10 2.6.16.53-0.8.
651 Details    : Update which_patch & target file for SLES10 latest kernel.
652
653 Bugzilla   : 12411
654 Description: Remove client patches from SLES 10 kernel.
655 Details    : This causes SLES 10 clients to behave as patchless clients
656              even on a Lustre-patched (server) kernel.
657
658 Severity   : enhancement
659 Bugzilla   : 2262
660 Description: self-adjustable client's lru lists
661 Details    : use adaptive algorithm for managing client cached locks lru
662              lists according to current server load, other client's work
663              pattern, memory activities, etc. Both, server and client
664              side namespaces provide number of proc tunables for controlling
665              things
666
667 Severity   : enhancement
668 Bugzilla   : 13641
669 Description: light-weight GSS support
670 Details    : Support krb5n and krb5a mode, which keep Kerberos 5 authentication
671              and reduce performance overhead.
672
673 Severity   : enhancement
674 Bugzilla   : 11832
675 Description: Linux keyring support
676 Details    : Support using service of Linux keyring for Lustre GSS internal
677              context refresh/cache mechanism.
678
679 Severity   : normal
680 Bugzilla   : 12186
681 Description: Fix errors in lfs documentation
682 Details    : Fixes man pages
683
684 Severity   : normal
685 Bugzilla   : 12606
686 Description: don't use GFP_* in generic Lustre code.
687 Details    : Use cfs_alloc_* functions and CFS_* flags for code portability.
688
689 Severity   : normal
690 Bugzilla   : 12333
691 Description: obdclass is limited by single OBD_ALLOC(idarray)
692 Details    : replace OBD_ALLOC/OBD_FREE with OBD_VMALLOC/OBD_VFREE
693
694 Severity   : normal
695 Bugzilla   : 13006
696 Description: warnings with build patchless client with vanila 2.6.19 and up
697 Details    : change old ctl_table style and replace ctl_table/ctl_table_header
698              with cfs_sysctl_table_t/cfs_sysctl_table_header_t
699
700 Severity   : normal
701 Bugzilla   : 13177
702 Frequency  : Only for SLES
703 Description: sanity_quota fail test_1
704 Details    : There are multiple occurences of $TSTUSR in SLES's /etc/group
705              file, which makes TSTID[2] inunique.
706
707 Severity   : normal
708 Bugzilla   : 13249
709 Frequency  : Only for SLES9
710 Description: Kernel patches for SLES9 2.6.5-7.286 kernel
711 Details    : Update target/ChangeLog/which_patch .
712
713 Severity   : normal
714 Bugzilla   : 13170
715 Frequency  : Only for test_10 in sanity-quota.sh
716 Description: a bug in quota test code
717 Details    : checking a test flag in a wrong place
718
719 Severity   : normal
720 Bugzilla   : 13171
721 Frequency  : Only for test_13 in sanity-quota.sh
722 Description: a bug in quota test script
723 Details    : shouldn't check overfull allocated quota
724
725 Severity   : normal
726 Bugzilla   : 12955
727 Description: jbd statistics
728 Details    : Port older jbd statistics patch for sles10
729
730 Severity   : enhancement
731 Bugzilla   : 11721
732 Description: Add printing inode info into message about error in writepage.
733
734 Severity   : normal
735 Bugzilla   : 11974
736 Frequency  : Rare
737 Description: reply_lock_interpret crash due to race with it and lock cancel.
738 Details    : Do not replay locks that are being cancelled. Do not reference
739              locks by their address during replay, just by their handle.
740
741 Severity   : normal
742 Bugzilla   : 13103
743 Frequency  : When flocks are used.
744 Description: assertion failure in ldlm_cli_enquque_fini for non NULL lock.
745 Details    : Flock locks might destroy just granted lock if it could be merged
746              with another existing flock, this is done in completion handler,
747              so teach ldlm_cli_enquque_fini that this is a valid case for
748              flock locks.
749
750 Severity   : minor
751 Bugzilla   : 13276
752 Frequency  : rare
753 Description: Oops in read and write path when failing to allocate lock.
754 Details    : Check if lock allocation failed and return error back.
755
756 Severity   : normal
757 Bugzilla   : 11679
758 Description: lstripe command fails for valid OST index
759 Details    : The stripe offset is compared to lov->desc.ld_tgt_count
760              instead of lov->desc.ld_active_tgt_count.
761
762 Severity   : normal
763 Bugzilla   : 12584
764 Description: sanity.sh failed test 103
765 Details    : RHEL mis-interpret setfacl "-X" param, so we won't test setfacl
766              with param "-X".
767
768 Severity   : normal
769 Bugzilla   : 12743
770 Description: df doesn't work properly if diskfs blocksize != 4K
771 Details    : Choose biggest blocksize of OST's as the LOV's blocksize.
772
773 Severity   : normal
774 Bugzilla   : 12836
775 Description: lfs find on -1 stripe looping in lsm_lmm_verify_common()
776 Details    : Avoid lov_verify_lmm_common() on directory with -1 stripe count.
777
778 Severity   : enhancement
779 Bugzilla   : 3055
780 Description: Adaptive timeouts
781 Details    : RPC timeouts adapt to changing server load and network
782              conditions to reduce resend attempts and improve recovery time.
783
784 Severity   : normal
785 Bugzilla   : 12192
786 Description: llapi_file_create() does not allow some changes
787 Details    : add llapi_file_open() that allows specifying the mode and
788              open flags, and also returns an open file handle.
789
790 Severity   : normal
791 Bugzilla   : 11248
792 Description: merge and cleanup kernel patches.
793 Details    : Remove mnt_lustre_list in vfs_intent-2.6-rhel4.patch.
794
795 Severity   : normal
796 Bugzilla   : 10657
797 Description: Add journal checksum support.(Kernel part)
798 Details    : The journal checksum feature adds two new flags i.e
799              JBD2_FEATURE_INCOMPAT_ASYNC_COMMIT and
800              JBD2_FEATURE_COMPAT_CHECKSUM. JBD2_FEATURE_CHECKSUM flag
801              indicates that the commit block contains the checksum for
802              the blocks described by the descriptor blocks. Now commit
803              record can be sent to disk without waiting for descriptor
804              blocks to be written to disk. This behavior is controlled
805              using JBD2_FEATURE_ASYNC_COMMIT flag.
806
807 Severity   : minor
808 Bugzilla   : 12446
809 Description: OSS needs mutliple precreate threads
810 Details    : Add ability to start more than one create thread per OSS.
811
812 Severity   : normal
813 Bugzilla   : 13362
814 Description: Sanity.sh test_65k failed: setstripe should have succeeded
815 Details    : execute lfs setstripe on client
816
817 Severity   : major
818 Bugzilla   : 12223
819 Description: mds_obd_create error creating tmp object
820 Details    : When the user sets quota on root, llog will be affected and can't
821              create files and write files.
822
823 Severity   : normal
824 Frequency  : Always on ia64 patchless client, and possibly others.
825 Bugzilla   : 12826
826 Description: Add EXPORT_SYMBOL check for node_to_cpumask symbol.
827 Details    : This allows the patchless client to be loaded on architectures
828              without this export.
829
830 Severity   : normal
831 Bugzilla   : 13039
832 Description: RedHat Update kernel for RHEL5
833 Details    : Add the kernel config file for RHEL5.
834
835 Severity   : normal
836 Bugzilla   : 13039
837 Description: RedHat Update kernel for RHEL5
838 Details    : Modify the kernel config file more closer RHEL5.
839
840 Severity   : normal
841 Bugzilla   : 13360
842 Description: Build failure against Centos5 (RHEL5)
843 Details    : Define PAGE_SIZE when it isn't present.
844
845 Severity   : minor
846 Bugzilla   : 13363
847 Description: test_7 on sanity-quota.sh can't be used on separate machines
848 Details    : add facet to handle it
849
850 Severity   : normal
851 Bugzilla   : 13030
852 Description: "ll_intent_file_open()) lock enqueue: err: -13" with nfs
853 Details    : with NFS, the anon dentry's parent was set to itself in
854              d_alloc_anon(), so in MDS, we use rec->ur_fid1 to find the
855              corresponding dentry other than use rec->ur_name.
856
857 Severity   : enhancement
858 Bugzilla   : 12786
859 Description: lfs setstripe enhancement
860 Details    : Make lfs setstripe understand 'k', 'm' and 'g' for stripe size.
861
862 Severity   : normal
863 Bugzilla   : 12398
864 Description: enable data checksumming by default
865 Details    : enable checksum by default, allow --disable-checksum
866              configure option and "-o nochecksum" mount option.  Checksums
867              can also be disabled at runtime via $LPROC/osc/*/checksum_pages.
868
869 Severity   : normal
870 Bugzilla   : 11802
871 Description: lustre support for RHEL5
872 Details    : Add support for RHEL5.
873
874 Severity   : normal
875 Bugzilla   : 12459
876 Description: Client eviction due to failover config
877 Details    : after a connection loss, the lustre client should attempt to
878              reconnect to the last active server first before trying the
879              other potential connections.
880
881 Severity   : minor
882 Bugzilla   : 12588
883 Description: when mds and osts use different quota unit(32bit and 64bit),
884              quota will be released repeatly.
885 Details    : void sending multiple quota reqs to mds, which will keep the
886              status between the reqs.
887
888 Severity   : normal
889 Bugzilla   : 13125
890 Description: osts not allocated evenly to files
891 Details    : change the condition to increase offset_idx
892
893 Severity   : critical
894 Frequency  : Always for filesystems larger than 2TB on 32-bit systems.
895 Bugzilla   : 13547
896 Description: Data corruption for OSTs that are formatted larger than 2TB
897              on 32-bit servers.
898 Details    : When generating the bio request for lustre file writes the
899              sector number would overflow a temporary variable before being
900              used for the IO.  The data reads correctly from Lustre (which
901              will overflow in a similar manner) but other file data or
902              filesystem metadata may be corrupted in some cases.
903
904 Severity   : normal
905 Bugzilla   : 11230
906 Description: Tune the kernel for good SCSI performance.
907 Details    : Set the value of /sys/block/{dev}/queue/max_sectors_kb
908              to the value of /sys/block/{dev}/queue/max_hw_sectors_kb
909              in mount_lustre.
910
911 Severity   : cleanup
912 Bugzilla   : 13532
913 Description: rewrite ext2-derived code in obdclass/uuid.c
914 Details    : rewrite inherited code (uuid parsing code from ext2 utils)
915              from scratch preserving functionality.
916
917 Severity   : normal
918 Bugzilla   : 13600
919 Description: "lfs find -obd UUID" prints directories
920 Details    : "lfs find -obd UUID" will return all directory names instead
921              of just file names. It is incorrect because the directories
922              do not reside on the OSTs.
923
924 Severity   : minor
925 Bugzilla   : 2369
926 Description: use i_size_read and i_size_write in 2.6 port
927 Details    : replace inode->i_size access with i_size_read/write()
928
929 Severity   : normal
930 Frequency  : when removing large files
931 Bugzilla   : 13181
932 Description: scheduling issue during removal of large Lustre files
933 Details    : Don't take the BKL in fsfilt_ext3_setattr() for 2.6 kernels.
934              It causes scheduling issues when removing large files (17TB in the
935              present case).
936
937 Severity   : normal
938 Frequency  : only with liblustre clients on XT3
939 Bugzilla   : 12418
940 Description: evictions taking too long
941 Details    : allow llrd to evict clients directly on OSTs
942
943 Severity   : normal
944 Frequency  : only on ppc
945 Bugzilla   : 12234
946 Description: /proc/fs/lustre/devices broken on ppc
947 Details    : The patch as applied to 1.6.2 doesn't look correct for all arches.
948              We should make sure the type of 'index' is loff_t and then cast
949              explicitly as needed below.  Do not assign an explicitly cast
950              loff_t to an int.
951
952 Severity   : normal
953 Frequency  : only for rhel5
954 Bugzilla   : 13616
955 Description: Kernel patches update for RHEL5 2.6.18-8.1.10.el5.
956 Details    : Modify the target file & which_kernel.
957
958 Severity   : enhancement
959 Bugzilla   : 10786
960 Description: omit set fsid for export NFS
961 Details    : fix set/restore device id for avoid EMFILE error and mark lustre fs
962              as FS_REQUIRES_DEV for avoid problems with generate fsid.
963
964 Severity   : normal
965 Bugzilla   : 13304
966 Frequency  : Always, for kernels after 2.6.16
967 Description: Fix warning idr_remove called for id=.. which is not allocated.
968 Details    : Last kernels save old s_dev before kill super and not allow
969              to restore from callback - restore it before call kill_anon_super.
970
971 Severity   : minor
972 Bugzilla   : 12948
973 Description: buffer overruns could theoretically occur
974 Details    : llapi_semantic_traverse() modifies the "path" argument by
975              appending values to the end of the origin string, and a
976              overrun may occur. Adding buffer overrun check in liblustreapi.
977
978 Severity   : normal
979 Bugzilla   : 13334
980 Description: Fix error on 'ls .' at the top of the Lustre mount.
981 Details    : Don't revalidate dentry if it is a root dentry.
982
983 Severity   : normal
984 Bugzilla   : 13518
985 Description: Kernel patches update for RHEL4 2.6.9-55.0.6.
986 Details    : Modify vm-tunables-rhel4.patch.
987
988 Severity   : normal
989 Bugzilla   : 13452
990 Description: Kernel config for 2.6.18-vanilla.
991 Details    : Modify targets/2.6-vanilla.target.in.
992              Add config file kernel-2.6.18-2.6-vanilla-i686.config.
993              Add config file kernel-2.6.18-2.6-vanilla-i686-smp.config.
994              Add config file kernel-2.6.18-2.6-vanilla-x86_64.config.
995              Add config file kernel-2.6.18-2.6-vanilla-x86_64-smp.config.
996
997 Severity   : major
998 Bugzilla   : 11710
999 Description: improve handling recoverable errors
1000 Details    : if request processig with error which can be recoverable on server
1001              request should be resend, otherwise page released from cache and
1002              marked as error.
1003
1004 Severity   : critical
1005 Bugzilla   : 13751
1006 Description: Kernel patches update for RHEL5 2.6.18-8.1.14.el5.
1007 Details    : Modify target file & which_patch.
1008              A flaw was found in the IA32 system call emulation provided
1009              on AMD64 and Intel 64 platforms. An improperly validated 64-bit
1010              value could be stored in the %RAX register, which could trigger an
1011              out-of-bounds system call table access. An untrusted local user
1012              could exploit this flaw to run code in the kernel
1013              (ie a root privilege escalation). (CVE-2007-4573).
1014
1015 Severity   : major
1016 Bugzilla   : 13093
1017 Description: O_DIRECT bypasses client statistics.
1018 Details    : When running with O_DIRECT I/O, neither the client rpc_stats nor
1019              read_ahead_stats were updated. copied the stats section from
1020              osc_send_oap_rpc() into async_internal().
1021
1022 Severity   : normal
1023 Bugzilla   : 13454
1024 Description: Add jbd statistics patch for RHEL5 and 2.6.18-vanilla
1025
1026 Severity   : minor
1027 Bugzilla   : 13732
1028 Description: change order of libsysio includes
1029 Details    : '#include sysio.h' should always come before '#include xtio.h'
1030
1031 Severity   : normal
1032 Bugzilla   : 11673
1033 Description: handle "serious error: objid * already exists" more gracefully
1034 Details    : If LAST_ID value on disk is smaller than the objects existing in
1035              the O/0/d* directories, it indicates disk corruption and causes an
1036              LBUG(). If the object is 0-length, then we should use the existing
1037              object. This will help to avoid a full fsck in most cases.
1038
1039 Severity   : enhancement
1040 Bugzilla   : 13207
1041 Description: adapt the lustre_config script to support the upgrade case
1042 Details    : Add "-u" option for lustre_config script to support upgrading 1.4
1043              server targets to 1.6 in parallel.
1044
1045 Severity   : normal
1046 Bugzilla   : 13570
1047 Description: To avoid grant space > avaible space when the disk is almost
1048              full. Without this patch you might see the error "grant XXXX >
1049              available" or some LBUG about grant, when the disk is almost
1050              full.
1051 Details    : In filter_check_grant, for non_grant cache write, we should
1052              check the left space by  if (*left > ungranted + bytes), instead
1053              of (*left > ungranted), because only we are sure the left space
1054              is enough for another "bytes", then the ungrant space should be
1055              increase. In client, we should update cl_avail_grant only there
1056              is OBD_MD_FLGRANT in the reply.
1057
1058 Severity   : critical
1059 Bugzilla   : 13748
1060 Description: Update RHEL 4 kernel to fix local root privilege escalation.
1061 Details    : Update to the latest RHEL 4 kernel to fix the vulnerability
1062              described in CVE-2007-4573.  This problem could allow untrusted
1063              local users to gain root access.
1064
1065 Severity   : normal
1066 Frequency  : when using O_DIRECT and quotas
1067 Bugzilla   : 13930
1068 Description: Incorrect file ownership on O_DIRECT output files
1069 Details    : block usage reported by 'lfs quota' does not take into account
1070              files that have been written with O_DIRECT.
1071
1072 Severity   : normal
1073 Frequency  : always
1074 Bugzilla   : 13976
1075 Description: touch file failed when fs is not full
1076 Details    : OST in recovery should not be discarded by MDS in alloc_qos(),
1077              otherwise we can get ENOSP while fs is not full.
1078
1079 Severity   : normal
1080 Bugzilla   : 11301
1081 Description: parallel lock callbacks
1082 Details    : Instead of sending blocking and completion callbacks as separated
1083              requests, adding them to a set and sending in parallel.
1084
1085 Severity   : normal
1086 Frequency  : only for Cray XT3
1087 Bugzilla   : 12829/13455
1088 Description: Changing primary group doesn't change the group lustre assigns to
1089              a file
1090 Details    : When CRAY_XT3 is defined, the fsgid supplied by the client is
1091              overridden with the primary group provided by the group upcall,
1092              whereas the supplied fsgid can be trusted if it is in the list of
1093              supplementary groups returned by the group upcall.
1094
1095 Severity   : enhancement
1096 Bugzilla   : 14398
1097 Description: Allow masking D_WARNING, D_ERROR messages from console
1098 Details    : Console messages can now be disabled via lnet.printk.
1099
1100 Severity   : normal
1101 Bugzilla   : 14614
1102 Description: User code with malformed file open parameter crashes client node
1103 Details    : Before packing join_file req, all the related reference should be
1104              checked carefully in case some malformed flags cause fake
1105              join_file req on client.
1106
1107 Severity   : normal
1108 Bugzilla   : 14225
1109 Description: LDLM_ENQUEUE races with LDLM_CP_CALLBACK
1110 Details    : ldlm_completion_ast() assumes that a lock is granted when the req
1111              mode is equal to the granted mode. However, it should also check
1112              that LDLM_FL_CP_REQD is not set.
1113
1114 Severity   : normal
1115 Bugzilla   : 14360
1116 Description: Heavy nfs access might result in deadlocks
1117 Details    : After ELC code landed, it is now improper to enqueue any mds
1118              locks under och_sem, because enqueue might want to decide to
1119              cancel open locks for same inode we are holding och_sem for.
1120
1121 Severity   : normal
1122 Bugzilla   : 13843
1123 Description: Client eviction while running blogbench
1124 Details    : A lot of unlink operations with concurrent I/O can lead to a
1125              deadlock causing evictions. To address the problem, the number of
1126              oustanding OST_DESTROY requests is now throttled to
1127              max_rpcs_in_flight per OSC and LDLM_FL_DISCARD_DATA blocking
1128              callbacks are processed in priority.
1129
1130 Severity   : normal
1131 Bugzilla   : 13829
1132 Description: enable ACLs on MDS by default
1133 Details    : ACLs must be enabled on MDS by default.
1134
1135 Severity   : normal
1136 Frequency  : PPC/PPC64 only
1137 Bugzilla   : 14845
1138 Description: conflicts between asm-ppc64/types.h and lustre_types.h
1139 Details    : fix duplicated definitions between asm-ppc64/types.h and
1140              lustre_types.h on PPC.
1141
1142 Severity   : normal
1143 Frequency  : PPC/PPC64 only
1144 Bugzilla   : 14844
1145 Description: asm-ppc/segment.h does not exist
1146 Details    : fix compile issue on PPC.
1147
1148 Severity   : normal
1149 Bugzilla   : 14864
1150 Description: better handle error messages in extents code
1151
1152 Severity   : normal
1153 Frequency  : RHEL4 only
1154 Bugzilla   : 14618
1155 Description: mkfs is very slow on IA64/RHEL4
1156 Details    : A performance regression has been discovered in the MPT Fusion
1157              driver between versions 3.02.73rh and 3.02.99.00rh. As a
1158              consequence, we have downgraded the MPT Fusion driver in the RHEL4
1159              kernel from 3.02.99.00 to 3.02.73 until this problem is fixed.
1160
1161 Severity   : enhancement
1162 Bugzilla   : 14729
1163 Description: SNMP support enhancement
1164 Details    : Adding total number of sampled request for an MDS node in snmp
1165              support.
1166
1167 Severity   : enhancement
1168 Bugzilla   : 14748
1169 Description: Optimize ldlm waiting list processing for PR extent locks
1170 Details    : When processing waiting list for read extent lock and meeting read
1171              lock that is same or wider to it that is not contended, skip
1172              processing rest of the list and immediatelly return current
1173              status of conflictness, since we are guaranteed there are no
1174              conflicting locks in the rest of the list.
1175
1176 Severity   : normal
1177 Bugzilla   : 14774
1178 Description: Time out and refuse to reconnect
1179 Details    : When the failover node is the primary node, it is possible
1180              to have two identical connections in imp_conn_list. We must
1181              compare not conn's pointers but NIDs, otherwise we can defeat
1182              connection throttling.
1183
1184 Severity   : normal
1185 Bugzilla   : 13821
1186 Description: port llog fixes from b1_6 into HEAD
1187 Details    : Port llog reference couting and some llog cleanups from b1_6
1188              (bug 10800) into HEAD, for protect from panic and access to already
1189              free llog structures.
1190
1191 Severity   : normal
1192 Bugzilla   : 14483
1193 Description: Detect stride IO mode in read-ahead
1194 Details    : When a client does stride read, read-ahead should detect that and
1195              read-ahead pages according to the detected stride pattern.
1196
1197 Severity   : normal
1198 Bugzilla   : 13805
1199 Description: data checksumming impacts single node performance
1200 Details    : add support for several checksum algorithm. Currently, only CRC32
1201              and Adler-32 are supported. The checksum type can be changed on
1202              the fly via /proc/fs/lustre/osc/*/checksum_type.
1203
1204 Severity   : normal
1205 Bugzilla   : 14648
1206 Description: use adler32 for page checksums
1207 Details    : when available, use the Adler-32 algorithm instead of CRC32 for
1208              page checksums.
1209
1210 Severity   : normal
1211 Bugzilla   : 15033
1212 Description: build for x2 fails
1213 Details    : fix compile issue on Cray systems.
1214
1215 Severity   : normal
1216 Bugzilla   : 14379
1217 Description: Properly match for duplicate locks
1218 Details    : Due to different lock order from skiplists code, we need to
1219              traverse entire list for now
1220
1221 Severity   : normal
1222 Frequency  : only on PPC/SLES10
1223 Bugzilla   : 14855
1224 Description: "BITS_PER_LONG is not 32 or 64" in linux/idr.h
1225 Details    : On SLES10/PPC, fs.h includes idr.h which requires BITS_PER_LONG to
1226              be defined. Add a hack in mkfs_lustre.c to work around this compile
1227              issue.
1228
1229 Severity   : normal
1230 Bugzilla   : 14257
1231 Description: LASSERT on MDS when client holding flock lock dies
1232 Details    : ldlm pool logic depends on number of granted locks equal to
1233              number of released locks which is not true for flock locks, so
1234              just exclude such locks from consideration.
1235
1236 Severity   : normal
1237 Bugzilla   : 15188
1238 Description: MDS deadlock with many ll_sync_lov threads and I/O stalled
1239 Details    : Use fsfilt_sync() for both the whole filesystem sync and
1240              individual file sync to eliminate dangerous inode locking
1241              with I_LOCK that can lead to a deadlock.
1242
1243 Severity   : normal
1244 Bugzilla   : 14410
1245 Description: performance in 1.6.3
1246 Details    : Force q->max_phys_segments to MAX_PHYS_SEGMENTS on SLES10 to be
1247              sure that 1MB requests are not fragmented by the block layer.
1248
1249 Severity   : enhancement
1250 Bugzilla   : 11089
1251 Description: organize the server-side client stats on per-nid basis
1252 Details    : Change the structure of stats under obdfilter and mds to
1253              New structure:
1254                 +- exports
1255                         +- nid#1
1256                         |   + stats
1257                         |   + uuids
1258                         +- nid#2...
1259                         +- clear
1260              The "uuid"s file would list the uuids of _active_ exports.
1261              And the clear entry is to clear all stats and stale nids.
1262
1263 Severity   : enhancement
1264 Bugzilla   : 11270
1265 Description: eliminate client locks in face of contention
1266 Details    : file contention detection and lockless i/o implementation
1267              for contended files.
1268
1269 Severity   : normal
1270 Bugzilla   : 15212
1271 Description: Reinitialize optind to 0 so that interactive lfs works in all cases
1272
1273 Severity   : critical
1274 Frequency  : very rare, if additional xattrs are used on kernels >= 2.6.12
1275 Bugzilla   : 15777
1276 Description: MDS may lose file striping (and hence file data) in some cases
1277 Details    : If there are additional extended attributes stored on the MDS,
1278              in particular ACLs, SELinux, or user attributes (if user_xattr
1279              is specified for the client mount options) then there is a risk
1280              of attribute loss.  Additionally, the Lustre file striping
1281              needs to be larger than default (e.g. striped over all OSTs),
1282              and an additional attribute must be stored initially in the
1283              inode and then increase in size enough to be moved to the
1284              external attribute block (e.g. ACL growing in size) for file
1285              data to be lost.
1286
1287 Severity   : normal
1288 Bugzilla   : 15346
1289 Description: skiplist implementation simplification
1290 Details    : skiplists are used to group compatible locks on granted list
1291              that was implemented as tracking first and last lock of each
1292              lock group the patch changes that to using doubly linked lists
1293
1294 Severity   : normal
1295 Bugzilla   : 15574
1296 Description: MDS LBUG: ASSERTION(!IS_ERR(dchild))
1297 Details    : Change LASSERTs to client eviction (i.e. abort client's recovery)
1298              because LASSERT on both the data supplied by a client, and the
1299              data on disk is dangerous and incorrect.
1300
1301 Severity   : enhancement
1302 Bugzilla   : 10718
1303 Description: Slow truncate/writes to huge files at high offsets.
1304 Details    : Directly associate cached pages to lock that protect those pages,
1305              this allows us to quickly find what pages to write and remove
1306              once lock callback is received.
1307
1308 Severity   : normal
1309 Bugzilla   : 15953
1310 Description: more ldlm soft lockups
1311 Details    : In ldlm_resource_add_lock(), call to ldlm_resource_dump()
1312              starve other threads from the resource lock for a long time in
1313              case of long waiting queue, so change the debug level from
1314              D_OTHER to the less frequently used D_INFO.
1315
1316 Severity   : enhancement
1317 Bugzilla   : 13128
1318 Description: add -gid, -group, -uid, -user options to lfs find
1319
1320 Severity   : normal
1321 Bugzilla   : 15950
1322 Description: Hung threads in invalidate_inode_pages2_range
1323 Details    : The direct IO path doesn't call check_rpcs to submit a new RPC once
1324              one is completed. As a result, some RPCs are stuck in the queue
1325              and are never sent.
1326
1327 Severity   : normal
1328 Bugzilla   : 14629
1329 Description: filter threads hungs on waiting journal commit
1330 Details    : Cleanup filter group llog code, then only filter group llog will
1331              be only created in the MDS/OST syncing process.
1332
1333 Severity   : normal
1334 Bugzilla   : 15684
1335 Description: Procfs and llog threads access destoryed import sometimes.
1336 Details    : Sync the import destoryed process with procfs and llog threads by
1337              the import refcount and semaphore.
1338
1339 Severity   : enhancement
1340 Bugzilla   : 14975
1341 Description: openlock cache of b1_6 port to HEAD
1342
1343 Severity   : major
1344 Frequncy   : rare
1345 Bugzilla   : 16226
1346 Description: kernel BUG at ldiskfs2_ext_new_extent_cb
1347 Details    : If insertion of an extent fails, then discard the inode
1348              preallocation and free data blocks else it can lead to duplicate
1349              blocks.
1350
1351 Severity   : normal
1352 Bugzilla   : 16199
1353 Description: don't always update ctime in ext3_xattr_set_handle()
1354 Details    : Current xattr code updates the inode ctime in ext3_xattr_set_handle.
1355              In some cases the ctime should not be updated, for example for
1356              2.0->1.8 compatibility it is necessary to delete an xattr and it
1357              should not update the ctime.
1358
1359 Severity   : major
1360 Frequency  : rare
1361 Bugzilla   : 15713/16362
1362 Description: Assertion in iopen_connect_dentry in 1.6.3
1363 Details    : looking up an inode via iopen with the wrong generation number can
1364              populate the dcache with a disconneced dentry while the inode
1365              number is in the process of being reallocated. This causes an
1366              assertion failure in iopen since the inode's dentry list contains
1367              both a connected and disconnected dentry.
1368
1369 Severity   : normal
1370 Bugzilla   : 16496
1371 Description: assertion failure in ldlm_handle2lock()
1372 Details    : fix a race between class_handle_unhash() and class_handle2object()
1373              introduced in lustre 1.6.5 by bug 13622.
1374
1375 Severity   : minor
1376 Frequency  : rare
1377 Bugzilla   : 12755
1378 Description: Kernel BUG: sd_iostats_bump: unexpected disk index
1379 Details    : remove the limit of 256 scsi disks in the sd_iostat patch
1380
1381 Severity   : minor
1382 Frequency  : rare
1383 Bugzilla   : 16494
1384 Description: oops in sd_iostats_seq_show()
1385 Details    : unloading/reloading the scsi low level driver triggers a kernel
1386              bug when trying to access the sd iostat file.
1387
1388 Severity   : major
1389 Frequency  : rare
1390 Bugzilla   : 16404
1391 Description: Kernel panics during QLogic driver reload
1392 Details    : REQ_BLOCK_PC requests are not handled properly in the sd iostat
1393              patch, causing memory corruption.
1394
1395 Severity   : minor
1396 Frequency  : rare
1397 Bugzilla   : 16140
1398 Description: journal_dev option does not work in b1_6
1399 Details    : pass mount option during pre-mount.
1400
1401 Severity   : enhancement
1402 Bugzilla   : 10555
1403 Description: Add a FIEMAP(FIle Extent MAP) ioctl
1404 Details    : FIEMAP ioctl will allow an application to efficiently fetch the
1405              extent information of a file. It can be used to map logical blocks
1406              in a file to physical blocks in the block device.
1407
1408 Severity   : normal
1409 Bugzilla   : 15198
1410 Description: LDLM soft lockups - improvement
1411 Details    : It is be possible to send the lock handle along with each read
1412              or write request because the client is already doing a lock match
1413              itself so there isn't any reason the OST should have to re-do that
1414              search.
1415
1416 Severity   : normal
1417 Frequency  : only on Cray X2
1418 Bugzilla   : 16813
1419 Description: X2 build failures
1420 Details    : fix build failures on Cray X2.
1421
1422 Severity   : normal
1423 Bugzilla   : 2066
1424 Description: xid & resent requests
1425 Details    : Initialize RPC XID from clock at startup (randomly if clock is
1426              bad).
1427
1428 Severity   : enhancement
1429 Bugzilla   : 14095
1430 Description: Add lustre_start utility to start or stop multiple Lustre servers
1431              from a CSV file.
1432
1433 Severity   : major
1434 Bugzilla   : 17024
1435 Description: Lustre GPF in {:ptlrpc:ptlrpc_server_free_request+373}
1436 Details    : In case of memory pressure, list_del() can be called twice on
1437              req->rq_history_list, causing a kernel oops.
1438
1439 Severity   : normal
1440 Bugzilla   : 17026
1441 Description: (ptllnd_peer.c:557:kptllnd_peer_check_sends()) ASSERTION(!in_interrupt()) failed
1442 Details    : fix stack overflow in the distributed lock manager by defering export
1443              eviction after a failed ast to the elt thread instead of handling
1444              it in the dlm interpret routine.
1445
1446 Severity   : normal
1447 Bugzilla   : 16450
1448 Description: Convert some comments to new format.
1449 Details    : Update documenting comments to match doxygen conventions.
1450
1451 Severity   : normal
1452 Bugzilla   : 16450
1453 Description: Grammar fixes.
1454 Details    : A couple of trivial spelling fixes.
1455
1456 Severity   : normal
1457 Bugzilla   : 16450
1458 Description: OSD_COUNTERS-mandatory
1459 Details    : Make previously optional ->oti_{w,r}_locks sanity checks mandatory
1460              to simplify the code.
1461
1462 Severity   : normal
1463 Bugzilla   : 16450
1464 Description: simplify cmm_device freeing logic.
1465 Details    : Call cmm_device_free() in the failure path of cmm_device_alloc().
1466
1467 Severity   : normal
1468 Bugzilla   : 16450
1469 Description: Add lockdep support to dt_object_operations locking interface.
1470 Details    : Augment ->do_{read,write}_lock() prototypes with a `role' parameter
1471              indicating lock ordering. Update mdd code to use new locking
1472              interface.
1473
1474 Severity   : normal
1475 Bugzilla   : 16450
1476 Description: Introduce failloc constants for lockless IO tests.
1477 Details    : Add two new failloc constants to test lockless IO. Only one of
1478              them in implemented---another is checked in yet to be landed
1479              core CLIO code.
1480
1481 Severity   : normal
1482 Bugzilla   : 16450
1483 Description: Add lockdep support for inode mutex.
1484 Details    : Introduce and use new LOCK_INODE_MUTEX_PARENT() macro to be used
1485              in the situations where Lustre has to lock more than one inode
1486              mutex at a time.
1487
1488 Severity   : normal
1489 Bugzilla   : 16450
1490 Description: Add optional invariants checking support.
1491 Details    : Add new LINVRNT() macro, optional on new --enable-invariants
1492              configure switch. This macro is to be used for consistency and
1493              sanity checks that are too expensive to be left in `production'
1494              mode.
1495
1496 Severity   : minor
1497 Bugzilla   : 16450
1498 Description: Zap lock->l_granted_mode with explicit LCK_MINMODE.
1499 Details    : Use LCK_MINMODE rather than 0 to reset lock->l_granted_mode to
1500              its initial state.
1501
1502 Severity   : normal
1503 Bugzilla   : 16450
1504 Description: Add lockdep support for ldlm_lock and ldlm_resource.
1505 Details    : Use spin_lock_nested() in (the only) situation where more than
1506              one ldlm_lock is locked simultaneously. Also, fix possible
1507              dead-lock in ldlm_lock_change_resource() by enforcing particular
1508              lock ordering.
1509
1510 Severity   : normal
1511 Bugzilla   : 16450
1512 Description: Use struct ldlm_callback_suite in ldlm_lock_create().
1513 Details    : Instead of specifying each ldlm_lock call-back through separate
1514              parameter, wrap them into struct ldlm_callback_suite.
1515
1516 Severity   : normal
1517 Bugzilla   : 16450
1518 Description: Kill join_lru obd method and its callers.
1519 Details    : CLIO uses lock weighting policy to keep locks over mmapped regions
1520              in memory---a requirement implemented through ->o_join_lru() obd
1521              method in HEAD. Remove this method and its users.
1522
1523 Severity   : normal
1524 Bugzilla   : 16450
1525 Description: Add asynchronous ldlm ENQUEUE completion handler.
1526 Details    : CLIO posts ENQUEUE requests asynchronously through ptlrpcd---a
1527              case that stock ldlm_completion_ast() cannot handle as it waits
1528              until lock is granted. Introduce new ldlm_completion_ast_async()
1529              for this. Also comment ldlm_completion_ast().
1530
1531 Severity   : normal
1532 Bugzilla   : 16450
1533 Description: ldlm_error <-> errno conversion.
1534 Details    : Add functions to map (rather arbitrary) between LDLM error codes
1535              and standard errno values. CLIO needs this to prevent LDLM specific
1536              constants from escaping ldlm and osc.
1537
1538 Severity   : minor
1539 Bugzilla   : 16450
1540 Description: Kill unused ldlm_handle2lock_ns() function.
1541 Details    : Kill unused ldlm_handle2lock_ns() function.
1542
1543 Severity   : normal
1544 Bugzilla   : 16450
1545 Description: Add lu_ref support to ldlm_lock
1546 Details    : lu_ref support for ldlm_lock and ldlm_resource. See lu_ref patch. 
1547         lu_ref fields ->l_reference and ->lr_reference are added to ldlm_lock 
1548         and ldlm_resource. LDLM interface has to be changed, because code that 
1549         releases a reference on a lock, has to "know" what reference this is.
1550         In the most frequent case
1551
1552                 lock = ldlm_handle2lock(handle);
1553                 ...
1554                 LDLM_LOCK_PUT(lock);
1555
1556         no changes are required. When any other reference (received _not_ from 
1557         ldlm_handle2lock()) is released, LDLM_LOCK_RELEASE() has to be called 
1558         instead of LDLM_LOCK_PUT().
1559
1560         Arguably, changes are pervasive, and interface requires some discipline
1561         for proper use. On the other hand, it was very instrumental in finding 
1562         a few leaked lock references.
1563
1564 Severity   : normal
1565 Bugzilla   : 16450
1566 Description: Add ldlm_lock_addref_try().
1567 Details    : Introduce ldlm_lock_addref_try() function (used by CLIO) that
1568              attempts to addref a lock that might be being canceled
1569              concurrently.
1570
1571 Severity   : normal
1572 Bugzilla   : 16450
1573 Description: Add ldlm_weigh_callback().
1574 Details    : Add new ->l_weigh_ast() call-back to ldlm_lock. It is called 
1575         by ldlm_cancel_shrink_policy() to estimate lock "value", instead of
1576         hard-coded `number of pages' logic.
1577
1578 Severity   : normal
1579 Bugzilla   : 16450
1580 Description: Add lockdep annotations to llog code.
1581 Details    : Use appropriately tagged _nested() locking calls in the places
1582              where llog takes more than one ->lgh_lock lock.
1583         
1584 Severity   : minor
1585 Bugzilla   : 16450
1586 Description: Add loi_kms_set().
1587 Details    : Wrap kms updates into a helper function.
1588
1589 Severity   : minor
1590 Bugzilla   : 16450
1591 Description: Constify instances of struct lsm_operations.
1592 Details    : Constify instances of struct lsm_operations.
1593
1594 Severity   : normal
1595 Bugzilla   : 16450
1596 Description: lu_conf support.
1597 Details    : On a server, a file system object is uniquely identified
1598              by a fid, which is sufficient to locate and load all object
1599              state (inode). On a client, on the other hand, more data are
1600              necessary instantiate an object. Change lu_object_find() and
1601              friends to take additional `lu_conf' argument describing object.
1602              Typically this includes layout information.
1603
1604 Severity   : normal
1605 Bugzilla   : 16450
1606 Description: lu_context fixes.
1607 Details    : Introduce new lu_context functions that are needed on the client
1608              side, where some system threads (ptlrpcd) are shared by multiple
1609              modules, and so cannot be stopped during module shutdown.
1610
1611 Severity   : normal
1612 Bugzilla   : 16450
1613 Description: Add start and stop methods to lu_device_type_operations.
1614 Details    : Introduce two new methods in lu_device_type_operations, that are 
1615         invoked  when first instance of a given type is created and last one 
1616         is destroyed respectively. This is need by CLIO.
1617
1618 Severity   : normal
1619 Bugzilla   : 16450
1620 Description: Add lu_ref support to struct lu_device.
1621 Details    : Add lu_ref support to lu_object and lu_device. lu_ref is used to
1622              track leaked references.
1623
1624 Severity   : normal
1625 Bugzilla   : 16450
1626 Description: Introduce lu_kmem_descr.
1627 Details    : lu_kmem_descr and its companion interface allow to create
1628              and destroy a number of kmem caches at once.
1629
1630 Severity   : normal
1631 Bugzilla   : 16450
1632 Description: Fix lu_object finalization race.
1633 Details    : Fix a race between lu_object_find() finding an object and its
1634              concurrent finalization. This race is (most likely) not possible
1635              on the server, but might happen on the client.
1636
1637 Severity   : normal
1638 Bugzilla   : 16450
1639 Description: Introduce lu_ref interface.
1640 Details    : lu_ref is a debugging module allowing to track references to
1641              a given object. It is quite cpu expensive, and has to be
1642              explicitly enabled with --enable-lu_ref. See usage description
1643              within the patch.
1644
1645 Severity   : minor
1646 Bugzilla   : 16450
1647 Description: Factor lu_site procfs stats into a separate function.
1648 Details    : Separate lu_site stats printing code into a separate function
1649              that can be reused on a client.
1650
1651 Severity   : minor
1652 Bugzilla   : 16450
1653 Description: Constify instances of struct {lu,dt,md}_device_operations.
1654 Details    : Constify instances of struct {lu,dt,md}_device_operations.
1655
1656 Severity   : normal
1657 Bugzilla   : 16450
1658 Description: Introduce struct md_site and move meta-data specific parts of
1659              struct lu_site here.
1660 Details    : Move md-specific fields out of struct lu_site into special struct 
1661         md_site, so that lu_site can be used on a client.
1662
1663 Severity   : minor
1664 Bugzilla   : 16450
1665 Description: Kill mdd_lov_destroy().
1666 Details    : Remove unused mdd code.
1667
1668 Severity   : minor
1669 Bugzilla   : 16450
1670 Description: Add st_block checking to multistat.c.
1671 Details    : Add st_block checking to multistat.c.
1672
1673 Severity   : normal
1674 Bugzilla   : 16450
1675 Description: Add lu_ref support to struct obd_device.
1676 Details    : Add lu_ref tracking to obd_device.
1677
1678 Severity   : minor
1679 Bugzilla   : 16450
1680 Description: Kill obd_set_fail_loc().
1681 Details    : Remove unused code.
1682
1683 Severity   : normal
1684 Bugzilla   : 16450
1685 Description: Add special type for ptlrpc_request interpret functions.
1686 Details    : Add lu_env parameter to ->rq_interpreter call-back. NULL is passed 
1687         there. Actual usage will be in CLIO.
1688
1689 Severity   : normal
1690 Bugzilla   : 16450
1691 Description: Replace RW_LOCK_UNLOCKED() macro with rwlock_init().
1692 Details    : Replace RW_LOCK_UNLOCKED() with rwlock_init() as the former
1693              doesn't work with lockdep.
1694
1695 Severity   : normal
1696 Bugzilla   : 16450
1697 Description: Add rwv.c test program.
1698 Details    : New testing program exercising readv(2) and writev(2) (Qian).
1699
1700 Severity   : normal
1701 Bugzilla   : 16450
1702 Description: Add sendfile.c test program.
1703 Details    : New testing program exercising sendfile(2) (Jay).
1704
1705 Severity   : minor
1706 Bugzilla   : 16450
1707 Description: Ratelimit a message that can be very frequent.
1708 Details    : Ratelimit a memory allocation failure message that can
1709              be too chatty.
1710
1711 Severity   : minor
1712 Bugzilla   : 16450
1713 Description: Use cdebug_show() in CDEBUG-style macros defined outside of libcfs.
1714 Details    : Use cdebug_show() in CDEBUG-style macros defined outside of libcfs.
1715
1716 Severity   : normal
1717 Bugzilla   : 16450
1718 Description: Liblustre build fixes.
1719 Details    : Liblustre build fixes.
1720
1721 Severity   : normal
1722 Bugzilla   : 16450
1723 Description: libcfs: add cfs_{need,cond}_resched() interface.
1724 Details    : libcfs: add cfs_{need,cond}_resched() definition and
1725              implementations for Linux, NT, and liblustre.
1726
1727 --------------------------------------------------------------------------------
1728
1729 2007-08-10         Cluster File Systems, Inc. <info@clusterfs.com>
1730        * version 1.6.1
1731        * Support for kernels:
1732         2.6.5-7.283 (SLES 9),
1733         2.6.9-55.EL (RHEL 4),
1734         2.6.16.46-0.14 (SLES 10),
1735         2.6.18.8 vanilla (kernel.org)
1736        * Client support for unpatched kernels:
1737         (see http://wiki.lustre.org/index.php?title=Patchless_Client)
1738         2.6.16 - 2.6.22 vanilla (kernel.org)
1739        * Due to recently discovered recovery problems, we do not recommend
1740         using patchless RHEL 4 clients with this or any earlier release.
1741        * Recommended e2fsprogs version: 1.39.cfs8
1742        * Note that reiserfs quotas are disabled on SLES 10 in this kernel.
1743        * Starting with this release, the ldiskfs backing filesystem required
1744         by Lustre is now in its own package, lustre-ldiskfs.  This package
1745         should be installed.  It is versioned separately from Lustre and
1746         may be released separately in future.
1747
1748 Severity   : minor
1749 Bugzilla   : 13147
1750 Description: block reactivating mgc import until all deactivates complete
1751 Details    : Fix race when failing back MDT/MGS to itself (testing)
1752
1753 Severity   : minor
1754 Frequency  : at statup only
1755 Bugzilla   : 12860
1756 Description: mds_lov_synchronize race leads to various problems
1757 Details    : simultaneous MDT->OST connections at startup can cause the
1758              sync to abort, leaving the OSC in a bad state.
1759
1760 Severity   : enhancement
1761 Bugzilla   : 12194
1762 Description: add optional extra BUILD_VERSION info
1763 Details    : add a new environment variable (namely LUSTRE_VERS) which allows
1764              to override the lustre version.
1765
1766 Severity   : normal
1767 Frequency  : 2.6.18 servers only
1768 Bugzilla   : 12546
1769 Description: ll_kern_mount() doesn't release the module reference
1770 Details    : The ldiskfs module reference count never drops down to 0
1771              because ll_kern_mount() doesn't release the module reference.
1772
1773 Severity   : normal
1774 Frequency  : rare
1775 Bugzilla   : 12470
1776 Description: server LBUG when using old ost_num_threads parameter
1777 Details    : Accept the old ost_num_threads parameter but warn that it
1778              is deprecated, and fix an off-by-one error that caused an LBUG.
1779
1780 Severity   : normal
1781 Frequency  : rare
1782 Bugzilla   : 11722
1783 Description: Transient SCSI error results in persistent IO issue
1784 Details    : iobuf->dr_error is not reinitialized to 0 between two
1785              uses.
1786
1787 Severity   : normal
1788 Frequency  : sometimes when underlying device returns I/O errors
1789 Bugzilla   : 11743
1790 Description: OSTs not going read-only during write failures
1791 Details    : OSTs are not remounted read-only when the journal commit threads
1792              get I/O errors because fsfilt_ext3 calls journal_start/stop()
1793              instead of the ext3 wrappers.
1794
1795 Severity   : minor
1796 Bugzilla   : 12364
1797 Description: poor connect scaling with increasing client count
1798 Details    : Don't run filter_grant_sanity_check for more than 100 exports
1799              to improve scaling for large numbers of clients.
1800
1801 Severity   : normal
1802 Frequency  : SLES10 only
1803 Bugzilla   : 12538
1804 Description: sanity-quota.sh quotacheck failed: rc = -22
1805 Details    : Quotas cannot be enabled on SLES10.
1806
1807 Severity   : normal
1808 Frequency  : liblustre clients only
1809 Bugzilla   : 12229
1810 Description: getdirentries does not give error when run on compute nodes
1811 Details    : getdirentries does not fail when the size specified as an argument
1812              is too small to contain at least one entry
1813
1814 Severity   : enhancement
1815 Bugzilla   : 11548
1816 Description: Add LNET router traceability for debug purposes
1817 Details    : If a checksum failure occurs with a router as part of the
1818              IO path, the NID of the last router that forwarded the bulk data
1819              is printed so it can be identified.
1820
1821 Severity   : normal
1822 Frequency  : rare
1823 Bugzilla   : 11315
1824 Description: OST "spontaneously" evicts client; client has imp_pingable == 0
1825 Details    : Due to a race condition, liblustre clients were occasionally
1826              evicted incorrectly.
1827
1828 Severity   : enhancement
1829 Bugzilla   : 10997
1830 Description: lfs setstripe use optional parameters instead of postional
1831              parameters.
1832
1833 Severity   : enhancement
1834 Bugzilla   : 10651
1835 Description: Nanosecond timestamp support for ldiskfs
1836 Details    : The on-disk ldiskfs filesystem has added support for nanosecond
1837              resolution timestamps.  There is not yet support for this at
1838              the Lustre filesystem level.
1839
1840 Severity   : normal
1841 Frequency  : during server recovery
1842 Bugzilla   : 11203
1843 Description: MDS failing to send precreate requests due to OSCC_FLAG_RECOVERING
1844 Details    : request with rq_no_resend flag not awake l_wait_event if they get a
1845              timeout.
1846
1847 Severity   : minor
1848 Frequency  : nfs export on patchless client
1849 Bugzilla   : 11970
1850 Description: connectathon hang when test nfs export over patchless client
1851 Details    : Disconnected dentry cannot be found with lookup, so we do not need
1852              to unhash it or make it invalid
1853
1854 Bugzilla   : 11757
1855 Description: fix llapi_lov_get_uuids() to allow many OSTs to be returned
1856 Details:   : Change llapi_lov_get_uuids() to read the UUIDs from /proc instead
1857              of using an ioctl. This allows lfsck for > 160 OSTs to succeed.
1858
1859 Severity   : minor
1860 Frequency  : rare
1861 Bugzilla   : 11546
1862 Description: open req refcounting wrong on reconnect
1863 Details    : If reconnect happened between getting open reply from server and
1864              call to mdc_set_replay_data in ll_file_open, we will schedule
1865              replay for unreferenced request that we are about to free.
1866              Subsequent close will crash in variety of ways.
1867              Check that request is still eligible for replay in
1868              mdc_set_replay_data().
1869
1870 Severity   : minor
1871 Frequency  : rare
1872 Bugzilla   : 11512
1873 Description: disable writes to filesystem when reading health_check file
1874 Details    : the default for reading the health_check proc file has changed
1875              to NOT do a journal transaction and write to disk, because this
1876              can cause reads of the /proc file to hang and block HA state
1877              checking on a healthy but otherwise heavily loaded system.  It
1878              is possible to return to the previous behaviour during configure
1879              with --enable-health-write.
1880
1881 Severity   : enhancement
1882 Bugzilla   : 10768
1883 Description: 64-bit inode version
1884 Details:   : Add a on-disk 64-bit inode version for ext3 to track changes made
1885              to the inode. This will be required for version-based recovery.
1886
1887 Severity   : normal
1888 Frequency  : rare
1889 Bugzilla   : 11818
1890 Description: MDS fails to start if a duplicate client export is detected
1891 Details    : in some rare cases it was possible for a client to connect to
1892              an MDS multiple times.  Upon recovery the MDS would detect this
1893              and fail during startup.  Handle this more gracefully.
1894
1895 Severity   : enhancement
1896 Bugzilla   : 11563
1897 Description: Add -o localflock option to simulate  old noflock
1898 behaviour.
1899 Details    : This will achieve local-only flock/fcntl locks
1900              coherentness.
1901
1902 Severity   : minor
1903 Frequency  : rare
1904 Bugzilla   : 11658
1905 Description: log_commit_thread vs filter_destroy race leads to crash
1906 Details    : Take import reference before releasing llog record semaphore
1907
1908 Severity   : normal
1909 Frequency  : rare
1910 Bugzilla   : 12477
1911 Description: Wrong request locking in request set processing
1912 Details    : ptlrpc_check_set wrongly uses req->rq_lock for proctect add to
1913              imp_delayed_list, in this place should be used imp_lock.
1914
1915 Severity   : normal
1916 Frequency  : when reconnection
1917 Bugzilla   : 11662
1918 Description: Grant Leak when osc reconnect to OST
1919 Details    : When osc reconnect ost, OST(filter) should check whether it
1920              should grant more space to client by comparing fed_grant and
1921              cl_avail_grant, and return the granted space to client instead
1922              of "new granted" space, because client will call osc_init_grant
1923              to update the client grant space info.
1924
1925 Severity   : normal
1926 Frequency  : when client reconnect to OST
1927 Bugzilla   : 11662
1928 Description: Grant Leak when osc do resend and replay bulk write
1929 Details    : When osc reconnect to OST, OST(filter)should clear grant info of
1930              bulk write request, because the grant info while be sync between
1931              OSC and OST when reconnect, and we should ignore the grant info
1932              these of resend/replay write req.
1933
1934 Severity   : normal
1935 Frequency  : rare
1936 Bugzilla   : 11662
1937 Description: Grant space more than avaiable left space sometimes.
1938 Details    : When then OST is about to be full, if two bulk writing from
1939              different clients came to OST. Accord the avaliable space of the
1940              OST, the first req should be permitted, and the second one
1941              should be denied by ENOSPC. But if the seconde arrived before
1942              the first one is commited. The OST might wrongly permit second
1943              writing, which will cause grant space > avaiable space.
1944
1945 Severity   : normal
1946 Frequency  : when client is evicted
1947 Bugzilla   : 12371
1948 Description: Grant might be wrongly erased when osc is evicted by OST
1949 Details    : when the import is evicted by server, it will fork another
1950              thread ptlrpc_invalidate_import_thread to invalidate the
1951              import, where the grant will be set to 0.  While the original
1952              thread will update the grant it got when connecting. So if
1953              the former happened latter, the grant will be wrongly errased
1954              because of this race.
1955
1956 Severity   : normal
1957 Frequency  : rare
1958 Bugzilla   : 12401
1959 Description: Checking Stale with correct fid
1960 Details    : ll_revalidate_it should uses de_inode instead of op_data.fid2
1961              to check whether it is stale, because sometimes, we want the
1962              enqueue happened anyway, and op_data.fid2 will not be initialized.
1963
1964 Severity   : enhancement
1965 Bugzilla   : 11647
1966 Description: update patchless client
1967 Details    : Add support for patchless client with 2.6.20, 2.6.21 and RHEL 5
1968
1969 Severity   : normal
1970 Frequency  : only with 2.4 kernel
1971 Bugzilla   : 12134
1972 Description: random memory corruption
1973 Details    : size of struct ll_inode_info is to big for union inode.u and this
1974              can be cause of random memory corruption.
1975
1976 Severity   : normal
1977 Frequency  : rare
1978 Bugzilla   : 10818
1979 Description: Memory leak in recovery
1980 Details    : Lov_mds_md was not free in an error handler in mds_create_object.
1981              It should also check obd_fail before fsfilt_start, otherwise if
1982              fsfilt_start return -EROFS,(failover mds during mds recovery).
1983              then the req will return with repmsg->transno = 0 and rc = EROFS.
1984              and we met hit the assert LASSERT(req->rq_reqmsg->transno ==
1985              req->rq_repmsg->transno) in ptlrpc_replay_interpret.  Fcc should
1986              be freed no matter whether fsfilt_commit success or not.
1987
1988 Severity   : minor
1989 Frequency  : only with huge count clients
1990 Bugzilla   : 11817
1991 Description: Prevents from taking the superblock lock in llap_from_page for
1992              a soon died page.
1993 Details    : using LL_ORIGIN_REMOVEPAGE origin flag instead of LL_ORIGIN_UNKNOW
1994              for llap_from_page call in ll_removepage prevents from taking the
1995              superblock lock for a soon died page.
1996
1997 Severity   : normal
1998 Frequency  : rare
1999 Bugzilla   : 11935
2000 Description: Not check open intent error before release open handle
2001 Details    : in some rare cases, the open intent error is not checked before
2002              release open handle, which may cause
2003              ASSERTION(open_req->rq_transno != 0), because it tries to release
2004              the failed open handle.
2005
2006 Severity   : normal
2007 Frequency  : rare
2008 Bugzilla   : 12556
2009 Description: Set cat log bitmap only after create log success.
2010 Details    : in some rare cases, the cat log bitmap is set too early. and it
2011              should be set only after create log success.
2012
2013 Severity   : major
2014 Bugzilla   : 11971
2015 Description: Accessing a block bevice can re-enable I/O when Lustre is
2016              tearing down a device.
2017 Details    : dev_clear_rdonly(bdev) must be called in kill_bdev() instead of
2018              blkdev_put().
2019
2020 Severity   : minor
2021 Bugzilla   : 11706
2022 Description: service threads may hog cpus when there are a lot of requests
2023 Details    : Insert cond_resched to give other threads a chance to use some CPU
2024
2025 Severity   : normal
2026 Frequency  : rare
2027 Bugzilla   : 12086
2028 Description: the cat log was not initialized in recovery
2029 Details    : When mds(mgs) do recovery, the tgt_count might be zero, so the
2030              unlink log on mds will not be initialized until mds post
2031              recovery. And also in mds post recovery, the unlink log will
2032              initialization will be done asynchronausly, so there will be race
2033              between add unlink log and unlink log initialization.
2034
2035 Severity   : normal
2036 Bugzilla   : 12597
2037 Description: brw_stats were being printed incorrectly
2038 Details    : brw_stats were being printed as log2 but all of them were not
2039              recorded as log2. Also remove some code duplication arising from
2040              filter_tally_{read,write}.
2041
2042 Severity   : normal
2043 Bugzilla   : 11674
2044 Frequency  : rare, only in recovery.
2045 Description: ASSERTION(req->rq_type != LI_POISON) failed
2046 Details    : imp_lock should be held while iterating over imp_sending_list for
2047              prevent destroy request after get timeout in ptlrpc_queue_wait.
2048
2049 Severity   : normal
2050 Bugzilla   : 12689
2051 Description: replay-single.sh test 52 fails
2052 Details    : A lock's skiplist need to be cleanup when it being unlinked
2053              from its resource list.
2054
2055 Severity   : normal
2056 Bugzilla   : 11737
2057 Description: Short directio read returns full requested size rather than
2058              actual amount read.
2059 Details    : Direct I/O operations should return actual amount of bytes
2060              transferred rather than requested size.
2061
2062 Severity   : enhancement
2063 Bugzilla   : 10589
2064 Description: metadata RPC reduction (e.g. for rm performance)
2065 Details    : decrease the amount of synchronous RPC between clients and servers
2066              by canceling conflicing lock before the operation on the client
2067              and packing thier handles into the main operation RPC to server.
2068
2069 Severity   : enhancement
2070 Bugzilla   : 4900
2071 Description: Async OSC create to avoid the blocking unnecessarily.
2072 Details    : If a OST has no remain object, system will block on the creating
2073              when need to create a new object on this OST. Now, ways use
2074              pre-created objects when available, instead of blocking on an
2075              empty osc while others are not empty.  If we must block, we block
2076              for the shortest possible period of time.
2077
2078 Severity   : major
2079 Bugzilla   : 11710
2080 Description: improve handling recoverable errors
2081 Details    : if request processig with error which can be recoverable on server
2082              request should be resend, otherwise page released from cache and
2083              marked as error.
2084
2085 Severity   : enhancement
2086 Bugzilla   : 12702
2087 Description: refine locking for avoid write wrong info into lov_objid file
2088 Details    : fix possible races with add new target and write/update data in
2089              lov_objid file.
2090
2091 --------------------------------------------------------------------------------
2092
2093 2007-05-03  Cluster File Systems, Inc. <info@clusterfs.com>
2094        * version 1.6.0.1
2095        * bug fixes
2096
2097 Severity   : normal
2098 Frequency  : on some architectures
2099 Bugzilla   : 12404
2100 Description: 1.6 client sometimes fails to mount from a 1.4 MDT
2101 Details    : Uninitialized flags sometimes cause configuration commands to
2102              be skipped.
2103
2104 Severity   : normal
2105 Frequency  : patchless clients only
2106 Bugzilla   : 12391
2107 Description: missing __iget() symbol export
2108 Details    : The __iget() symbol export is missing.  To avoid the need for
2109              this on patchless clients the deathrow inode reaper is turned
2110              off, and we depend on the VM to clean up old inodes.  This
2111              dependency was during via the fix for bug 12181.
2112         
2113 --------------------------------------------------------------------------------
2114
2115 2007-04-19  Cluster File Systems, Inc. <info@clusterfs.com>
2116        * version 1.6.0
2117        * CONFIGURATION CHANGE.  This version of Lustre WILL NOT
2118          INTEROPERATE with older versions automatically.  In many cases a
2119          special upgrade step is needed. Please read the
2120          user documentation before upgrading any part of a live system.
2121        * WIRE PROTOCOL CHANGE from previous 1.6 beta versions.  This
2122          version will not interoperate with 1.6 betas before beta5 (1.5.95).
2123        * WARNING: Lustre configuration and startup changes are required with
2124          this release.  See https://mail.clusterfs.com/wikis/lustre/MountConf
2125          for details.
2126        * bug fixes
2127
2128 Severity   : enhancement
2129 Bugzilla   : 8007
2130 Description: MountConf
2131 Details    : Lustre configuration is now managed via mkfs and mount
2132              commands instead of lmc and lconf.  New obd types (MGS, MGC)
2133              are added for dynamic configuration management.  See
2134              https://mail.clusterfs.com/wikis/lustre/MountConf for
2135              details.
2136
2137 Severity   : enhancement
2138 Bugzilla   : 4482
2139 Description: dynamic OST addition
2140 Details    : OSTs can now be added to a live filesystem
2141
2142 Severity   : enhancement
2143 Bugzilla   : 9851
2144 Description: startup order invariance
2145 Details    : MDTs and OSTs can be started in any order.  Clients only
2146              require the MDT to complete startup.
2147         
2148 Severity   : enhancement
2149 Bugzilla   : 4899
2150 Description: parallel, asynchronous orphan cleanup
2151 Details    : orphan cleanup is now performed in separate threads for each
2152              OST, allowing parallel non-blocking operation.
2153
2154 Severity   : enhancement
2155 Bugzilla   : 9862
2156 Description: optimized stripe assignment
2157 Details    : stripe assignments are now made based on ost space available,
2158              ost previous usage, and OSS previous usage, in order to try
2159              to optimize storage space and networking resources.
2160         
2161 Severity   : enhancement
2162 Bugzilla   : 4226
2163 Description: Permanently set tunables
2164 Details    : All writable /proc/fs/lustre tunables can now be permanently
2165              set on a per-server basis, at mkfs time or on a live system.
2166         
2167 Severity   : enhancement
2168 Bugzilla   : 10547
2169 Description: Lustre message v2
2170 Details    : Add lustre message format v2.
2171
2172 Severity   : enhancement
2173 Bugzilla   : 9866
2174 Description: client OST exclusion list
2175 Details    : Clients can be started with a list of OSTs that should be
2176              declared "inactive" for known non-responsive OSTs.
2177
2178 Severity   : minor
2179 Bugzilla   : 6062
2180 Description: SPEC SFS validation failure on NFS v2 over lustre.
2181 Details    : Changes the blocksize for regular files to be 2x RPC size,
2182              and not depend on stripe size.
2183         
2184 Severity   : enhancement
2185 Bugzilla   : 9293
2186 Description: Multiple MD RPCs in flight.
2187 Details    : Further unserialise some read-only MDS RPCs - learn about intents.
2188              To avoid overly-overloading MDS, introduce a limit on number of
2189              MDS RPCs in flight for a single client and add /proc controls
2190              to adjust this limit.
2191
2192 Severity   : enhancement
2193 Bugzilla   : 22484
2194 Description: client read/write statistics
2195 Details    : Add client read/write call usage stats for performance
2196              analysis of user processes.
2197              /proc/fs/lustre/llite/*/offset_stats shows non-sequential
2198              file access. extents_stats shows chunk size distribution.
2199              extents_stats_per_process show chunk size distribution per
2200              user process.
2201
2202 Severity   : enhancement
2203 Bugzilla   : 22486
2204 Description: mds statistics
2205 Details    : Add detailed mds operations statistics in
2206              /proc/fs/lustre/mds/*/stats.
2207
2208 Severity   : minor
2209 Bugzilla   : 10667
2210 Description: Failure of copying files with lustre special EAs.
2211 Details    : Client side always return success for setxattr call for lustre
2212              special xattr (currently only "trusted.lov").
2213
2214 Severity   : minor
2215 Frequency  : always
2216 Bugzilla   : 10345
2217 Description: Refcount LNET uuids
2218 Details    : The global LNET uuid list grew linearly with every startup;
2219              refcount repeated list entries instead of always adding to
2220              the list.
2221
2222 Severity   : enhancement
2223 Bugzilla   : 2258
2224 Description: Dynamic service threads
2225 Details    : Within a small range, start extra service threads
2226              automatically when the request queue builds up.
2227
2228 Severity   : major
2229 Frequency  : mixed-endian client/server environments
2230 Bugzilla   : 11214
2231 Description: mixed-endian crashes
2232 Details    : The new msg_v2 system had some failures in mixed-endian
2233              environments.
2234
2235 Severity   : enhancement
2236 Bugzilla   : 11229
2237 Description: Easy OST removal
2238 Details    : OSTs can be permanently deactivated with e.g. 'lctl
2239              conf_param lustre-OST0001.osc.active=0'
2240
2241 Severity   : enhancement
2242 Bugzilla   : 11335
2243 Description: MGS proc entries
2244 Details    : Added basic proc entries for the MGS showing what filesystems
2245              are served.
2246
2247 Severity   : enhancement
2248 Bugzilla   : 10998
2249 Description: provide MGS failover
2250 Details    : Added config lock reacquisition after MGS server failover.
2251
2252 Severity   : enhancement
2253 Bugzilla   : 11461
2254 Description: add Linux 2.4 support
2255 Details    : Added support for RHEL 2.4.21 kernel for 1.6 servers and clients
2256
2257 Severity   : normal
2258 Bugzilla   : 11330
2259 Description: a large application tries to do I/O to the same resource and dies
2260              in the middle of it.
2261 Details    : Check the req->rq_arrival time after the call to
2262              ost_brw_lock_get(), but before we do anything about
2263              processing it & sending the BULK transfer request. This
2264              should help move old stale pending locks off the queue as
2265              quickly as obd_timeout.
2266
2267 Severity   : major
2268 Frequency  : when an incorrect nid is specified during startup
2269 Bugzilla   : 10734
2270 Description: ptlrpc connect to non-existant node causes kernel crash
2271 Details    : LNET can't be re-entered from an event callback, which
2272              happened when we expire a message after the export has been
2273              cleaned up.  Instead, hand the zombie cleanup off to another
2274              thread.
2275
2276 Severity   : enhancement
2277 Bugzilla   : 10902
2278 Description: plain/inodebits lock performance improvement
2279 Details    : Grouping plain/inodebits in granted list by their request modes
2280              and bits policy, thus improving the performance of search through
2281              the granted list.
2282
2283 Severity   : major
2284 Frequency  : only if OST filesystem is corrupted
2285 Bugzilla   : 9829
2286 Description: client incorrectly hits assertion in ptlrpc_replay_req()
2287 Details    : for a short time RPCs with bulk IO are in the replay list,
2288              but replay of bulk IOs is unimplemented.  If the OST filesystem
2289              is corrupted due to disk cache incoherency and then replay is
2290              started it is possible to trip an assertion.  Avoid putting
2291              committed RPCs into the replay list at all to avoid this issue.
2292
2293 Severity   : major
2294 Frequency  : liblustre (e.g. catamount) on a large cluster with >= 8 OSTs/OSS
2295 Bugzilla   : 11684
2296 Description: System hang on startup
2297 Details    : This bug allowed the liblustre (e.g. catamount) client to
2298              return to the app before handling all startup RPCs.  This
2299              could leave the node unresponsive to lustre network traffic
2300              and manifested as a server ptllnd timeout.
2301
2302 Severity   : enhancement
2303 Bugzilla   : 11667
2304 Description: Add "/proc/sys/lustre/debug_peer_on_timeout"
2305 Details    : liblustre envirable: LIBLUSTRE_DEBUG_PEER_ON_TIMEOUT
2306              boolean to control whether to print peer debug info when a
2307              client's RPC times out.
2308
2309 Severity   : minor
2310 Frequency  : only for kernels with patches from Lustre below 1.4.3
2311 Bugzilla   : 11248
2312 Description: Remove old rdonly API
2313 Details    : Remove old rdonly API which unused from at least lustre 1.4.3
2314
2315 Severity   : major
2316 Frequency  : only for devices with external journals
2317 Bugzilla   : 10719
2318 Description: Set external device read-only also
2319 Details    : During a commanded failover stop, we set the disk device
2320              read-only while the server shuts down. We now also set any
2321              external journal device read-only at the same time.
2322
2323 Severity   : minor
2324 Frequency  : when upgrading from 1.4 while trying to change parameters
2325 Bugzilla   : 11692
2326 Description: The wrong (new) MDC name was used when setting parameters for
2327              upgraded MDT's.  Also allows changing of OSC (and MDC)
2328              parameters if --writeconf is specified at tunefs upgrade time.
2329
2330 Severity   : major
2331 Frequency  : when setting specific ost indicies
2332 Bugzilla   : 11149
2333 Description: QOS code breaks on skipped indicies
2334 Details    : Add checks for missing OST indicies in the QOS code, so OSTs
2335              created with --index need not be sequential.
2336
2337 Severity   : enhancement
2338 Bugzilla   : 11264
2339 Description: Add uninit_groups feature to ldiskfs2 to speed up e2fsck
2340 Details    : The uninit_groups feature works in conjunction with the kernel
2341              filesystem code (ldiskfs2 only) and e2fsprogs-1.39-cfs6 to speed
2342              up the pass1 processing of e2fsck.  This is a read-only feature
2343              in ldiskfs2 only, so older kernels and current ldiskfs cannot
2344              mount filesystems that have had this feature enabled.
2345
2346 Severity   : enhancement
2347 Bugzilla   : 10816
2348 Description: Improve multi-block allocation algorithm to avoid fragmentation
2349 Details    : The mballoc3 code (ldiskfs2 only) adds new mechanisms to improve
2350              allocation locality and avoid filesystem fragmentation.
2351
2352 ------------------------------------------------------------------------------
2353
2354 2007-04-01  Cluster File Systems, Inc. <info@clusterfs.com>
2355        * version 1.4.10
2356        * Support for kernels:
2357         2.4.21-47.0.1.EL (RHEL 3)
2358         2.6.5-7.283 (SLES 9)
2359         2.6.9-42.0.10.EL (RHEL 4)
2360         2.6.12.6 vanilla (kernel.org)
2361         2.6.16.27-0.9 (SLES 10)
2362        * Recommended e2fsprogs version: 1.39.cfs5
2363
2364        * Note that reiserfs quotas are disabled on SLES 10 in this kernel
2365        * bug fixes
2366
2367 Severity   : critical
2368 Frequency  : occasional, depends on client load and configuration
2369 Bugzilla   : 12181, 12203
2370 Description: data loss for recently-modified files
2371 Introduced : 1.4.6
2372 Details    : In some cases it is possible that recently written or created
2373              files may not be written to disk in a timely manner (this should
2374              normally be within 30s unless client IO load is very high).
2375              The problem appears as zero-length files or files that are a
2376              multiple of 1MB in size after a client crash or client eviction
2377              that are missing data at the end of the file.
2378
2379              This problem is more likely to be hit on clients where files are
2380              repeatedly created and unlinked in the same directory, clients
2381              have a large amount of RAM, have many CPUs, the filesystem has
2382              many OSTs, the clients are rebooted frequently, and/or the files
2383              are not accessed by other nodes after being written.
2384
2385              The presence of the problem can be detected by looking at
2386              /proc/sys/fs/inode-state.  If the first number (nr_inodes) is
2387              smaller than the second (nr_unused) then dirty files will not
2388              be flushed automatically to disk.  "sync; sleep 10" should be
2389              run several times on the node before unmounting it to update
2390              Lustre (this is also safe to run on nodes without this problem).
2391
2392              There is also a related kernel bug in the RHEL4 4 2.6.9 kernel
2393              that can cause this same problem, so customers using that kernel
2394              also need to update the kernel in addition to Lustre.  In order
2395              to properly fix this bug, the RHEL3 2.4.21 kernel is also updated.
2396
2397              It is normal that files written just before a client crash (less
2398              than 30s) may not yet have been flushed to disk, even for local
2399              filesystems.
2400
2401 Severity   : normal
2402 Frequency  : frequent on thin XT3 nodes
2403 Bugzilla   : 10802
2404 Description: UUID collision on thin XT3 Linux nodes
2405 Details    : UUIDs on Compute Node Linux XT3 nodes were not generated
2406              randomly, since we relied on an insufficiently-seeded PRNG.
2407
2408 Severity   : normal
2409 Frequency  : rare
2410 Bugzilla   : 11693
2411 Description: OSS hangs after "All ost request buffers busy"
2412 Details    : A deadlock between quota and journal operations caused OSS
2413              hangs after printing "All ost request buffers busy."
2414
2415 Severity   : minor
2416 Frequency  : always on liblustre builds
2417 Bugzilla   : 11175
2418 Description: Cleanup compiler warnings on liblustre
2419
2420 Severity   : minor
2421 Frequency  : always on liblustre builds on XT3
2422 Bugzilla   : 12146
2423 Description: LC_CONFIG_CDEBUG don't run while build liblustre on XT3.
2424
2425 Frequency  : always
2426 Bugzilla   : 3244
2427 Description: Addition of EXT3_FEATURE_RO_COMPAT_DIR_NLINKS flag for
2428              > 32000 subdirectories
2429 Details    : Add EXT3_FEATURE_RO_COMPAT_DIR_NLINK flag to
2430              EXT3_FEATURE_RO_COMPAT_SUPP. This flag will be set whenever
2431              subdirectory count crosses 32000. This will aid e2fsck to
2432              correctly handle more than 32000 subdirectories.
2433
2434 Severity   : major
2435 Frequency  : liblustre (e.g. catamount) on a large cluster with >= 8 OSTs/OSS
2436 Bugzilla   : 11684
2437 Description: System hang on startup
2438 Details    : This bug allowed the liblustre (e.g. catamount) client to
2439              return to the app before handling all startup RPCs.  This
2440              could leave the node unresponsive to lustre network traffic
2441              and manifested as a server ptllnd timeout.
2442
2443 Severity   : enhancement
2444 Bugzilla   : 11667
2445 Description: Add "/proc/sys/lustre/debug_peer_on_timeout"
2446              (liblustre envirable: LIBLUSTRE_DEBUG_PEER_ON_TIMEOUT)
2447              boolean to control whether to print peer debug info when a
2448              client's RPC times out.
2449
2450 Severity   : normal
2451 Frequency  : always
2452 Bugzilla   : 10214
2453 Description: make O_SYNC working on 2.6 kernels
2454 Details    : 2.6 kernels use different method for mark pages for write,
2455              so need add a code to lustre for O_SYNC work.
2456
2457 Severity   : minor
2458 Frequency  : always
2459 Bugzilla   : 11110
2460 Description: Failure to close file and release space on NFS
2461 Details    : Put inode details into lock acquired in ll_intent_file_open.
2462              Use mdc_intent_lock in ll_intent_open to properly
2463              detect all kind of errors unhandled by mdc_enqueue.
2464
2465 Severity   : major
2466 Frequency  : rare
2467 Bugzilla   : 10866
2468 Description: proc file read during shutdown sometimes raced obd removal,
2469              causing node crash
2470 Details    : Add lock to prevent obd access after proc file removal.
2471
2472 Severity   : normal
2473 Frequency  : Only for files larger than 4GB on 32-bit clients.
2474 Bugzilla   : 11237
2475 Description: improperly doing page alignment of locks
2476 Details    : Modify lustre core code to use CFS_PAGE_* defines instead of
2477              PAGE_*.  Make CFS_PAGE_MASK a 64-bit mask.
2478
2479 Severity   : normal
2480 Frequency  : rarely
2481 Bugzilla   : 11203
2482 Description: RPCs being resent when they shouldn't be
2483 Details    : Some RPCs that should not be resent are being resent.  This
2484              can cause inconsistencies in the RPC state machine.  Do not
2485              resend such requests.
2486
2487 Severity   : normal
2488 Frequency  : rare, only with NFS export
2489 Bugzilla   : 11669
2490 Description: Crash on NFS re-export node
2491 Details    : under very unusual load conditions an assertion is hit in
2492              ll_intent_file_open()
2493
2494 Severity   : major
2495 Frequency  : only if OST filesystem is corrupted
2496 Bugzilla   : 9829
2497 Description: client incorrectly hits assertion in ptlrpc_replay_req()
2498 Details    : for a short time RPCs with bulk IO are in the replay list,
2499              but replay of bulk IOs is unimplemented.  If the OST filesystem
2500              is corrupted due to disk cache incoherency and then replay is
2501              started it is possible to trip an assertion.  Avoid putting
2502              committed RPCs into the replay list at all to avoid this issue.
2503
2504 Severity   : normal
2505 Frequency  : always
2506 Bugzilla   : 10901
2507 Description: large O_DIRECT requests fail under memory pressure/fragmentation
2508 Details    : Large single O_DIRECT read and write calls can fail to allocate
2509              a sufficiently large buffer to process the request.  In case of
2510              allocation failure the allocation is retried with a smaller
2511              buffer and broken into smaller requests.
2512
2513 Severity   : enhancement
2514 Bugzilla   : 11563
2515 Description: Add -o localflock option to simulate  old noflock behaviour.
2516 Details    : This will achieve local-only flock/fcntl locks coherentness.
2517
2518 Severity   : normal
2519 Frequency  : always
2520 Bugzilla   : 11090
2521 Description: versioning check is incomplete
2522 Details    : Checking the version difference of client vs. server, report
2523              error if the gap is too big.
2524
2525 Severity   : major
2526 Bugzilla   : 11710
2527 Frequency  : always
2528 Description: add support PG_writeback bit
2529 Details    : add support for PG_writeback bit for Lustre, for more carefull
2530              work with page cache in 2.6 kernel. This also fix some deadlocks
2531              and remove hack for work O_SYNC with 2.6 kernel.
2532
2533 Severity   : enhancement
2534 Bugzilla   : 11264
2535 Description: Add uninit_groups feature to ldiskfs2 to speed up e2fsck
2536 Details    : The uninit_groups feature works in conjunction with the kernel
2537              filesystem code (ldiskfs2 only) and e2fsprogs-1.39-cfs6 to speed
2538              up the pass1 processing of e2fsck.  This is a read-only feature
2539              in ldiskfs2 only, so older kernels and current ldiskfs cannot
2540              mount filesystems that have had this feature enabled.
2541
2542 Severity   : enhancement
2543 Bugzilla   : 10816
2544 Description: Improve multi-block allocation algorithm to avoid fragmentation
2545 Details    : The mballoc3 code (ldiskfs2 only) adds new mechanisms to improve
2546              allocation locality and avoid filesystem fragmentation.
2547
2548 ------------------------------------------------------------------------------
2549
2550 2007-02-09  Cluster File Systems, Inc. <info@clusterfs.com>
2551        * version 1.4.9
2552        * Support for kernels:
2553         2.6.9-42.0.3.EL (RHEL 4)
2554         2.6.5-7.276 (SLES 9)
2555         2.4.21-47.0.1.EL (RHEL 3)
2556         2.6.12.6 vanilla (kernel.org)
2557         2.6.16.21-0.8 (SLES10)
2558        * Recommended e2fsprogs version: 1.39.cfs2-0
2559
2560        * The backwards-compatible /proc/sys/portals symlink has been removed
2561          in this release.  Before upgrading, please ensure that you change
2562          any configuration scripts or /etc/sysctl.conf files that access
2563          /proc/sys/portals/* or sysctl portals.* to use the corresponding
2564          entry in /proc/sys/lnet or sysctl lnet.*.  This change can be made
2565          in advance of the upgrade on any system running Lustre 1.4.6 or
2566          newer, since /proc/sys/lnet was added in that version.
2567        * Note that reiserfs quotas are disabled on SLES 10 in this kernel
2568        * bug fixes
2569
2570 Severity   : minor
2571 Frequency  : only when quota is used
2572 Bugzilla   : 11286
2573 Description: avoid scanning export list for quota master
2574 Details    : Change the algorithms to avoid scanning export list in order
2575              to improve the efficiency.
2576
2577 Severity   : critical
2578 Frequency  : MDS failover only, very rarely
2579 Bugzilla   : 11125
2580 Description: "went back in time" messages on mds failover
2581 Details    : The greatest transno may be lost when the current operation
2582              finishes with an error (transno==0) and the client's last_rcvd
2583              record is over-written. Save the greatest transno in the
2584              mds_last_transno for this case.
2585
2586 Severity   : minor
2587 Frequency  : always for specific kernels and striping counts
2588 Bugzilla   : 11042
2589 Description: client may get "Matching packet too big" without ACL support
2590 Details    : Clients compiled without CONFIG_FS_POSIX_ACL get an error message
2591              when trying to access files in certain configurations.  The
2592              clients should in fact be denied when mounting because they do
2593              not understand ACLs.
2594
2595 Severity   : major
2596 Frequency  : Cray XT3 with more than 4000 clients and multiple jobs
2597 Bugzilla   : 10906
2598 Description: many clients connecting with IO in progress causes connect timeouts
2599 Details    : Avoid synchronous journal commits to avoid delays caused by many
2600              clients connecting/disconnecting when bulk IO is in progress.
2601              Queue liblustre connect requests on OST_REQUEST_PORTAL instead of
2602              OST_IO_PORTAL to avoid delays behind potentially many pending
2603              slow IO requests.
2604
2605 Severity   : normal
2606 Frequency  : occasionally with multiple writers to a single file
2607 Bugzilla   : 11081
2608 Description: shared writes to file may result in wrong size reported by stat()
2609 Details    : Allow growing of kms when extent lock is cancelled
2610
2611 Severity   : minor
2612 Frequency  : always with random mmap IO to multi-striped file
2613 Bugzilla   : 10919
2614 Description: mmap write might be lost if we are writing to a 'hole' in stripe
2615 Details    : Only if the hole is at the end of OST object so that kms is too
2616              small. Fix is to increase kms accordingly in ll_nopage.
2617
2618 Severity   : normal
2619 Frequency  : rare, only if OST filesystem is inconsistent with MDS filesystem
2620 Bugzilla   : 11211
2621 Description: writes to a missing object would leak memory on the OST
2622 Details    : If there is an inconsistency between the MDS and OST filesystems,
2623              such that the MDS references an object that doesn't exist, writes
2624              to that object will leak memory due to incorrect cleanup in the
2625              error handling path, eventually running out of memory on the OST.
2626
2627 Severity   : minor
2628 Frequency  : rare
2629 Bugzilla   : 11040
2630 Description: Creating too long symlink causes lustre errors
2631 Details    : Check symlink and name lengths before sending requests to MDS.
2632
2633 Severity   : normal
2634 Frequency  : only if flock is enabled (not on by default)
2635 Bugzilla   : 11415
2636 Description: posix locks not released on fd closure on 2.6.9+
2637 Details    : We failed to add posix locks to list of inode locks on 2.6.9+
2638              kernels, this caused such locks not to be released on fd close and
2639              then assertions on fs unmount about still used locks.
2640
2641 Severity   : minor
2642 Frequency  : MDS failover only, very rarely
2643 Bugzilla   : 11277
2644 Description: clients may get ASSERTION(granted_lock != NULL)
2645 Details    : When request was taking a long time, and a client was resending
2646              a getattr by name lock request. The were multiple lock requests
2647              with the same client lock handle and
2648              mds_getattr_name->fixup_handle_for_resent_request found one of the
2649              lock handles but later failed with ASSERTION(granted_lock != NULL).
2650
2651 Severity   : major
2652 Frequency  : rare
2653 Bugzilla   : 10891
2654 Description: handle->h_buffer_credits > 0, assertion failure
2655 Details    : h_buffer_credits is zero after truncate, causing assertion
2656              failure.  This patch extends the transaction or creates a new
2657              one after truncate.
2658
2659 Severity   : normal
2660 Frequency  : NFS re-export or patchless client
2661 Bugzilla   : 11179, 10796
2662 Description: Crash on NFS re-export node (__d_move)
2663 Details    : We do not want to hash the dentry if we don't have a lock.
2664              But if this dentry is later used in d_move, we'd hit uninitialised
2665              list head d_hash, so we just do this to init d_hash field but
2666              leave dentry unhashed.
2667
2668 Severity   : normal
2669 Frequency  : NFS re-export or patchless client
2670 Bugzilla   : 11135
2671 Description: NFS exports has problem with symbolic link
2672 Details    : lustre client didn't properly install dentry when re-exported
2673              to NFS or running patchless client.
2674
2675 Severity   : normal
2676 Frequency  : NFS re-export or patchless client
2677 Bugzilla   : 10796
2678 Description: Various nfs/patchless fixes.
2679 Details    : fixes reuse disconected alias for lookup process - this fixes
2680              warning "find_exported_dentry: npd != pd",
2681              fix permission error with open files at nfs.
2682              fix apply umask when do revalidate.
2683
2684 Severity   : normal
2685 Frequency  : occasional
2686 Bugzilla   : 11191
2687 Description: Crash on NFS re-export node
2688 Details    : calling clear_page() on the wrong pointer triggered oops in
2689              generic_mapping_read().
2690
2691 Severity   : normal
2692 Frequency  : rarely, using O_DIRECT IO
2693 Bugzilla   : 10903
2694 Description: unaligned directio crashes client with LASSERT
2695 Details    : check for unaligned buffers before trying any requests.
2696
2697 Severity   : major
2698 Frequency  : rarely, using CFS RAID5 patches in non-standard kernel series
2699 Bugzilla   : 11313
2700 Description: stale data returned from RAID cache
2701 Details    : If only a small amount of IO is done to the RAID device before
2702              reading it again it is possible to get stale data from the RAID
2703              cache instead of reading it from disk.
2704
2705 Severity   : normal
2706 Frequency  : always for sles10 kernel
2707 Bugzilla   : 10947
2708 Description: sles10 support
2709 Details    : ll_follow_link: compile fixes and using of nd_set_link
2710              under newer kernels.
2711
2712 Severity   : major
2713 Frequency  : depends on arch, kernel and compiler version, always on sles10
2714              kernel and x86_64
2715 Bugzilla   : 11562
2716 Description: recursive or deep enough symlinks cause stack overflow
2717 Details    : getting rid of large stack-allocated variable in
2718              __vfs_follow_link
2719
2720 Severity   : minor
2721 Frequency  : depends on hardware
2722 Bugzilla   : 11540
2723 Description: lustre write performance loss in the SLES10 kernel
2724 Details    : the performance loss is caused by using of write barriers in the
2725              ext3 code. The SLES10 kernel turns barrier support on by
2726              default. The fix is to undo that change for ldiskfs.
2727
2728 ------------------------------------------------------------------------------
2729
2730 2006-12-09  Cluster File Systems, Inc. <info@clusterfs.com>
2731        * version 1.4.8
2732        * Support for kernels:
2733         2.6.9-42.0.3EL (RHEL 4)
2734         2.6.5-7.276 (SLES 9)
2735         2.4.21-47.0.1.EL (RHEL 3)
2736         2.6.12.6 vanilla (kernel.org)
2737        * bug fixes
2738
2739 Severity   : major
2740 Frequency  : quota enabled and large files being deleted
2741 Bugzilla   : 10707
2742 Description: releasing more than 4GB of quota at once hangs OST
2743 Details    : If a user deletes more than 4GB of files on a single OST it
2744              will cause the OST to spin in an infinite loop.  Release
2745              quota in < 4GB chunks, or use a 64-bit value for 1.4.7.1+.
2746
2747 Severity   : minor
2748 Frequency  : rare
2749 Bugzilla   : 10845
2750 Description: statfs data retrieved from /proc may be stale or zero
2751 Details    : When reading per-device statfs data from /proc, in the
2752              {kbytes,files}_{total,free,avail} files, it may appear
2753              as zero or be out of date.
2754
2755 Severity   : minor
2756 Frequency  : systems with MD RAID1 external journal devices
2757 Bugzilla   : 10832
2758 Description: lconf's call to blkid is confused by RAID1 journal devices
2759 Details    : Use the "blkid -l" flag to locate the MD RAID device instead
2760              of returning all block devices that match the journal UUID.
2761
2762 Severity   : normal
2763 Frequency  : always, for aggregate stripe size over 4GB
2764 Bugzilla   : 10725
2765 Description: "lfs setstripe" fails assertion when setting 4GB+ stripe width
2766 Details    : Using "lfs setstripe" to set stripe size * stripe count over 4GB
2767              will fail the kernel with "ASSERTION(lsm->lsm_xfersize != 0)"
2768
2769 Severity   : minor
2770 Frequency  : always if "lfs find" used on a local file/directory
2771 Bugzilla   : 10864
2772 Description: "lfs find" segfaults if used on a local file/directory
2773 Details    : The case where a directory component was not specified wasn't
2774              handled correctly.  Handle this properly.
2775
2776 Severity   : normal
2777 Frequency  : always on ppc64
2778 Bugzilla   : 10634
2779 Description: the write to an ext3 filesystem mounted with mballoc got stuck
2780 Details    : ext3_mb_generate_buddy() uses find_next_bit() which does not
2781              perform endianness conversion.
2782
2783 Severity   : major
2784 Frequency  : rarely (truncate to non-zero file size after write under load)
2785 Bugzilla   : 10730, 10687
2786 Description: Files padded with zeros to next 4K multiple
2787 Details    : With filesystems mounted using the "extents" option (2.6 kernels)
2788              it is possible that files that are truncated to a non-zero size
2789              immediately after being written are filled with zero bytes beyond
2790              the truncated size.  No file data is lost.
2791
2792 Severity   : enhancement
2793 Bugzilla   : 10452
2794 Description: Allow recovery/failover for liblustre clients.
2795 Details    : liblustre clients were unaware of failover configurations until
2796              now.
2797
2798 Severity   : enhancement
2799 Bugzilla   : 10743
2800 Description: user file locks should fail when not mounting with flock option
2801 Details    : Set up an error-returning stub in ll_file_operations.lock field
2802              to prevent incorrect behaviour when client is mounted without
2803              flock option. Also, set up properly f_op->flock field for
2804              RHEL4 kernels.
2805
2806 Severity   : minor
2807 Frequency  : always on ia64
2808 Bugzilla   : 10905
2809 Description: "lfs df" loops on printing out MDS statfs information
2810 Details    : The obd_ioctl_data was not initialized and in some systems
2811              this caused a failure during the ioctl that did not return
2812              an error.  Initialize the struct and return an error on failure.
2813
2814 Severity   : minor
2815 Frequency  : SLES 9 only
2816 Bugzilla   : 10667
2817 Description: Error of copying files with lustre special EAs as root
2818 Details    : Client side always return success for setxattr call for lustre
2819              special xattr (currently only "trusted.lov").
2820
2821 Severity   : normal
2822 Frequency  : rarely on clusters with both ia64+i386 clients
2823 Bugzilla   : 10672
2824 Description: ia64+i686 clients doing shared IO on the same file may LBUG
2825 Details    : In rare cases when both ia64+i686 (or other mixed-PAGE_SIZE)
2826              clients are doing concurrent writes to the same file it is
2827              possible that the ia64 clients may LASSERT because the OST
2828              extent locks are not PAGE_SIZE aligned.  Ensure that grown
2829              locks are always aligned on the request boundary.
2830
2831 Severity   : normal
2832 Frequency  : specific use, occasional
2833 Bugzilla   : 7040
2834 Description: Overwriting in use executable truncates on-disk binary image
2835 Details    : If one node attempts to overwrite an executable in use by
2836              another node, we now correctly return ETXTBSY instead of
2837              truncating the file.
2838
2839 Severity   : enhancement
2840 Bugzilla   : 4900
2841 Description: Async OSC create to avoid the blocking unnecessarily.
2842 Details    : If a OST has no remain object, system will block on the creating
2843              when need to create a new object on this OST. Now, ways use
2844              pre-created objects when available, instead of blocking on an
2845              empty osc while others are not empty.  If we must block, we block
2846              for the shortest possible period of time.
2847
2848 Severity   : normal
2849 Frequency  : rare
2850 Bugzilla   : 2707
2851 Description: chmod on Lustre root is propagated to other clients
2852 Details    : Re-validate root's dentry in ll_lookup_it to avoid having it
2853              invalid by the follow_mount time.
2854
2855 Severity   : minor
2856 Frequency  : liblustre clients only
2857 Bugzilla   : 10883
2858 Description: Race in 'instant cancel' lock handling could lead to such locks
2859              never to be granted in case of SMP MDS
2860 Details    : Do not destroy not yet granted but cbpending locks in
2861              handle_enqueue
2862
2863 Severity   : minor
2864 Frequency  : replay/resend of open
2865 Bugzilla   : 10991
2866 Description: non null lock assetion failure in mds_intent_policy
2867 Details    : Trying to replay/resend lockless open requests resulted in
2868              mds_open() returning 0 with no lock.  Now it sets a flag if
2869              a lock is going to be returned.
2870
2871 Severity   : enhancement
2872 Bugzilla   : 10889
2873 Description: Checksum enhancements
2874 Details    : New checksum enhancements allow for resending RPCs that failed
2875              checksum checks.
2876
2877 Severity   : enhancement
2878 Bugzilla   : 7376
2879 Description: Tunables on number of dirty pages in cacche
2880 Details    : Allow to set limit on number of dirty pages cached.
2881
2882 Severity   : normal
2883 Frequency  : rare
2884 Bugzilla   : 10643
2885 Description: client crash on unmount - lock still has references
2886 Details    : In some error handling cases it was possible to leak a lock
2887              reference on a client while accessing a file.  This was not
2888              harmful to the client during operation, but would cause the
2889              client to crash when the filesystem is unmounted.
2890
2891 Severity   : normal
2892 Frequency  : specific case, rare
2893 Bugzilla   : 10921
2894 Description: ETXTBSY on mds though file not in use by client
2895 Details    : ETXTBSY is no longer incorrectly returned when attempting to
2896              chmod or chown a directory that the user previously tried to
2897              execute or a currently-executing binary.
2898
2899 Severity   : major
2900 Frequency  : extremely rare except on liblustre-based clients
2901 Bugzilla   : 10480
2902 Description: Lustre space not freed when files are deleted
2903 Details    : Clean up open-unlinked files after client eviction.  Previously
2904              the unlink was skipped and the files remained as orphans.
2905
2906 Severity   : normal
2907 Frequency  : rare
2908 Bugzilla   : 10999
2909 Description: OST failure "would be an LBUG" in waiting_locks_callback()
2910 Details    : In some cases it was possible to send a blocking callback to
2911              a client doing a glimpse, even though that client didn't get
2912              a lock granted.  When the glimpse lock is cancelled on the OST
2913              the freed lock is left on the waiting list and corrupted the list.
2914
2915 Severity   : major
2916 Frequency  : all core dumps
2917 Bugzilla   : 11103
2918 Description: Broke core dumps to lustre
2919 Details    : Negative dentry may be unhashed if parent does not have UPDATE
2920              lock, but some callers, e.g. do_coredump, expect dentry to be
2921              hashed after successful create, hash it in ll_create_it.
2922
2923 ------------------------------------------------------------------------------
2924
2925 2006-09-13  Cluster File Systems, Inc. <info@clusterfs.com>
2926        * version 1.4.7.1
2927        * Support for kernels:
2928         2.6.9-42.0.2.EL (RHEL 4)
2929         2.6.5-7.276 (SLES 9)
2930         2.4.21-40.EL (RHEL 3)
2931         2.6.12.6 vanilla (kernel.org)
2932       * bug fix
2933
2934 Severity   : major
2935 Frequency  : always on RHEL 3
2936 Bugzilla   : 10867
2937 Description: Number of open files grows over time
2938 Details    : The number of open files grows over time, whether or not
2939              Lustre is started.  This was due to a filp leak introduced
2940              by one of our kernel patches.
2941
2942 ------------------------------------------------------------------------------
2943
2944 08-20-2006  Cluster File Systems, Inc. <info@clusterfs.com>
2945        * version 1.4.7
2946        * Support for kernels:
2947         2.6.9-42.EL (RHEL 4)
2948         2.6.5-7.276 (SLES 9)
2949         2.4.21-40.EL (RHEL 3)
2950         2.6.12.6 vanilla (kernel.org)
2951        * bug fixes
2952
2953 Severity   : major
2954 Frequency  : rare
2955 Bugzilla   : 5719, 9635, 9792, 9684
2956 Description: OST (or MDS) trips assertions in (re)connection under heavy load
2957 Details    : If a server is under heavy load and cannot reply to new
2958              connection requests before the client resends the (re)connect,
2959              the connection handling code can behave badly if two service
2960              threads are concurrently handing separate (re)connections from
2961              the same client.  Add better locking to the connection handling
2962              code, and ensure that only a single connection will be processed
2963              for a given client UUID, even if the lock is dropped.
2964
2965 Severity   : enhancement
2966 Bugzilla   : 3627
2967 Description: add TCP zero-copy support to kernel
2968 Details    : Add support to the kernel TCP stack to allow zero-copy bulk
2969              sends if the hardware supports scatter-gather and checksumming.
2970              This allows socklnd to do client-write and server-read more
2971              efficiently and reduce CPU utilization from skbuf copying.
2972
2973 Severity   : minor
2974 Frequency  : only if NFS exporting from client
2975 Bugzilla   : 10258
2976 Description: NULL pointer deref in ll_iocontrol() if chattr mknod file
2977 Details    : If setting attributes on a file created under NFS that had
2978              never been opened it would be possible to oops the client
2979              if the file had no objects.
2980
2981 Severity   : minor
2982 Frequency  : always for liblustre
2983 Bugzilla   : 10290
2984 Description: liblustre client does MDS+OSTs setattr RPC for each write
2985 Details    : When doing a write from a liblustre client, the client
2986              incorrectly issued an RPC to the MDS and each OST the file was
2987              striped over in order to update the timestamps.  When writing
2988              with small chunks and many clients this could overwhelm the MDS
2989              with RPCs.  In all cases it would slow down the write because
2990              these RPCs are unnecessary.
2991
2992 Severity   : enhancement
2993 Bugzilla   : 9340
2994 Description: allow number of MDS service threads to be changed at module load
2995 Details    : It is now possible to change the number of MDS service threads
2996              running.  Adding "options mds mds_num_threads={N}" to the MDS's
2997              /etc/modprobe.conf will set the number of threads for the next
2998              time Lustre is restarted (assuming the "mds" module is also
2999              reloaded at that time).  The default number of threads will
3000              stay the same, 32 for most systems.
3001
3002 Severity   : major
3003 Frequency  : rare
3004 Bugzilla   : 10300
3005 Description: OST crash if filesystem is unformatted or corrupt
3006 Details    : If an OST is started on a device that has never been formatted
3007              or if the filesystem is corrupt and cannot even mount then the
3008              error handling cleanup routines would dereference a NULL pointer.
3009
3010 Severity   : medium
3011 Frequency  : rare
3012 Bugzilla   : 10047
3013 Description: NULL pointer deref in llap_from_page.
3014 Details    : get_cache_page_nowait can return a page with NULL (or otherwise
3015              incorrect) mapping if the page was truncated/reclaimed while it was
3016              searched for. Check for this condition and skip such pages when
3017              doing readahead. Introduce extra check to llap_from_page() to
3018              verify page->mapping->host is non-NULL (so page is not anonymous).
3019
3020 Severity   : minor
3021 Frequency  : Sometimes when using sys_sendfile
3022 Bugzilla   : 7020
3023 Description: "page not covered by a lock" warnings from ll_readpage
3024 Details    : sendfile called ll_readpage without right page locks present.
3025              Now we introduced ll_file_sendfile that does necessary locking
3026              around call to generic_file_sendfile() much like we do in
3027              ll_file_read().
3028
3029 Severity   : medium
3030 Frequency  : with certain MDS communication failures at client mount time
3031 Bugzilla   : 10268
3032 Description: NULL pointer deref after failed client mount
3033 Details    : a client connection request may delayed by the network layer
3034              and not be sent until after the PTLRPC layer has timed out the
3035              request.  If the client fails the mount immediately it will try
3036              to clean up before the network times out the request.  Add a
3037              reference from the request import to the obd device and delay
3038              the cleanup until the network drops the request.
3039
3040 Severity   : medium
3041 Frequency  : occasionally during client (re)connect
3042 Bugzilla   : 9387
3043 Description: assertion failure during client (re)connect
3044 Details    : processing a client connection request may be delayed by the
3045              client or server longer than the client connect timeout.  This
3046              causes the client to resend the connection request.  If the
3047              original connection request is replied in this interval, the
3048              client may trip an assertion failure in ptlrpc_connect_interpret()
3049              which thought it would be the only running connect process.
3050
3051 Severity   : medium
3052 Frequency  : only with obd_echo servers and clients that are rebooted
3053 Bugzilla   : 10140
3054 Description: kernel BUG accessing uninitialized data structure
3055 Details    : When running an obd_echo server it did not start the ping_evictor
3056              thread, and when a client was evicted an uninitialized data
3057              structure was accessed.  Start the ping_evictor in the RPC
3058              service startup instead of the OBD startup.
3059
3060 Severity   : enhancement
3061 Bugzilla   : 10193 (patchless)
3062 Description: Remove dependency on various unexported kernel interfaces.
3063 Details    : No longer need reparent_to_init, exit_mm, exit_files,
3064              sock_getsockopt, filemap_populate, FMODE_EXEC, put_filp.
3065
3066 Severity   : minor
3067 Frequency  : rare (only users of deprecated and unsupported LDAP config)
3068 Bugzilla   : 9337
3069 Description: write_conf for zeroconf mount queried LDAP incorrectly for client
3070 Details    : LDAP apparently contains 'lustreName' attributes instead of
3071              'name'.  A simple remapping of the name is sufficient.
3072
3073 Severity   : major
3074 Frequency  : rare (only with non-default dump_on_timeout debug enabled)
3075 Bugzilla   : 10397
3076 Description: waiting_locks_callback trips kernel BUG if client is evicted
3077 Details    : Running with the dump_on_timeout debug flag turned on makes
3078              it possible that the waiting_locks_callback() can try to dump
3079              the Lustre kernel debug logs from an interrupt handler.  Defer
3080              this log dumping to the expired_lock_main() thread.
3081
3082 Severity   : enhancement
3083 Bugzilla   : 10420
3084 Description: Support NFS exporting on 2.6 kernels.
3085 Details    : Implement non-rawops metadata methods for NFS server to use without
3086              changing NFS server code.
3087
3088 Severity   : medium
3089 Frequency  : very rare (synthetic metadata workload only)
3090 Bugzilla   : 9974
3091 Description: two racing renames might cause an MDS thread to deadlock
3092 Details    : Running the "racer" program may cause one MDS thread to rename
3093              a file from being the source of a rename to being the target of
3094              a rename at exactly the same time that another thread is doing
3095              so, and the second thread has already enqueued these locks after
3096              doing a lookup of the target and is trying to relock them in
3097              order.  Ensure that we don't try to re-lock the same resource.
3098
3099 Severity   : major
3100 Frequency  : only very large systems with liblustre clients
3101 Bugzilla   : 7304
3102 Description: slow eviction of liblustre clients with the "evict_by_nid" RPC
3103 Details    : Use asynchronous set_info RPCs to send the "evict_by_nid" to
3104              all OSTs in parallel.  This allows the eviction of stale liblustre
3105              clients to proceed much faster than if they were done in series,
3106              and also offers similar improvements for other set_info RPCs.
3107
3108 Severity   : minor
3109 Frequency  : common
3110 Bugzilla   : 10265
3111 Description: excessive CPU usage during initial read phase on client
3112 Details    : During the initial read phase on a client, it would agressively
3113              retry readahead on the file, consuming too much CPU and impacting
3114              performance (since 1.4.5.8).  Improve the readahead algorithm
3115              to avoid this, and also improve some other common cases (read
3116              of small files in particular, where "small" is files smaller than
3117              /proc/fs/lustre/llite/*/max_read_ahead_whole_mb, 2MB by default).
3118
3119 Severity   : minor
3120 Frequency  : rare
3121 Bugzilla   : 10450
3122 Description: MDS crash when receiving packet with unknown intent.
3123 Details    : Do not LBUG in unknown intent case, just return -EFAULT
3124
3125 Severity   : enhancement
3126 Bugzilla   : 9293, 9385
3127 Description: MDS RPCs are serialised on client. This is unnecessary for some.
3128 Details    : Do not serialize getattr (non-intent version) and statfs.
3129
3130 Severity   : minor
3131 Frequency  : occasional, when OST network is overloaded/intermittent
3132 Bugzilla   : 10416
3133 Description: client evicted by OST after bulk IO timeout
3134 Details    : If a client sends a bulk IO request (read or write) the OST
3135              may evict the client if it is unresposive to its data GET/PUT
3136              request.  This is incorrect if the network is overloaded (takes
3137              too long to transfer the RPC data) or dropped the OST GET/PUT
3138              request.  There is no need to evict the client at all, since
3139              the pinger and/or lock callbacks will handle this, and the
3140              client can restart the bulk request.
3141
3142 Severity   : minor
3143 Frequency  : Always when mmapping file with no objects
3144 Bugzilla   : 10438
3145 Description: client crashes when mmapping file with no objects
3146 Details    : Check that we actually have objects in a file before doing any
3147              operations on objects in ll_vm_open, ll_vm_close and
3148              ll_glimpse_size.
3149
3150 Severity   : minor
3151 Frequency  : Rare
3152 Bugzilla   : 10484
3153 Description: Request leak when working with deleted CWD
3154 Details    : Introduce advanced request refcount tracking for requests
3155              referenced from lustre intent.
3156
3157 Severity   : Enhancement
3158 Bugzilla   : 10482
3159 Description: Cache open file handles on client.
3160 Details    : MDS now will return special lock along with openhandle, if
3161              requested and client is allowed to hold openhandle, even if unused,
3162              until such a lock is revoked. Helps NFS a lot, since NFS is opening
3163              closing files for every read/write openration.
3164
3165 Severity   : Enhancement
3166 Bugzilla   : 9291
3167 Description: Cache open negative dentries on client when possible.
3168 Details    : Guard negative dentries with UPDATE lock on parent dir, drop
3169              negative dentries on lock revocation.
3170
3171 Severity   : minor
3172 Frequency  : Always
3173 Bugzilla   : 10510
3174 Description: Remounting a client read-only wasn't possible with a zconf mount
3175 Details    : It wasn't possible to remount a client read-only with llmount.
3176
3177 Severity   : enhancement
3178 Description: Include MPICH 1.2.6 Lustre ADIO interface patch
3179 Details    : In lustre/contrib/ or /usr/share/lustre in RPM a patch for
3180              MPICH is included to add Lustre-specific ADIO interfaces.
3181              This is based closely on the UFS ADIO layer and only differs
3182              in file creation, in order to allow the OST striping to be set.
3183              This is user-contributed code and not supported by CFS.
3184
3185 Severity   : minor
3186 Frequency  : Always
3187 Bugzilla   : 9486
3188 Description: extended inode attributes (immutable, append-only) work improperly
3189              when 2.4 and 2.6 kernels are used on client/server or vice versa
3190 Details    : Introduce kernel-independent values for these flags.
3191
3192 Severity   : enhancement
3193 Frequency  : Always
3194 Bugzilla   : 10248
3195 Description: Allow fractional MB tunings for lustre in /proc/ filesystem.
3196 Details    : Many of the /proc/ tunables can only be tuned at a megabyte
3197              granularity. Now, Fractional MB granularity is be supported,
3198              this is very useful for low memory system.
3199
3200 Severity   : enhancement
3201 Bugzilla   : 9292
3202 Description: Getattr by fid
3203 Details    : Getting a file attributes by its fid, obtaining UPDATE|LOOKUP
3204              locks, avoids extra getattr rpc requests to MDS, allows '/' to
3205              have locks and avoids getattr rpc requests for it on every stat.
3206
3207 Severity   : major
3208 Frequency  : Always, for filesystems larger than 2TB
3209 Bugzilla   : 6191
3210 Description: ldiskfs crash at mount for filesystem larger than 2TB with mballoc
3211 Details    : Kenrel kmalloc limits allocations to 128kB and this prevents
3212              filesystems larger than 2TB to be mounted with mballoc enabled.
3213
3214 Severity   : critical
3215 Frequency  : Always, for 32-bit kernel without CONFIG_LBD and filesystem > 2TB
3216 Bugzilla   : 6191
3217 Description: ldiskfs crash at mount for filesystem larger than 2TB with mballoc
3218 Details    : If a 32-bit kernel is compiled without CONFIG_LBD enabled and a
3219              filesystems larger than 2TB is mounted then the kernel will
3220              silently corrupt the start of the filesystem.  CONFIG_LBD is
3221              enabled for all CFS-supported kernels, but the possibility of
3222              this happening with a modified kernel config exists.
3223
3224 Severity   : enhancement
3225 Bugzilla   : 10462
3226 Description: add client O_DIRECT support for 2.6 kernels
3227 Details    : It is now possible to do O_DIRECT reads and writes to files
3228              in the Lustre client mountpoint on 2.6 kernel clients.
3229
3230 Severity   : enhancement
3231 Bugzilla   : 10446
3232 Description: parallel glimpse, setattr, statfs, punch, destroy requests
3233 Details    : Sends glimpse, setattr, statfs, punch, destroy requests to OSTs in
3234              parallel, not waiting for response from every OST before sending
3235              a rpc to the next OST.
3236
3237 Severity   : minor
3238 Frequency  : rare
3239 Bugzilla   : 10150
3240 Description: setattr vs write race when updating file timestamps
3241 Details    : Client processes that update a file timestamp into the past
3242              right after writing to the file (e.g. tar) it is possible that
3243              the updated file modification time can be reset to the current
3244              time due to a race between processing the setattr and write RPC.
3245
3246 Severity   : enhancement
3247 Bugzilla   : 10318
3248 Description: Bring 'lfs find' closer in line with regular Linux find.
3249 Details    : lfs find util supports -atime, -mtime, -ctime, -maxdepth, -print,
3250              -print0 options and obtains all the needed info through the lustre
3251              ioctls.
3252
3253 Severity   : enhancement
3254 Bugzilla   : 6221
3255 Description: support up to 1024 configured devices on one node
3256 Details    : change obd_dev array from statically allocated to dynamically
3257              allocated structs as they are first used to reduce memory usage
3258
3259 Severity   : minor
3260 Frequency  : rare
3261 Bugzilla   : 10437
3262 Description: Flush dirty partially truncated pages during truncate
3263 Details    : Immediatelly flush partially truncated pages in filter_setattr,
3264              this way we completely avoid having any pages in page cache on OST
3265              and can retire ugly workarounds during writes to flush such pages.
3266
3267 Severity   : minor
3268 Frequency  : rare
3269 Bugzilla   : 10409
3270 Description: i_sem vs transaction deadlock in mds_obd_destroy during unlink.
3271 Details    : protect inode from truncation within vfs_unlink() context
3272              just take a reference before calling vfs_unlink() and release it
3273              when parent's i_sem is free.
3274
3275 Severity   : major
3276 Frequency  : rare
3277 Bugzilla   : 4778
3278 Description: last_id value checked outside lock on OST caused LASSERT failure
3279 Details    : If there were multiple MDS->OST object precreate requests in
3280              flight, it was possible that the OST's last object id was checked
3281              outside a lock and incorrectly tripped an assertion.  Move checks
3282              inside locks, and discard old precreate requests.
3283
3284 Severity   : minor
3285 Frequency  : always, if extents are used on OSTs
3286 Bugzilla   : 10703
3287 Description: index ei_leaf_hi (48-bit extension) is not zeroed in extent index
3288 Details    : OSTs using the extents format would not zero the high 16 bits of
3289              the index physical block number.  This is not a problem for any
3290              OST filesystems smaller than 16TB, and no kernels support ext3
3291              filesystems larger than 16TB yet.  This is fixed in 1.4.7 (all
3292              new/modified files) and can be fixed for existing filesystems
3293              with e2fsprogs-1.39-cfs1.
3294
3295 Severity   : minor
3296 Frequency  : rare
3297 Bugzilla   : 9387
3298 Description: import connection selection may be incorrect if timer wraps
3299 Details    : Using a 32-bit jiffies timer with HZ=1000 may cause backup
3300              import connections to be ignored if the 32-bit jiffies counter
3301              wraps.  Use a 64-bit jiffies counter.
3302
3303 Severity   : minor
3304 Frequency  : very large clusters immediately after boot
3305 Bugzilla   : 10083
3306 Description: LNET request buffers exhausted under heavy short-term load
3307 Details    : If a large number of client requests are generated on a service
3308              that has previously never seen so many requests it is possible
3309              that the request buffer growth cannot keep up with the spike in
3310              demand.  Instead of dropping incoming requests, they are held in
3311              the LND until the RPC service can accept more requests.
3312
3313 Severity   : minor
3314 Frequency  : Sometimes during replay
3315 Bugzilla   : 9314
3316 Description: Assertion failure in ll_local_open after replay.
3317 Details    : If replay happened on an open request reply before we were able
3318              to set replay handler, reply will become not swabbed tripping the
3319              assertion in ll_local_open. Now we set the handler right after
3320              recognising of open request
3321
3322 Severity   : trivial
3323 Frequency  : very rare
3324 Bugzilla   : 10584
3325 Description: kernel reports "badness in vsnprintf"
3326 Details    : Reading from the "recovery_status" /proc file in small chunks
3327              may cause a negative length in lprocfs_obd_rd_recovery_status()
3328              call to vsnprintf() (which is otherwise harmless).  Exit early
3329              if there is no more space in the output buffer.
3330
3331 Severity   : enhancement
3332 Bugzilla   : 2259
3333 Description: clear OBD RPC statistics by writing to them
3334 Details    : It is now possible to clear the OBD RPC statistics by writing
3335              to the "stats" file.
3336
3337 Severity   : minor
3338 Frequency  : rare
3339 Bugzilla   : 10641
3340 Description: Client mtime is not the same on different clients after utimes
3341 Details    : In some cases, the client was using the utimes() syscall on
3342              a file cached on another node.  The clients now validate the
3343              ctime from the MDS + OSTs to determine which one is right.
3344
3345 Severity   : minor
3346 Frequency  : always
3347 Bugzilla   : 10611
3348 Description: Inability to activate failout mode
3349 Details    : lconf script incorrectly assumed that in pythong string's numeric
3350              value is used in comparisons.
3351
3352 Severity   : minor
3353 Frequency  : always with multiple stripes per file
3354 Bugzilla   : 10671
3355 Description: Inefficient object allocation for mutli-stripe files
3356 Details    : When selecting which OSTs to stripe files over, for files with
3357              a stripe count that divides evenly into the number of OSTs,
3358              the MDS is always picking the same starting OST for each file.
3359              Return the OST selection heuristic to the original design.
3360
3361 Severity   : trivial
3362 Frequency  : rare
3363 Bugzilla   : 10673
3364 Description: mount failures may take full timeout to return an error
3365 Details    : Under some heavy load conditions it is possible that a
3366              failed mount can wait for the full obd_timeout interval,
3367              possibly several minutes, before reporting an error.
3368              Instead return an error as soon as the status is known.
3369 Severity   : major
3370 Frequency  : quota enabled and large files being deleted
3371 Bugzilla   : 10707
3372 Description: releasing more than 4GB of quota at once hangs OST
3373 Details    : If a user deletes more than 4GB of files on a single OST it
3374              will cause the OST to spin in an infinite loop.  Release
3375              quota in < 4GB chunks, or use a 64-bit value for 1.4.7.1+.
3376
3377 Severity   : trivial
3378 Frequency  : rare
3379 Bugzilla   : 10845
3380 Description: statfs data retrieved from /proc may be stale or zero
3381 Details    : When reading per-device statfs data from /proc, in the
3382              {kbytes,files}_{total,free,avail} files, it may appear
3383              as zero or be out of date.
3384
3385 Severity   : trivial
3386 Frequency  : systems with MD RAID1 external journal devices
3387 Bugzilla   : 10832
3388 Description: lconf's call to blkid is confused by RAID1 journal devices
3389 Details    : Use the "blkid -l" flag to locate the MD RAID device instead
3390              of returning all block devices that match the journal UUID.
3391
3392 Severity   : normal
3393 Frequency  : always, for aggregate stripe size over 4GB
3394 Bugzilla   : 10725
3395 Description: assertion fails when trying to use 4GB stripe size
3396 Details    : Use "setstripe" to set stripe size over 4GB will fail the kernel,
3397              complaining "ASSERTION(lsm->lsm_xfersize != 0)"
3398
3399 Severity   : normal
3400 Frequency  : always on ppc64
3401 Bugzilla   : 10634
3402 Description: the first write on an ext3 filesystem with mballoc got stuck
3403 Details    : ext3_mb_generate_buddy() uses find_next_bit() which does not
3404              perform endianness conversion.
3405
3406 ------------------------------------------------------------------------------
3407
3408 02-14-2006  Cluster File Systems, Inc. <info@clusterfs.com>
3409        * version 1.4.6
3410        * WIRE PROTOCOL CHANGE.  This version of Lustre networking WILL NOT
3411          INTEROPERATE with older versions automatically.  Please read the
3412          user documentation before upgrading any part of a live system.
3413        * WARNING: Lustre networking configuration changes are required with
3414          this release.  See https://bugzilla.clusterfs.com/show_bug.cgi?id=10052
3415          for details.
3416        * bug fixes
3417        * Support for kernels:
3418         2.6.9-22.0.2.EL (RHEL 4)
3419         2.6.5-7.244 (SLES 9)
3420         2.6.12.6 vanilla (kernel.org)
3421
3422
3423 Severity   : enhancement
3424 Bugzilla   : 7981/8208
3425 Description: Introduced Lustre Networking (LNET)
3426 Details    : LNET is new networking infrastructure for Lustre, it includes
3427              a reorganized network configuration mode (see the user
3428              documentation for full details) as well as support for routing
3429              between different network fabrics.  Lustre Networking Devices
3430              (LNDs) for the supported network fabrics have also been
3431              created for this new infrastructure.
3432
3433 Severity   : enhancement
3434 Description: Introduced Access control lists
3435 Details    : clients can set ACLs on files and directories in order to have
3436              more fine-grained permissions than the standard Unix UGO+RWX.
3437              The MDS must be started with the "-o acl" mount option.
3438
3439 Severity   : enhancement
3440 Description: Introduced filesystem quotas
3441 Details    : Administrators may now establish per-user quotas on the
3442              filesystem.
3443
3444 Severity   : enhancement
3445 Bugzilla   : 7982
3446 Description: Configuration change for the XT3
3447              The PTLLND is now used to run Lustre over Portals on the XT3
3448              The configure option(s) --with-cray-portals are no longer used.
3449              Rather --with-portals=<path-to-portals-includes> is used to
3450              enable building on the XT3.  In addition to enable XT3 specific
3451              features the option --enable-cray-xt3 must be used.
3452         
3453 Severity   : major
3454 Frequency  : rare
3455 Bugzilla   : 7407
3456 Description: Running on many-way SMP OSTs can trigger oops in llcd_send()
3457 Details    : A race between allocating a new llcd and re-getting the llcd_lock
3458              allowed another thread to grab newly-allocated llcd.
3459
3460 Severity   : enhancement
3461 Bugzilla   : 7116
3462 Description: 2.6 OST async journal commit and locking fix to improve performance
3463 Details    : The filter_direct_io()+filter_commitrw_write() journal commits for
3464              2.6 kernels are now async as they already were in 2.4 kernels so
3465              that they can commit concurrently with the network bulk transfer.
3466              For block-allocated files the filter allocation semaphore is held
3467              to avoid filesystem fragmentation during allocation.  BKL lock
3468              removed for 2.6 xattr operations where it is no longer needed.
3469
3470 Severity   : minor
3471 Frequency  : rare
3472 Bugzilla   : 8320
3473 Description: lconf incorrectly determined whether two IP networks could talk
3474 Details    : In some more complicated routing and multiple-network
3475              configurations, lconf will avoid trying to make a network
3476              connection to a disjoint part of the IP space.  It was doing the
3477              math incorrectly for one set of cases.
3478
3479 Severity   : major
3480 Frequency  : rare
3481 Bugzilla   : 7359
3482 Description: Fix for potential infinite loop processing records in an llog.
3483 Details    : If an llog record is corrupted/zeroed, it is possible to loop
3484              forever in llog_process().  Validate the llog record length
3485              and skip the remainder of the block on error.
3486
3487 Severity   : minor
3488 Frequency  : occasional (liblustre only)
3489 Bugzilla   : 6363
3490 Description: liblustre could not open files whose last component is a symlink
3491 Details    : sysio_path_walk() would incorrectly pass the open intent to
3492              intermediate path components.
3493
3494 Severity   : minor
3495 Frequency  : rare (liblustre only with non-standard tuning)
3496 Bugzilla   : 7201 (7350)
3497 Description: Tuning the MDC DLM LRU size to zero triggers client LASSERT
3498 Details    : llu_lookup_finish_locks() tries to set lock data on a lock
3499              after it has been released, only do this for referenced locks
3500
3501 Severity   : enhancement
3502 Bugzilla   : 7328
3503 Description: specifying an (invalid) directory default stripe_size of -1
3504              would reset the directory default striping
3505 Details    : stripe_size -1 was used internally to signal directory stripe
3506              removal, now use "all default" to signal dir stripe removal
3507              as a directory striping of "all default" is not useful
3508
3509 Severity   : minor
3510 Frequency  : common for large clusters running liblustre clients
3511 Bugzilla   : 7198
3512 Description: doing an ls when liblustre clients are running is slow
3513 Details    : sending a glimpse AST to a liblustre client waits for every AST
3514              to time out, as liblustre clients will not respond.  Since they
3515              cannot cache data we refresh the OST lock LVB from disk instead.
3516
3517 Severity   : enhancement
3518 Bugzilla   : 7198
3519 Description: doing an ls at the same time as file IO can be slow
3520 Details    : enqueue and other "small" requests can be blocked behind many
3521              large IO requests.  Create a new OST IO portal for non-IO
3522              requests so they can be processed faster.
3523
3524 Severity   : minor
3525 Frequency  : rare (only HPUX clients mounting unsupported re-exported NFS vol)
3526 Bugzilla   : 5781
3527 Description: an HPUX NFS client would get -EACCESS when ftruncate()ing a newly
3528              created file with mode 000
3529 Details    : the Linux NFS server relies on an MDS_OPEN_OWNEROVERRIDE hack to
3530              allow an ftruncate() as a non-root user to a file with mode 000.
3531              Lustre now respects this flag to disable mode checks when
3532              truncating a file owned by the user
3533
3534 Severity   : minor
3535 Frequency  : liblustre-only, when liblustre client dies unexpectedly or becomes
3536              busy
3537 Bugzilla   : 7313
3538 Description: Revoking locks from clients that went dead or catatonic might take
3539              a lot of time.
3540 Details    : New lock flags FL_CANCEL_ON_BLOCK used by liblustre makes
3541              cancellation of such locks instant on servers without waiting for
3542              any reply from clients. Clients drops these locks when cancel
3543              notification from server is received without replying.
3544
3545 Severity   : minor
3546 Frequency  : liblustre-only, when liblustre client dies or becomes busy
3547 Bugzilla   : 7311
3548 Description: Doing ls on Linux clients can take a long time with active
3549              liblustre clients
3550 Details    : Liblustre client cannot handle ASTs in timely manner, so avoid
3551              granting such locks to it in the first place if possible.  Locks
3552              are taken by proxy on the OST during the read or write and
3553              dropped immediately afterward.  Add connect flags handling, do
3554              not grant locks to liblustre clients for glimpse ASTs.
3555
3556 Severity   : enhancement
3557 Bugzilla   : 6252
3558 Description: Improve read-ahead algorithm to avoid excessive IO for random reads
3559 Details    : Existing read-ahead algorithm is tuned for the case of streamlined
3560              sequential reads and behaves badly with applications doing random
3561              reads.  Improve it by reading ahead at least read region, and
3562              avoiding excessive large RPC for small reads.
3563
3564 Severity   : enhancement
3565 Bugzilla   : 8330
3566 Description: Creating more than 1000 files for a single job may cause a load
3567              imbalance on the OSTs if there are also a large number of OSTs.
3568 Details    : qos_prep_create() uses an OST index reseed value that is an
3569              even multiple of the number of available OSTs so that if the
3570              reseed happens in the middle of the object allocation it will
3571              still utilize the OSTs as uniformly as possible.
3572
3573 Severity   : major
3574 Frequency  : rare
3575 Bugzilla   : 8322
3576 Description: OST or MDS may oops in ping_evictor_main()
3577 Details    : ping_evictor_main() drops obd_dev_lock if deleting a stale export
3578              but doesn't restart at beginning of obd_exports_timed list
3579              afterward.
3580
3581 Severity   : enhancement
3582 Bugzilla   : 7304
3583 Description: improve by-nid export eviction on the MDS and OST
3584 Details    : allow multiple exports with the same NID to be evicted at one
3585              time without re-searching the exports list.
3586
3587 Severity   : major
3588 Frequency  : rare, only with supplementary groups enabled on SMP 2.6 kernels
3589 Bugzilla   : 7273
3590 Description: MDS may oops in groups_free()
3591 Details    : in rare race conditions a newly allocated group_info struct is
3592              freed again, and this can be NULL.  The 2.4 compatibility code
3593              for groups_free() checked for a NULL pointer, but 2.6 did not.
3594
3595 Severity   : minor
3596 Frequency  : common for liblustre clients doing little filesystem IO
3597 Bugzilla   : 9352, 7313
3598 Description: server may evict liblustre clients accessing contended locks
3599 Details    : if a client is granted a lock or receives a completion AST
3600              with a blocking AST already set it would not reply to the AST
3601              for LDLM_FL_CANCEL_ON_BLOCK locks.  It now replies to such ASTs.
3602
3603 Severity   : minor
3604 Frequency  : lfs setstripe, only systems with more than 160 OSTs
3605 Bugzilla   : 9440
3606 Description: unable to set striping with a starting offset beyond OST 160
3607 Details    : llapi_create_file() incorrectly limited the starting stripe
3608              index to the maximum single-file stripe count.
3609
3610 Severity   : minor
3611 Frequency  : LDAP users only
3612 Bugzilla   : 6163
3613 Description: lconf did not handle in-kernel recovery with LDAP properly
3614 Details    : lconf/LustreDB get_refs() is searching the wrong namespace
3615
3616 Severity   : enhancement
3617 Bugzilla   : 7342
3618 Description: bind OST threads to NUMA nodes to improve performance
3619 Details    : all OST threads are uniformly bound to CPUs on a single NUMA
3620              node and do their allocations there to localize memory access
3621
3622 Severity   : enhancement
3623 Bugzilla   : 7979
3624 Description: llmount can determine client NID directly from Myrinet (GM)
3625 Details    : the client NID code from gmnalnid was moved directly into
3626              llmount, removing the need to use this or specifying the
3627              client NID explicitly when mounting GM clients with zeroconf
3628
3629 Severity   : minor
3630 Frequency  : if client is started with down MDS
3631 Bugzilla   : 7184
3632 Description: if client is started with down MDS mount hangs in ptlrpc_queue_wait
3633 Details    : Having an LWI_INTR() wait event (interruptible, but no timeout)
3634              will wait indefinitely in ptlrpc_queue_wait->l_wait_event() after
3635              ptlrpc_import_delayed_req() because we didn't check if the
3636              request was interrupted, and we also didn't break out of the
3637              event loop if there was no timeout
3638
3639 Severity   : major
3640 Frequency  : rare
3641 Bugzilla   : 5047
3642 Description: data loss during non-page-aligned writes to a single file from
3643              both multiple nodes and multiple threads on one node at same time
3644 Details    : updates to KMS and lsm weren't protected by common lock. Resulting
3645              inconsistency led to false short-reads, that were cached and later
3646              used by ->prepare_write() to fill in partially written page,
3647              leading to data loss.
3648
3649 Severity   : minor
3650 Frequency  : always, if lconf --abort_recovery used
3651 Bugzilla   : 7047
3652 Description: lconf --abort_recovery fails with 'Operation not supported'
3653 Details    : lconf was attempting to abort recovery on the MDT device and not
3654              the MDS device
3655
3656 Severity   : enhancement
3657 Bugzilla   : 9445
3658 Description: remove cleanup logs
3659 Details    : replace lconf-generated cleanup logs with lustre internal
3660              cleanup routines.  Eliminates the need for client-cleanup and
3661              mds-cleanup logs.
3662
3663 Severity   : enhancement
3664 Bugzilla   : 8592
3665 Description: add support for EAs (user and system) on lustre filesystems
3666 Details    : it is now possible to store extended attributes in the Lustre
3667              client filesystem, and with the user_xattr mount option it
3668              is possible to allow users to store EAs on their files also
3669
3670 Severity   : enhancement
3671 Bugzilla   : 7293
3672 Description: Add possibility (config option) to show minimal available OST free
3673              space.
3674 Details    : When compiled with --enable-mindf configure option, statfs(2)
3675              (and so, df) will return least minimal free space available from
3676              all OSTs as amount of free space on FS, instead of summary of
3677              free spaces of all OSTs.
3678
3679 Severity   : enhancement
3680 Bugzilla   : 7311
3681 Description: do not expand extent locks acquired on OST-side
3682 Details    : Modify ldlm_extent_policy() to not expand local locks, acquired
3683              by server: they are not cached anyway.
3684
3685 Severity   : major
3686 Frequency  : when mmap is used/binaries executed from Lustre
3687 Bugzilla   : 9482
3688 Description: Unmmap pages before throwing them away from read cache.
3689 Details    : llap_shrink cache now attempts to unmap pages before discarding
3690              them (if unmapping failed - do not discard).  SLES9 kernel has
3691              extra checks that trigger if this unmapping is not done first.
3692
3693 Severity   : minor
3694 Frequency  : rare
3695 Bugzilla   : 6034
3696 Description: lconf didn't resolve symlinks before checking to see whether a
3697              given mountpoint was already in use
3698
3699 Severity   : minor
3700 Frequency  : when migrating failover services
3701 Bugzilla   : 6395, 9514
3702 Description: When migrating a subset of services from a node (e.g. failback
3703              from a failover service node) the remaining services would
3704              time out and evict clients.
3705 Details    : lconf --force (implied by --failover) sets the global obd_timeout
3706              to 5 seconds in order to quickly disconnect, but this caused
3707              other RPCs to time out too quickly.  Do not change the global
3708              obd_timeout for force cleanup, only set it for DISCONNECT RPCs.
3709
3710 Severity   : enhancement
3711 Frequency  : if MDS is started with down OST
3712 Bugzilla   : 9439,5706
3713 Description: Allow startup/shutdown of an MDS without depending on the
3714              availability of the OSTs.
3715 Details    : Asynchronously call mds_lov_synchronize during MDS startup.
3716              Add appropriate locking and lov-osc refcounts for safe
3717              cleaning.  Add osc abort_inflight calls in case the
3718              synchronize never started.
3719
3720 Severity   : minor
3721 Frequency  : occasional (Cray XT3 only)
3722 Bugzilla   : 7305
3723 Description: root not authorized to access files in CRAY_PORTALS environment
3724 Details    : The client process capabilities were not honoured on the MDS in
3725              a CRAY_PORTALS/CRAY_XT3 environment.  If the file had previously
3726              been accessed by an authorized user then root was able to access
3727              the file on the local client also.  The root user capabilities
3728              are now allowed on the MDS, as this environment has secure UID.
3729
3730 Severity   : minor
3731 Frequency  : occasional
3732 Bugzilla   : 6449
3733 Description: ldiskfs "too long searching" message happens too often
3734 Details    : A debugging message (otherwise harmless) prints too often on
3735              the OST console.  This has been reduced to only happen when
3736              there are fragmentation problems on the filesystem.
3737
3738 Severity   : minor
3739 Frequency  : rare
3740 Bugzilla   : 9598
3741 Description: Division by zero in statfs when all OSCs are inactive
3742 Details    : lov_get_stripecnt() returns zero due to incorrect order of checks,
3743              lov_statfs divides by value returned by lov_get_stripecnt().
3744
3745 Severity   : minor
3746 Frequency  : common
3747 Bugzilla   : 9489, 3273
3748 Description: First write from each client to each OST was only 4kB in size,
3749              to initialize client writeback cache, which caused sub-optimal
3750              RPCs and poor layout on disk for the first writen file.
3751 Details    : Clients now request an initial cache grant at (re)connect time
3752              and so that they can start streaming writes to the cache right
3753              away and always do full-sized RPCs if there is enough data.
3754              If the OST is rebooted the client also re-establishes its grant
3755              so that client cached writes will be honoured under the grant.
3756
3757 Severity   : minor
3758 Frequency  : common
3759 Bugzilla   : 7198
3760 Description: Slow ls (and stat(2) syscall) on files residing on IO-loaded OSTs
3761 Details    : Now I/O RPCs go to different portal number and (presumably) fast
3762              lock requests (and glimses) and other RPCs get their own service
3763              threads pool that should be able to service those RPCs
3764              immediatelly.
3765
3766 Severity   : enhancement
3767 Bugzilla   : 7417
3768 Description: Ability to exchange lustre version between client and servers and
3769              issue warnings at client side if client is too old. Also for
3770              liblustre clients there is ability to refuse connection of too old
3771              clients.
3772 Details    : New 'version' field is added to connect data structure that is
3773              filled with version info. That info is later checked by server and
3774              by client.
3775
3776 Severity   : minor
3777 Frequency  : rare, liblustre only.
3778 Bugzilla   : 9296, 9581
3779 Description: Two simultaneous writes from liblustre at offset within same page
3780              might proceed at the same time overwriting eachother with stale
3781              data.
3782 Details    : I/O lock withing llu_file_prwv was released too early, before data
3783              actually was hitting the wire. Extended lock-holding time until
3784              server acknowledges receiving data.
3785
3786 Severity   : minor
3787 Frequency  : extremely rare. Never observed in practice.
3788 Bugzilla   : 9652
3789 Description: avoid generating lustre_handle cookie of 0.
3790 Details    : class_handle_hash() generates handle cookies by incrementing
3791              global counter, and can hit 0 occasionaly (this is unlikely, but
3792              not impossible, because initial value of cookie counter is
3793              selected randonly). Value of 0 is used as a sentinel meaning
3794              "unassigned handle" --- avoid it. Also coalesce two critical
3795              sections in this function into one.
3796
3797 Severity   : enhancement
3798 Bugzilla   : 9528
3799 Description: allow liblustre clients to delegate truncate locking to OST
3800 Details    : To avoid overhead of locking, liblustre client instructs OST to
3801              take extent lock in ost_punch() on client's behalf. New connection
3802              flag is added to handle backward compatibility.
3803
3804 Severity   : enhancement
3805 Bugzilla   : 4928, 7341, 9758
3806 Description: allow number of OST service threads to be specified
3807 Details    : a module parameter allows the number of OST service threads
3808              to be specified via "options ost ost_num_threads={N}" in the
3809              OSS's /etc/modules.conf or /etc/modprobe.conf.
3810
3811 Severity   : major
3812 Frequency  : rare
3813 Bugzilla   : 6146, 9635, 9895
3814 Description: servers crash with bad pointer in target_handle_connect()
3815 Details    : In rare cases when a client is reconnecting it was possible that
3816              the connection request was the last reference for that export.
3817              We would temporarily drop the export reference and get a new
3818              one, but this may have been the last reference and the export
3819              was just destroyed.  Get new reference before dropping old one.
3820
3821 Severity   : enhancement
3822 Frequency  : if client is started with failover MDS
3823 Bugzilla   : 9818
3824 Description: Allow multiple MDS hostnames in the mount command
3825 Details    : Try to read the configuration from all specified MDS
3826              hostnames during a client mount in case the "primary"
3827              MDS is down.
3828
3829 Severity   : enhancement
3830 Bugzilla   : 9297
3831 Description: Stop sending data to evicted clients as soon as possible.
3832 Details    : Check if the client we are about to send or are sending data to
3833              was evicted already. (Check is done every second of waiting,
3834              for which l_wait_event interface was extended to allow checking
3835              of exit condition at specified intervals).
3836
3837 Severity   : minor
3838 Frequency  : rare, normally only when NFS exporting is done from client
3839 Bugzilla   : 9301
3840 Description: 'bad disk LOV MAGIC: 0x00000000' error when chown'ing files
3841              without objects
3842 Details    : Make mds_get_md() recognise empty md case and set lmm size to 0.
3843
3844 Severity   : minor
3845 Frequency  : always, if srand() is called before liblustre initialization
3846 Bugzilla   : 9794
3847 Description: Liblustre uses system PRNG disturbing its usage by user application
3848 Details    : Introduce internal to lustre fast and high-quality PRNG for
3849              lustre usage and make liblustre and some other places in generic
3850              lustre code to use it.
3851
3852 Severity   : enhancement
3853 Bugzilla   : 9477, 9557, 9870
3854 Description: Verify that the MDS configuration logs are updated when xml is
3855 Details    : Check if the .xml configuration logs are newer than the config
3856              logs stored on the MDS and report an error if this is the case.
3857              Request --write-conf, or allow starting with --old_conf.
3858
3859 Severity   : enhancement
3860 Bugzilla   : 6034
3861 Description: Handle symlinks in the path when checking if Lustre is mounted.
3862 Details    : Resolve intermediate symlinks when checking if a client has
3863              mounted a filesystem to avoid duplicate client mounts.
3864
3865 Severity   : minor
3866 Frequency  : rare
3867 Bugzilla   : 9309
3868 Description: lconf can hit an error exception but still return success.
3869 Details    : The lconf command catches the Command error exception at the top
3870              level script context and will exit with the associated exit
3871              status, but doesn't ensure that this exit status is non-zero.
3872
3873 Severity   : minor
3874 Frequency  : rare
3875 Bugzilla   : 9493
3876 Description: failure of ptlrpc thread startup can cause oops
3877 Details    : Starting a ptlrpc service thread can fail if there are a large
3878              number of threads or the server memory is very fragmented.
3879              Handle this without oopsing.
3880
3881 Severity   : minor
3882 Frequency  : always, only if liblustre and non-default acceptor port was used
3883 Bugzilla   : 9933
3884 Description: liblustre cannot connect to servers with non-default acceptor port
3885 Details    : tcpnal_set_default_params() was not called and was therefore
3886              ignoring the environment varaible TCPNAL_PORT, as well as other
3887              TCPNAL_ environment variables
3888
3889 Severity   : minor
3890 Frequency  : rare
3891 Bugzilla   : 9923
3892 Description: two objects could be created on the same OST for a single file
3893 Details    : If an OST is down, in some cases it was possible to create two
3894              objects on a single OST for a single file.  No problems other
3895              than potential performance impact and spurious error messages.
3896
3897 Severity   : minor
3898 Frequency  : rare
3899 Bugzilla   : 5681, 9562
3900 Description: Client may oops in ll_unhash_aliases
3901 Details    : Client dcache may become inconsistent in race condition.
3902              In some cases "getcwd" can fail if the current directory is
3903              modified.
3904
3905 Severity   : minor
3906 Frequency  : always
3907 Bugzilla   : 9942
3908 Description: Inode refcounting problems in NFS export code
3909 Details    : link_raw functions used to call d_instantiate without obtaining
3910              extra inode reference first.
3911
3912 Severity   : minor
3913 Frequency  : rare
3914 Bugzilla   : 9942, 9903
3915 Description: Referencing freed requests leading to crash, memleaks with NFS.
3916 Details    : We used to require that call to ll_revalidate_it was always
3917              followed by ll_lookup_it. Also with revalidate_special() it is
3918              possible to call ll_revalidate_it() twice for the same dentry
3919              even if first occurence returned success. This fix changes semantic
3920              between DISP_ENQ_COMPLETE disposition flag to mean there is extra
3921              reference on a request referred from the intent.
3922              ll_intent_release() then releases such a request.
3923
3924 Severity   : minor
3925 Frequency  : rare, normally benchmark loads only
3926 Bugzilla   : 1443
3927 Description: unlinked inodes were kept in memory on the client
3928 Details    : If a client is repeatedly creating and unlinking files it
3929              can accumulate a lot of stale inodes in the inode slab cache.
3930              If there is no other client load running this can cause the
3931              client node to run out of memory.  Instead flush old inodes
3932              from client cache that have the same inode number as a new inode.
3933
3934 Severity   : minor
3935 Frequency  : SLES9 2.6.5 kernel and long filenames only
3936 Bugzilla   : 9969, 10379
3937 Description: utime reports stale NFS file handle
3938 Details    : SLES9 uses out-of-dentry names in some cases, which confused
3939              the lustre dentry revalidation.  Change it to always use the
3940              in-dentry qstr.
3941
3942 Severity   : major
3943 Frequency  : rare, unless heavy write-truncate concurrency is continuous
3944 Bugzilla   : 4180, 6984, 7171, 9963, 9331
3945 Description: OST becomes very slow and/or deadlocked during object unlink
3946 Details    : filter_destroy() was holding onto the parent directory lock
3947              while truncating+unlinking objects.  For very large objects this
3948              may block other threads for a long time and slow overall OST
3949              responsiveness.  It may also be possible to get a lock ordering
3950              deadlock in this case, or run out of journal credits because of
3951              the combined truncate+unlink.  Solution is to do object truncate
3952              first in one transaction without parent lock, and then do the
3953              final unlink in a new transaction with the parent lock.  This
3954              reduces the lock hold time dramatically.
3955
3956 Severity   : major
3957 Frequency  : rare, 2.4 kernels only
3958 Bugzilla   : 9967
3959 Description: MDS or OST cleanup may trip kernel BUG when dropping kernel lock
3960 Details    : mds_cleanup() and filter_cleanup() need to drop the kernel lock
3961              before unmounting their filesystem in order to avoid deadlock.
3962              The kernel_locked() function in 2.4 kernels only checks whether
3963              the kernel lock is held, not whether it is this process that is
3964              holding it as 2.6 kernels do.
3965
3966 Severity   : major
3967 Frequency  : rare
3968 Bugzilla   : 9635
3969 Description: MDS or OST may oops/LBUG if a client is connecting multiple times
3970 Details    : The client ptlrpc code may be trying to reconnect to a down
3971              server before a previous connection attempt has timed out.
3972              Increase the reconnect interval to be longer than the connection
3973              timeout interval to avoid sending duplicate connections to
3974              servers.
3975
3976 Severity   : minor
3977 Frequency  : echo_client brw_test command
3978 Bugzilla   : 9919
3979 Description: fix echo_client to work with OST preallocated code
3980 Details    : OST preallocation code (5137) didn't take echo_client IO path
3981              into account: echo_client calls filter methods outside of any
3982              OST thread and, hence, there is no per-thread preallocated
3983              pages and buffers to use. Solution: hijack pga pages for IO. As
3984              a byproduct, this avoids unnecessary data copying.
3985
3986 Severity   : minor
3987 Frequency  : rare
3988 Bugzilla   : 3555, 5962, 6025, 6155, 6296, 9574
3989 Description: Client can oops in mdc_commit_close() after open replay
3990 Details    : It was possible for the MDS to return an open request with no
3991              transaction number in mds_finish_transno() if the client was
3992              evicted, but without actually returning an error.  Clients
3993              would later try to replay that open and may trip an assertion
3994              Simplify the client close codepath, and always return an error
3995              from the MDS in case the open is not successful.
3996
3997 Severity   : major
3998 Frequency  : rare, 2.6 OSTs only
3999 Bugzilla   : 10076
4000 Description: OST may deadlock under high load on fragmented files
4001 Details    : If there was a heavy load and highly-fragmented OST filesystems
4002              it was possible to have all the OST threads deadlock waiting on
4003              allocation of biovecs, because the biovecs were not released
4004              until the entire RPC IO was completed.  Instead, release biovecs
4005              as soon as they are complete to ensure forward IO progress.
4006
4007 Severity   : enhancement
4008 Bugzilla   : 9578
4009 Description: Support for specifying external journal device at mount
4010 Details    : If an OST or MDS device is formatted with an external journal
4011              device, this device major/minor is stored in the ext3 superblock
4012              and may not be valid for failover.  Allow detecting and
4013              specifying the external journal at mount time.
4014
4015 Severity   : major
4016 Frequency  : rare
4017 Bugzilla   : 10235
4018 Description: Mounting an MDS with pending unlinked files may cause oops
4019 Details    : target_finish_recovery() calls mds_postrecov() which returned
4020              the number of orphans unlinked. mds_lov_connect->mds_postsetup()
4021              considers this an error and immediately begins cleaning up the
4022              lov, just after starting the mds_lov process
4023
4024 Severity   : enhancement
4025 Bugzilla   : 9461
4026 Description: Implement 'lfs df' to report actual free space on per-OST basis
4027 Details    : Add sub-command 'df' on 'lfs' to report the disk space usage of
4028              MDS/OSDs. Usage: lfs df [-i][-h]. Command Options: '-i' to report
4029              usage of objects; '-h' to report in human readable format.
4030
4031 ------------------------------------------------------------------------------
4032
4033 08-26-2005  Cluster File Systems, Inc. <info@clusterfs.com>
4034        * version 1.4.5
4035        * bug fixes
4036
4037 Severity   : major
4038 Frequency  : rare
4039 Bugzilla   : 7264
4040 Description: Mounting an ldiskfs file system with mballoc may crash OST node.
4041 Details    : ldiskfs mballoc code may reference an uninitialized buddy struct
4042              at startup during orphan unlinking.  Instead, skip buddy update
4043              before setup, as it will be regenerated after recovery is complete.
4044
4045 Severity   : minor
4046 Frequency  : rare
4047 Bugzilla   : 7039
4048 Description: If an OST is inactive, its locks might reference stale inodes.
4049 Details    : lov_change_cbdata() must iterate over all namespaces, even if
4050              they are inactive to clear inode references from the lock.
4051
4052 Severity   : enhancement
4053 Frequency  : occasional, if non-standard max_dirty_mb used
4054 Bugzilla   : 7138
4055 Description: Client will block write RPCs if not enough grant
4056 Details    : If a client has max_dirty_mb smaller than max_rpcs_in_flight,
4057              then the client will block writes while waiting for another RPC
4058              to complete instead of consuming its dirty limit.  With change
4059              we get improved performance when max_dirty_mb is small.
4060
4061 Severity   : enhancement
4062 Bugzilla   : 3389, 6253
4063 Description: Add support for supplementary groups on the MDS.
4064 Details    : The MDS has an upcall /proc/fs/lustre/mds/{mds}/group_upcall
4065              (set to /usr/sbin/l_getgroups if enabled) which will do MDS-side
4066              lookups for user supplementary groups into a cache.
4067
4068 Severity   : minor
4069 Bugzilla   : 7278
4070 Description: O_CREAT|O_EXCL open flags in liblustre always return -EEXIST
4071 Details    : Make libsysio to not enforce O_EXCL by clearing the flag,
4072              for liblustre O_EXCL is enforced by MDS.
4073
4074 Severity   : minor
4075 Bugzilla   : 6455
4076 Description: readdir never returns NULL in liblustre.
4077 Details    : Corrected llu_iop_getdirentries logic, to return offset of next
4078              dentry in struct dirent.
4079
4080 Severity   : minor
4081 Bugzilla   : 7137
4082 Frequency  : liblustre only, depends on application IO pattern
4083 Description: liblustre clients evicted if not contacting servers
4084 Details    : Don't put liblustre clients into the ping_evictor list, so
4085              they will not be evicted by the pinger ever.
4086
4087 Severity   : enhancement
4088 Bugzilla   : 6902
4089 Description: Add ability to evict clients by NID from MDS.
4090 Details    : By echoing "nid:$NID" string into
4091              /proc/fs/lustre/mds/.../evict_client client with nid that equals to
4092              $NID would be instantly evicted from this MDS and from all active
4093              OSTs connected to it.
4094
4095 Severity   : minor
4096 Bugzilla   : 7198
4097 Description: Do not query file size twice, somewhat slowing stat(2) calls.
4098 Details    : lookup_it_finish() used to query file size from OSTs that was not
4099              needed.
4100
4101 Severity   : minor
4102 Bugzilla   : 6237
4103 Description: service threads change working directory to that of init
4104 Details    : Starting lustre service threads may pin the working directory
4105              of the parent thread, making that filesystem busy.  Threads
4106              now change to the working directory of init to avoid this.
4107
4108 Severity   : minor
4109 Bugzilla   : 6827
4110 Frequency  : during shutdown only
4111 Description: shutdown with a failed MDS or OST can cause unmount to hang
4112 Details    : Don't resend DISCONNECT messages in ptlrpc_disconnect_import()
4113              if server is down.
4114
4115 Severity   : minor
4116 Bugzilla   : 7331
4117 Frequency  : 2.6 only
4118 Description: chmod/chown may include an extra supplementary group
4119 Details    : ll{,u}_mdc_pack_op_data() does not properly initialize the
4120              supplementary group and if none is specified this is used.
4121
4122 Severity   : minor
4123 Bugzilla   : 5479 (6816)
4124 Frequency  : rare
4125 Description: Racing open + rm can assert client in mdc_set_open_replay_data()
4126 Details    : If lookup is in progress on a file that is unlinked we might try
4127              to revalidate the inode and fail in revalidate after lookup is
4128              complete and ll_file_open() enqueues the open again but
4129              it_open_error() was not checking DISP_OPEN_OPEN errors correctly.
4130
4131 Severity   : minor
4132 Frequency  : always, if lconf --abort_recovery used
4133 Bugzilla   : 7047
4134 Description: lconf --abort_recovery fails with 'Operation not supported'
4135 Details    : lconf was attempting to abort recovery on the MDT device and not
4136              the MDS device
4137
4138 ------------------------------------------------------------------------------
4139
4140 2005-08-08  Cluster File Systems, Inc. <info@clusterfs.com>
4141        * version 1.4.4
4142        * bug fixes
4143
4144 Severity   : major
4145 Frequency  : rare (only unsupported configurations with a node running as an
4146              OST and a client)
4147 Bugzilla   : 6514, 5137
4148 Description: Mounting a Lustre file system on a node running as an OST could
4149              lead to deadlocks
4150 Details    : OSTs now preallocates memory needed to write out data at
4151              startup, instead of when needed, to avoid having to
4152              allocate memory in possibly low memory situations.
4153              Specifically, if the file system is mounted on on OST,
4154              memory pressure could force it to try to write out data,
4155              which it needed to allocate memory to do.  Due to the low
4156              memory, it would be unable to do so and the node would
4157              become unresponsive.
4158
4159 Severity   : enhancement
4160 Bugzilla   : 7015
4161 Description: Addition of lconf --service command line option
4162 Details    : lconf now accepts a '--service <arg>' option, which is
4163              shorthand for 'lconf --group <arg> --select <arg>=<hostname>'
4164
4165 Severity   : enhancement
4166 Bugzilla   : 6101
4167 Description: Failover mode is now the default for OSTs.
4168 Details    : By default, OSTs will now run in failover mode.  To return to
4169              the old behaviour, add '--failout' to the lmc line for OSTs.
4170
4171 Severity   : enhancement
4172 Bugzilla   : 1693
4173 Description: Health checks are now provided for MDS and OSTs
4174 Details    : Additional detailed health check information on MSD and OSTs
4175              is now provided through the procfs health_check value.
4176
4177 Severity   : minor
4178 Frequency  : occasional, depends on IO load
4179 Bugzilla   : 4466
4180 Description: Disk fragmentation on the OSTs could eventually cause slowdowns
4181              after numerous create/delete cycles
4182 Details    : The ext3 inode allocation policy would not allocate new inodes
4183              very well on the OSTs because there are no new directories
4184              being created.  Instead we look for groups with free space if
4185              the parent directories are nearly full.
4186
4187 Severity   : major
4188 Bugzilla   : 6302
4189 Frequency  : rare
4190 Description: Network or server problems during mount may cause partially
4191              mounted clients instead of returning an error.
4192 Details    : The config llog parsing code may overwrite the error return
4193              code during mount error handling, returning success instead
4194              of an error.
4195
4196 Severity   : minor
4197 Bugzilla   : 6422
4198 Frequency  : rare
4199 Description: MDS can fail to allocate large reply buffers
4200 Details    : After long uptimes the MDS can fail to allocate large reply
4201              buffers (e.g. zconf client mount config records) due to memory
4202              fragmentation or consumption by the buffer cache.  Preallocate
4203              some large reply buffers so that these replies can be sent even
4204              under memory pressure.
4205
4206 Severity   : minor
4207 Bugzilla   : 6266
4208 Frequency  : rare (liblustre)
4209 Description: fsx running with liblustre complained that using truncate() to
4210              extend the file doesn't work.  This patch corrects that issue.
4211 Details    : This is the liblustre equivalent of the fix for bug 6196.  Fixes
4212              ATTR_SIZE and lsm use in llu_setattr_raw.
4213
4214 Severity   : critical
4215 Bugzilla   : 6866
4216 Frequency  : rare, only 2.6 kernels
4217 Description: Unusual file access patterns on the MDS may result in inode
4218              data being lost in very rare circumstances.
4219 Details    : Bad interaction between the ea-in-inode patch and the "no-read"
4220              code in the 2.6 kernel caused the inode and/or EA data not to
4221              be read from disk, causing single-file corruption.
4222
4223 Severity   : critical
4224 Bugzilla   : 6998
4225 Frequency  : rare, only 2.6 filesystems using extents
4226 Description: Heavy concurrent write and delete load may cause data corruption.
4227 Details    : It was possible under high-load situations to have an extent
4228              metadata block in the block device cache from a just-unlinked
4229              file overwrite a newly-allocated data block.  We now unmap any
4230              metadata buffers that alias just-allocated data blocks.
4231
4232 Severity   : minor
4233 Bugzilla   : 7241
4234 Frequency  : filesystems with default stripe_count larger than 77
4235 Description: lconf+mke2fs fail when formatting filesystem with > 77 stripes
4236 Details    : lconf specifies an inode size of 4096 bytes when the default
4237              stripe_count is larger than 77.  This conflicts with the default
4238              inode density of 1 per 4096 bytes.  Allocate smaller inodes in
4239              this case to avoid pinning too much memory for large EAs.
4240
4241 ------------------------------------------------------------------------------
4242
4243 2005-07-07  Cluster File Systems, Inc. <info@clusterfs.com>
4244        * version 1.4.3
4245        * bug fixes
4246
4247 Severity   : minor
4248 Frequency  : rare (extremely heavy IO load with hundreds of clients)
4249 Bugzilla   : 6172
4250 Description: Client is evicted, gets IO error writing to file
4251 Details    : lock ordering changes for bug 5492 reintroduced bug 3267 and
4252              caused clients to be evicted for AST timeouts.  The fixes in
4253              bug 5192 mean we no longer need to have such short AST timeouts
4254              so ldlm_timeout has been increased.
4255
4256 Severity   : major
4257 Frequency  : occasional during --force or --failover shutdown under load
4258 Bugzilla   : 5949, 4834
4259 Description: Server oops/LBUG if stopped with --force or --failover under load
4260 Details    : a collection of import/export refcount and cleanup ordering
4261              issues fixed for safer force cleanup
4262
4263 Severity   : major
4264 Frequency  : only filesystems larger than 120 OSTs
4265 Bugzilla   : 5990, 6223
4266 Description: lfs getstripe would oops on a very large filesystem
4267 Details    : lov_getconfig used kfree on vmalloc'd memory
4268
4269 Severity   : minor
4270 Frequency  : only filesystems exporting via NFS to Solaris 10 clients
4271 Bugzilla   : 6242, 6243
4272 Description: reading from files that had been truncated to a non-zero size
4273              but never opened returned no data
4274 Details    : ll_file_read() reads zeros from no-object files to EOF
4275
4276 Severity   : major
4277 Frequency  : rare
4278 Bugzilla   : 6200
4279 Description: A bug in MDS/OSS recovery could cause the OSS to fail an assertion
4280 Details    : There's little harm in aborting MDS/OSS recovery and letting it
4281              try again, so I removed the LASSERT and return an error instead.
4282
4283 Severity   : enhancement
4284 Bugzilla   : 5902
4285 Description: New debugging infrastructure for tracking down data corruption
4286 Details    : The I/O checksum code was replaced to: (a) control it at runtime,
4287              (b) cover more of the client-side code path, and (c) try to narrow
4288              down where problems occurred
4289
4290 Severity   : major
4291 Frequency  : rare
4292 Bugzilla   : 3819, 4364, 4397, 6313
4293 Description: Racing close and eviction MDS could cause assertion in mds_close
4294 Details    : It was possible to get multiple mfd references during close and
4295              client eviction, leading to one thread referencing a freed mfd.
4296
4297 Severity:  : enhancement
4298 Bugzilla   : 3262, 6359
4299 Description: Attempts to reconnect to servers are now more aggressive.
4300 Details    : This builds on the enhanced upcall-less recovery that was added
4301              in 1.4.2.  When trying to reconnect to servers, clients will
4302              now try each server in the failover group every 10 seconds.  By
4303              default, clients would previously try one server every 25 seconds.
4304
4305 Severity   : major
4306 Frequency  : rare
4307 Bugzilla   : 6371
4308 Description: After recovery, certain operations trigger a failed
4309              assertion on a client.
4310 Details    : Failing over an mds, using lconf -d --failover, while a
4311              client was doing a readdir() call would cause the client to
4312              LBUG after recovery completed and the readdir() was resent.
4313
4314 Severity   : enhancement
4315 Bugzilla   : 6296
4316 Description: Default groups are now added by lconf
4317 Details    : You can now run lconf --group <servicename> without having to
4318              manually add groups with lmc.
4319
4320 Severity   : major
4321 Frequency  : occasional
4322 Bugzilla   : 6412
4323 Description: Nodes with an elan id of 0 trigger a failed assertion
4324
4325 Severity   : minor
4326 Frequency  : always when accessing e.g. tty/console device nodes
4327 Bugzilla   : 3790
4328 Description: tty and some other devices nodes cannot be used on lustre
4329 Details    : file's private_data field is used by device data and lustre
4330              values in there got lost. New field was added to struct file to
4331              store fs-specific private data.
4332
4333 Severity   : minor
4334 Frequency  : when exporting Lustre via NFS
4335 Bugzilla   : 5275
4336 Description: NFSD failed occasionally when looking up a path component
4337 Details    : NFSD is looking up ".." which was broken in ext3 directories
4338              that had grown large enough to become hashed.
4339
4340 Severity   : minor
4341 Frequency  : Clusters with multiple interfaces not on the same subnet
4342 Bugzilla   : 5541
4343 Description: Nodes will repeatedly try to reconnect to an interface which it
4344              cannot reach and report an error to the log.
4345 Details    : Extra peer list entries will be created by lconf with some peers
4346              unreachable.  lconf now validates the peer before adding it.
4347
4348 Severity   : major
4349 Frequency  : Only if a default stripe is set on the filesystem root.
4350 Bugzilla   : 6367
4351 Description: Setting a default stripe on the filesystem root prevented the
4352              filesystem from being remounted.
4353 Details    : The client was sending extra request flags in the root getattr
4354              request and did not allocate a reply buffer for the dir EA.
4355
4356 Severity   : major
4357 Frequency  : occasional, higher if lots of files are accessed by one client
4358 Bugzilla   : 6159, 6097
4359 Description: Client trips assertion regarding lsm mismatch/magic
4360 Details    : While revalidating inodes the VFS looks up inodes with ifind()
4361              and in rare cases can find an inode that is being freed.
4362              The ll_test_inode() code will free the lsm during ifind()
4363              when it finds an existing inode and then the VFS later attaches
4364              this free lsm to a new inode.
4365
4366 Severity   : major
4367 Frequency  : rare
4368 Bugzilla   : 6422, 7030
4369 Description: MDS deadlock between mkdir and client eviction
4370 Details    : Creating a new file via mkdir or mknod (starting a transaction
4371              and getting the ns lock) can deadlock with client eviction
4372              (gets ns lock and trying to finish a synchronous transaction).
4373
4374 Severity   : minor
4375 Frequency  : occasional
4376 Description: While starting a server, the fsfilt_ext3 module could not be
4377              loaded.
4378 Details    : CFS's improved ext3 filesystem is named ldiskfs for 2.6
4379              kernels.  Previously, lconf would still use the ext3 name
4380              when trying to load modules.  Now, it will correctly use
4381              ext3 on 2.4 and ldiskfs on 2.6.
4382
4383 Severity   : enhancement
4384 Description: The default stripe count has been changed to 1
4385 Details    : The interpretation of the default stripe count (0, to lfs
4386              or lmc) has been changed to mean striping across a single
4387              OST, rather than all available.  For general usage we have
4388              found a stripe count of 1 or 2 works best.
4389
4390 Severity   : enhancement
4391 Description: Add support for compiling against Cray portals.
4392 Details    : Conditional compiling for some areas that are different
4393              on Cray Portals.
4394
4395 Severity   : major
4396 Frequency  : occasional
4397 Bugzilla   : 6409, 6834
4398 Description: Creating files with an explicit stripe count may lead to
4399              a failed assertion on the MDS
4400 Details    : If some OSTs are full or unavailable, creating files may
4401              trigger a failed assertion on the MDS.  Now, Lustre will
4402              try to use other servers or return an error to the
4403              client.
4404
4405 Severity   : minor
4406 Frequency  : occasional
4407 Bugzilla   : 6469
4408 Description: Multiple concurrent overlapping read+write on multiple SMP nodes
4409              caused lock timeout during readahead (since 1.4.2).
4410 Details    : Processes doing readahead might match a lock that hasn't been
4411              granted yet if there are overlapping and conflicting lock
4412              requests.  The readahead process waits on ungranted lock
4413              (original lock is CBPENDING), while OST waits for that process
4414              to cancel CBPENDING read lock and eventually evicts client.
4415
4416 Severity   : enhancement
4417 Bugzilla   : 6931
4418 Description: Initial enabling of flock support for clients
4419 Details    : Implements fcntl advisory locking and file status functions.
4420              This feature is provided as an optional mount flag (default
4421              off), and is NOT CURRENTLY SUPPORTED.  Not all types of record
4422              locking are implemented yet, and those that are are not guaranteed
4423              to be completely correct in production environments.
4424              mount -t lustre -o [flock|noflock] ...
4425
4426 Severity   : major
4427 Frequency  : occasional
4428 Bugzilla   : 6198
4429 Description: OSTs running 2.4 kernels but with extents enabled might trip an
4430              assertion in the ext3 JBD (journaling) layer.
4431 Details    : The b_committed_data struct is protected by the big kernel lock
4432              in 2.4 kernels, serializing journal_commit_transaction() and
4433              ext3_get_block_handle->ext3_new_block->find_next_usable_block()
4434              access to this struct.  In 2.6 kernels there is finer grained
4435              locking to improve SMP performance of the JBD layer.
4436
4437 Severity   : minor
4438 Bugzilla   : 6147
4439 Description: Changes the "SCSI I/O Stats" kernel patch to default to "enabled"
4440
4441 Severity   : Minor
4442 Frequency  : Rare
4443 Bugzilla   : 11248
4444 Description: merge and cleanup kernel patches.
4445 Details    :
4446
4447 -----------------------------------------------------------------------------
4448
4449 2005-05-05  Cluster File Systems, Inc. <info@clusterfs.com>
4450        * version 1.4.2
4451        NOTE: Lustre 1.4.2 uses an incompatible network protocol than previous
4452              versions of Lustre.  Please update all servers and clients to
4453              version 1.4.2 or later at the same time.  You must also run
4454              "lconf --write-conf {config}.xml" on the MDS while it is stopped
4455              to update the configuration logs.
4456        * bug fixes
4457         - fix for HPUX NFS client breakage when NFS exporting Lustre (5781)
4458         - mdc_enqueue does not need max_mds_easize request buffer on send (5707)
4459         - swab llog records of type '0' so we get proper header size/idx (5861)
4460         - send llog cancel req to DLM cancel portal instead of cb portal (5515)
4461         - fix rename of one directory over another leaking an inode (5953)
4462         - avoid SetPageDirty on 2.6 (5981)
4463         - don't re-add just-being-destroyed locks to the waiting list (5653)
4464         - when creating new directories, inherit the parent's custom
4465           striping settings if present parent (3048)
4466         - flush buffers from cache before direct IO in 2.6 obdfilter (4982)
4467         - don't hold i_size_sem in ll_nopage() and ll_ap_refresh_count (6077)
4468         - don't hold client locks on temporary worklist from l_lru (5666)
4469         - handle IO errors in 2.6 obdfilter bio completion routine (6046)
4470         - automatically evict dead clients (5921)
4471         - Update file size properly in create+truncate+fstat case (6196)
4472         - Do not unhash mountpoint dentries, do not allow removal of
4473           mountpoints (5907)
4474         - Avoid lock ordering deadlock issue with write/truncate (6203,5654)
4475         - reserve enough journal credits in fsfilt_start_log for setattr (4554)
4476         - ldlm_enqueue freed-export error path would always LBUG (6149,6184)
4477         - don't reference lr_lvb_data until after we hold lr_lvb_sem (6170)
4478         - don't overwrite last_rcvd if there is a *_client_add() error (6086)
4479         - Correctly handle reads of files with no objects (6243)
4480         - lctl recover will also mark a device active if deactivate used (5933)
4481         * miscellania
4482         - by default create 1 inode per 4kB space on MDS, per 16kB on OSTs
4483         - allow --write-conf on an MDS with different nettype than client (5619)
4484         - don't write config llogs to MDS for mounts not from that MDS (5617)
4485         - lconf should create multiple TCP connections from a client (5201)
4486         - init scripts are now turned off by default; run chkconfig --on
4487           lustre and chkconfig --on lustrefs to use them
4488         - upcalls are no longer needed for clients to recover to failover
4489           servers (3262)
4490         - add --abort-recovery option to lconf to abort recovery on device
4491           startup (6017)
4492         - add support for an arbitrary number of OSTs (3026)
4493         - Quota support protocol changes.
4494         - forward compatibility changes to wire structs (6007)
4495         - rmmod NALs that might be loaded because of /etc/modules.conf (6133)
4496         - support for mountfsoptions and clientoptions to the Lustre LDAP (5873)
4497         - improved "lustre status" script
4498         - initialize blocksize for non-regular files (6062)
4499         - added --disable-server and --disable-client configure options (5782)
4500         - introduce a lookup cache for lconf to avoid repeated DB scans (6204)
4501         - Vanilla 2.4.29 support
4502         - increase maximum number of obd devices to 520 (6242)
4503         - remove the tcp-zero-copy patch from the suse-2.4 series (5902)
4504         - Quadrics Elan drivers are now included for the RHEL 3 2.4.21 and
4505           SLES 9 2.6.5 kernels
4506         - limit stripes per file to 160 (the maximum EA size) (6093)
4507
4508 2005-03-22  Cluster File Systems, Inc. <info@clusterfs.com>
4509        * version 1.4.1
4510        * bug fixes
4511         - don't LASSERT in ll_release on NULL lld with NFS export (4655, 5760)
4512         - hold NS lock when calling handle_ast_error->del_waiting_lock (5746)
4513         - fix setattr mtime regression from lovcleanup merge (4829, 5669)
4514         - workaround for 2.6 crash in ll_unhash_aliases (5687, 5210)
4515         - small ext3 extents cleanups and fixes (5733)
4516         - improved mballoc code, several small races and bugs fixed (5733, 5638)
4517         - kernel version 43 - fix remove_suid bugs in both 2.4 and 2.6 (5695)
4518         - avoid needless client->OST connect, fix handle mismatch (5317)
4519         - fix DLM error path that led to out-of-sync client, long delays (5779)
4520         - support common vfs-enforced mount options (nodev,nosuid,noexec) (5637)
4521         - fix several locking issues related to i_size (5492,5624,5654,5672)
4522         - don't move pending lock onto export if it is already evicted (5683)
4523         - fix kernel oops when creating .foo in unlinked directory (5548)
4524         - fix deadlock in obdfilter statistics vs. object create (5811)
4525         - use time_{before,after} to avoid timer jiffies wrap (5882)
4526         - shutdown --force/--failover stability (3607,3651,4797,5203,4834)
4527         - Do not leak request if server was not able to process it (5154)
4528         - If mds_open unable to find parent dir, make that negative lookup(5154)
4529         - don't create new directories with extent-mapping (5909, 5936)
4530        * miscellania
4531         - fix lustre/lustrefs init scripts for SuSE (patch from Scali, 5702)
4532         - don't hold the pinger_sem in ptlrpc_pinger_sending_on_import
4533         - change obd_increase_kms to obd_adjust_kms (up or down) (5654)
4534         - lconf, lmc search both /usr/lib and /usr/lib64 for Python libs (5800)
4535         - support for RHEL4 kernel on i686 (5773)
4536         - provide error messages when incompatible logs are encountered (5898)
4537
4538 2005-02-18  Cluster File Systems, Inc. <info@clusterfs.com>
4539        * version 1.4.0.10 (1.4.1 release candidate 1)
4540        * bug fixes
4541         - don't keep a lock reference when lock is not granted (4238)
4542         - unsafe list practices (rarely) led to infinite eviction loop (4908)
4543         - add per-fs limit of Lustre pages in page cache, avoid OOM (4699)
4544         - drop import inflight refcount on signal_completed_replay error (5255)
4545         - unlock page after async write error during send (3677)
4546         - handle missing objects in filter_preprw_read properly (5265)
4547         - no transno return for symlink open, don't save no-trasno open (3440)
4548         - don't try to complete elan receive that already failed (4012)
4549         - free RPC server reply state on error (5406)
4550         - clean up thread from ptlrpc_start_thread() on error (5160)
4551         - readahead could read extra page into cache that wasn't ejected (5388)
4552         - prevent races in class_attach/setup/cleanup/detach (5260)
4553         - don't dereference de->d_inode after l_dput of de (5458)
4554         - use "int" for stripe value returned from lock_to_stripe (5544)
4555         - mballoc allocation and error-checking fixes in 2.6 (5504)
4556         - block device patches to fix I/O request sizes in 2.6 (5482)
4557         - look up hostnames for IB nals (5602)
4558         - 2.6 changed lock ordering of 2 semaphores, caused deadlock (5654)
4559         - don't start multiple acceptors for the same port (5277)
4560         - fix incorrect LASSERT in mds_getattr_name (5635)
4561         - export a proc file for general "ping" checking (5628)
4562         - fix "lfs check" to not block when the MDS is down (5628)
4563        * miscellania
4564         - service request history (4965)
4565         - put {ll,lov,osc}_async_page structs in a single slab (4699)
4566         - create an "evict_client" /proc entry on OSTs, like the MDS has
4567         - fix mount usage message, return errors per mount(8) (5168)
4568         - change grep [] to grep "[]" in tests so they work in more UMLs
4569         - fix ppc64/x86_64 spec to use %{_libdir} instead of /usr/lib (5389)
4570         - remove ancient LOV_MAGIC_V0 EA support (5047)
4571         - add "disk I/Os in flight" and "I/O req time" stats in obdfilter
4572         - align r/w RPCs to PTLRPC_MAX_BRW_SIZE boundary for performance (3451)
4573         - allow readahead allocations to fail when low on memory (5383)
4574         - mmap locking landed again, after considerable improvement (2828)
4575         - add get_hostaddr() to lustreDB.py for LDAP support (5459)
4576
4577 2004-11-23  Cluster File Systems, Inc. <info@clusterfs.com>
4578        * version 1.4.0
4579        * bug fixes
4580         - send OST transaction number in read/write reply to free req (4966)
4581         - don't ASSERT in ptl_send_rpc() if we run out of memory (5119)
4582         - lock /proc/sys/portals/routes internal state, avoiding oops (4827)
4583         - the watchdog thread now runs as interruptible (5246)
4584         - flock/lockf fixes (but it's still disabled, pending 5135)
4585         - don't use EXT3 constants in llite code (5094)
4586         - memory shortage at startup could cause assertion (5176)
4587        * miscellania
4588         - reorganization of lov code
4589         - single portals codebase
4590         - Infiniband NAL
4591         - add extents/mballoc support (5025)
4592         - direct I/O reads in the obdfilter (4048)
4593         - kernel patches from LNXI for 2.6 (bluesmoke, perfctr, mtd, kexec)
4594
4595 tbd         Cluster File Systems, Inc. <info@clusterfs.com>
4596        * version 1.2.9
4597        * bug fixes
4598         - send OST transaction number in read/write reply to free req (4966)
4599         - don't ASSERT in ptl_send_rpc() if we run out of memory (5119)
4600         - lock /proc/sys/portals/routes internal state, avoiding oops (4827)
4601         - the watchdog thread now runs as interruptible (5246)
4602         - handle missing objects in filter_preprw_read properly (5265)
4603         - unsafe list practices (rarely) led to infinite eviction loop (4908)
4604         - drop import inflight refcount on signal_completed_replay error (5255)
4605         - unlock page after async write error during send (3677)
4606         - return original error code on reconstructed replies (3761)
4607         - no transno return for symlink open, don't save no-trasno open (3440)
4608        * miscellania
4609         - add pid to ldlm debugging output (4922)
4610         - bump the watchdog timeouts -- we can't handle 30sec yet
4611         - extra debugging for orphan dentry/inode bug (5259)
4612
4613 2004-11-16  Cluster File Systems, Inc. <info@clusterfs.com>
4614        * version 1.2.8
4615        * bug fixes
4616         - fix TCP_NODELAY bug, which caused extreme perf regression (5134)
4617         - allocate qswnal tx descriptors singly to avoid fragmentation (4504)
4618         - don't LBUG on obdo_alloc() failure, use OBD_SLAB_ALLOC() (4800)
4619         - fix NULL dereference in /proc/sys/portals/routes (4827)
4620         - allow failed mdc_close() operations to be interrupted (4561)
4621         - stop precreate on OST before MDS would time out on it (4778)
4622         - don't send partial-page writes before EOF from client (4410)
4623         - discard client grant for sub-page writes on large-page clients (4520)
4624         - don't free dentries not owned by NFS code, check generation (4806)
4625         - fix lsm leak if mds_create_objects() fails (4801)
4626         - limit debug_daemon file size, always print CERROR messages (4789)
4627         - use transno after validating reply (3892)
4628         - process timed out requests if import state changes (3754)
4629         - update mtime on OST during writes, return in glimpse (4829)
4630         - add mkfsoptions to LDAP (4679)
4631         - use ->max_readahead method instead of zapping global ra (5039)
4632         - don't interrupt __l_wait_event() during strace
4633        * miscellania
4634         - add software watchdogs to catch hung threads quickly (4941)
4635         - make lustrefs init script start after nfs is mounted
4636         - fix CWARN/ERROR duplication (4930)
4637         - return async write errors to application if possible (2248)
4638         - add /proc/sys/portal/memused (bytes allocated by PORTALS_ALLOC)
4639         - print NAL number in %x format (4645)
4640         - update barely-supported suse-2.4.21-171 series (4842)
4641         - support for sles 9 %post scripts
4642         - support for building 2.6 kernel-source packages
4643         - support for sles km_* packages
4644
4645 2004-10-07  Cluster File Systems, Inc. <info@clusterfs.com>
4646        * version 1.2.7
4647        * bug fixes
4648         - ignore -ENOENT errors in osc_destroy (3639)
4649         - notify osc create thread that OSC is being cleaned up (4600)
4650         - add nettype argument for llmount in #5d in conf-sanity.sh (3936)
4651         - reconstruct ost_handle() like mds_handle() (4657)
4652         - create a new thread to do import eviction to avoid deadlock (3969)
4653         - let lconf resolve symlinked-to devices (4629)
4654         - don't unlink "objects" from directory with default EA (4554)
4655         - hold socknal file ref over connect in case target is down (4394)
4656         - allow more than 32000 subdirectories in a single directory (3244)
4657         - fix blocks count for O_DIRECT writes (3751)
4658         - OST returns ENOSPC from object create when no space left (4539)
4659         - don't send truncate RPC if file size isn't changing (4410)
4660         - limit OSC precreate to 1/2 of value OST considers bogus (4778)
4661         - bind to privileged port in socknal and tcpnal (3689)
4662        * miscellania
4663         - rate limit CERROR/CWARN console message to avoid overload (4519)
4664         - GETFILEINFO dir ioctl returns LOV EA + MDS stat in 1 call (3327)
4665         - basic mmap support (3918)
4666         - kernel patch series update from b1_4 (4711)
4667
4668 2004-09-16  Cluster File Systems, Inc. <info@clusterfs.com>
4669        * version 1.2.6
4670        * bug fixes
4671         - avoid crash during MDS cleanup with OST shut down (2775)
4672         - fix loi_list_lock/oig_lock inversion on interrupted IO (4136)
4673         - don't use bad inodes on the MDS (3744)
4674         - dynamic object preallocation to improve recovery speed (4236)
4675         - don't hold spinlock over lock dumping or change debug flags (4401)
4676         - don't zero obd_dev when it is force cleaned (3651)
4677         - print grants to console if they go negative (4431)
4678         - "lctl deactivate" will stop automatic recovery attempts (3406)
4679         - look for existing locks in ldlm_handle_enqueue() (3764)
4680         - don't resolve lock handle twice in recovery avoiding race (4401)
4681         - revalidate should check working dir is a directory (4134)
4682        * miscellania
4683         - don't always mark "slow" obdfilter messages as errors (4418)
4684
4685 2004-08-24  Cluster File Systems, Inc. <info@clusterfs.com>
4686        * version 1.2.5
4687        * bug fixes
4688         - don't close LustreDB during write_conf until it is done (3860)
4689         - fix typo in lconf for_each_profile (3821)
4690         - allow dumping logs from multiple threads at one time (3820)
4691         - don't allow multiple threads in OSC recovery (3812)
4692         - fix debug_size parameters (3864)
4693         - fix mds_postrecov to initialize import for llog ctxt (3121)
4694         - replace config semaphore with spinlock (3306)
4695         - be sure to send a reply for a CANCEL rpc with bad export (3863)
4696         - don't allow enqueue to complete on a destroyed export (3822)
4697         - down write_lock before checking llog header bitmap (3825)
4698         - recover from lock replay timeout (3764)
4699         - up llog sem before sending rpc (3652)
4700         - reduce ns lock hold times when setting kms (3267)
4701         - change a dlm LBUG to LASSERTF, to maybe learn something (4228)
4702         - fix NULL deref and obd_dev leak on setup error (3312)
4703         - replace some LBUG about llog ops with error handling (3841)
4704         - don't match INVALID dentries from d_lookup and spin (3784)
4705         - hold dcache_lock while marking dentries INVALID and hashing (4255)
4706         - fix invalid assertion in ptlrpc_set_wait (3880)
4707        * miscellania
4708         - add libwrap support for the TCP acceptor (3996)
4709         - add /proc/sys/portals/routes for non-root route listing (3994)
4710         - allow setting MDS UUID in .xml (2580)
4711         - print the stack of a process that LBUGs (4228)
4712
4713 2004-07-14  Cluster File Systems, Inc. <info@clusterfs.com>
4714        * version 1.2.4
4715        * bug fixes
4716         - don't cleanup request in ll_file_open() on failed MDS open (3430)
4717         - make sure to unset replay flag from failed open requests (3440)
4718         - if default stripe count is 0, use OST count for inode size (3636)
4719         - update parent mtime/ctime on client for create/unlink (2611)
4720         - drop dentry ref in ext3_add_link from open_connect_dentry (3266)
4721         - free recovery state on server during a forced cleanup (3571)
4722         - unregister_reply for resent reqs (3063)
4723         - loop back devices mounting and status check on 2.6 (3563)
4724         - fix resource-creation race that can provoke i_size == 0 (3513)
4725         - don't try to use bad inodes returned from MDS/OST fs lookup (3688)
4726         - more debugging for page-accounting assertion (3746)
4727         - return -ENOENT instead of asserting if ost getattr+unlink race (3558)
4728         - avoid deadlock after precreation failure (3758)
4729         - fix race and lock order deadlock in orphan handling (3450, 3750)
4730         - add validity checks when grabbing inodes from l_ast_data (3599)
4731        * miscellania
4732         - add /proc/.../recovery_status to obdfilter (3428)
4733         - lightweight CDEBUG infrastructure, debug daemon (3668)
4734         - change default OSC RPC parameters to be better on small clusters
4735         - turn off OST read cache for files smaller than 32MB
4736         - install man pages and include them in rpms (3100)
4737         - add new init script for (un)mounting lustre filesystems (2593)
4738         - run chkconfig in %post for init scripts (3701)
4739         - drop scimac NAL (unmaintained)
4740
4741 2004-06-17  Cluster File Systems, Inc. <info@clusterfs.com>
4742        * version 1.2.3
4743        * bug fixes
4744         - clean kiobufs before and after use (3485)
4745         - strip trailing '/'s before comparing paths with /proc/mounts (3486)
4746         - remove assertions to work around "in-flight rpcs" recovery bug (3063)
4747         - change init script to fail more clearly if not run as root (1528)
4748         - allow clients to reconnect during replay (1742)
4749         - fix ns_lock/i_sem lock ordering deadlock for kms update (3477)
4750         - don't do DNS lookups on NIDs too small for IP addresses (3442)
4751         - re-awaken ptlrpcd if new requests arrive during check_set  (3554)
4752         - fix cond_resched  (3554)
4753         - only evict unfinished clients after recovery (3515)
4754         - allow bulk resend, prevent data loss (3570)
4755         - dynamic ptlrpc request buffer allocation (2102)
4756         - don't allow unlinking open directory if it isn't empty (2904)
4757         - set MDS/OST threads to umask 0 to not clobber client modes (3359)
4758         - remove extraneous obd dereference causing LASSERT failure (3334)
4759         - don't use get_cycles() when creating temp. files on the mds (3156)
4760         - hold i_sem when setting i_size in ll_extent_lock() (3564)
4761         - handle EEXIST for set-stripe, set proper directory name (3336)
4762        * miscellania
4763         - servers can dump a log evicting a client - lustre.dump_on_timeout=1
4764         - fix ksocknal_fmb_callback() error messages (2918)
4765
4766 2004-05-27  Cluster File Systems, Inc. <info@clusterfs.com>
4767        * version 1.2.2
4768        * bug fixes
4769         - don't copy lvb into (possibly NULL) reply on error (2983)
4770         - don't deref dentry after dput, don't free lvb on error (2922)
4771         - use the kms to determine writeback rpc length (2947)
4772         - increment oti_logcookies when osc is inactive (2948)
4773         - update client's i_blocks count via lvb messages (2543)
4774         - handle intent open/close of special files properly (1557)
4775         - mount MDS with errors=remount-ro, like obdfilter (2009)
4776         - initialize lock handle to avoid ASSERT on error cleanup (3057)
4777         - don't use cancelling-locks' kms values (2947)
4778         - use highest lock extent for kms, not last one (2925)
4779         - don't dereference ERR_PTR() dentry in error handling path (3107)
4780         - fix thread race in portals_debug_dumplog() (3122)
4781         - create lprocfs device entries at setup instead of at attach (1519)
4782         - common AST error handler, don't evict client on completion race (3145)
4783         - zero nameidata in detach_mnt in 2.6 (3118)
4784         - verify d_inode after revalidate_special is valid in 2.6 (3116)
4785         - use lustre_put_super() to handle zconf unmounts in 2.6 (3064)
4786         - initialize RPC timeout timer earlier for 2.6 (3219)
4787         - don't dereference NULL reply buffer if mdc_close was never sent (2410)
4788         - print nal/nid for unknown nid (3258)
4789         - additional checks for oscc recovery before doing precreate (3284)
4790         - fix ll_extent_lock() error return code for 64-bit systems (3043)
4791         - don't crash in mdc_close for bad permissions on open (3285)
4792         - zero i_rdev for non-device files (3147)
4793         - clear page->private before handing to FS, better assertion (3119)
4794         - tune the read pipeline (3236)
4795         - fix incorrect decref of invalidated dentry (2350)
4796         - provide read-ahead stats and refine rpc in flight stats (3328)
4797         - don't hold journal transaction open across create RPC (3313)
4798         - update atime on MDS at close time (3265)
4799         - close LDAP connection when recovering to avoid server load (3315)
4800         - update iopen-2.6 patch with fixes from 2399,2517,2904 (3301)
4801         - don't leak open file on MDS after open resend (3325)
4802         - serialize filter_precreate and filter_destroy_precreated (3329)
4803         - loop device shouldn't call sync_dev() for nul device (3092)
4804         - clear page cache after eviction (2766)
4805         - resynchronize MDS->OST in background (2824)
4806         - refuse to mount the same filesystem twice on same mountpoint (3394)
4807         - allow llmount to create routes for mounting behind routers (3320)
4808         - push lock cancellation to blocking thread for glimpse ASTs (3409)
4809         - don't call osc_set_data_with_check() for TEST_LOCK matches (3159)
4810         - fix rare problem with rename on htree directories (3417)
4811        * miscellania
4812         - allow default OST striping configuration per directory (1414)
4813         - fix compilation for qswnal for 2.6 kernels (3125)
4814         - increase maximum number of MDS request buffers for large systems
4815         - change liblustreapi to be useful for external progs like lfsck (3098)
4816         - increase local configuration timeout for slow disks (3353)
4817         - allow configuring ldlm AST timeout - lustre.ldlm_timeout=<seconds>
4818
4819 2004-03-22  Cluster File Systems, Inc. <info@clusterfs.com>
4820        * version 1.2.1
4821        * bug fixes
4822         - fixes for glimpse AST timeouts / incorrectly 0-sized files (2818)
4823         - don't overwrite extent policy data in reply if lock was blocked (2901)
4824         - drop filter export grants atomically with removal from device (2663)
4825         - del obd_self_export from work_list in class_disconnect_exports (2908)
4826         - don't LBUG if MDS recovery times out during orphan cleanup (2530)
4827         - swab reply message in mdc_close, other PPC fixes (2464)
4828         - fix destroying of named logs (2325)
4829         - overwrite old logs when running lconf --write_conf (2264)
4830         - bump LLOG_CHUNKSIZE to 8k to allow for larger clusters (2306)
4831         - fix race in target_handle_connect (2898)
4832         - mds_reint_create() should take same inode create lock (2926)
4833         - correct journal credits calculated for CANCEL_UNLINK_LOG (2931)
4834         - don't close files for self_export to avoid uninitialized obd (2936)
4835         - allow MDS with the same name as client node (2939)
4836         - hold dentry reference for closed log files for unlink (2325)
4837         - reserve space for all logs during transactions (2059)
4838         - don't evict page beyond end of stripe extent (2925)
4839         - don't oops on a deleted current working directory (2399)
4840         - handle hard links to targets without a parent properly (2517)
4841         - don't dereference NULL lock when racing during eviction (2867)
4842         - don't grow lock extents when lots of conflicting locks (2919)
4843
4844 2004-03-04  Cluster File Systems, Inc. <info@clusterfs.com>
4845        * version 1.2.0
4846        * bug fixes
4847         - account for cache space usage on clients to avoid data loss (974)
4848         - lfsck support in lustre kernel code (2349)
4849         - reduce journal credits needed for BRW writes (2370)
4850         - orphan handling to avoid losing space on client/server crashes
4851         - ptlrpcd can be blocked, stopping ALL progress (2477)
4852         - use lock value blocks to assist in proper KMS, faster stat (1021)
4853         - takes i_sem instead of DLM locks internally on obdfilter (2720)
4854         - recovery for initial connections (2355)
4855         - fixes for mds_cleanup_orphans (1934)
4856         - abort_recovery crashes MDS in b_eq (mds_unlink_orphan) (2584)
4857         - block all file creations until orphan recovery completes (1901)
4858         - client remove rq_connection from request struct (2423)
4859         - conf-sanity test_5, proper cleanup in umount log not availale (2640)
4860         - recovery timer race (2670)
4861         - mdc_close recovey bug (2532)
4862         - ptlrpc cleanup bug (2710)
4863         - mds timeout on local locks (2588)
4864         - namespace lock held during RPCs (2431)
4865         - handle interrupted sync write properly (2503)
4866         - don't try to handle a message that hasn't been replied to (2699)
4867         - client assert failure during cleanup after abort recovery (2701)
4868         - leak mdc device after failed mount (2712)
4869         - ptlrpc_check_set allows timedout requests to complete (2714)
4870         - wait for inflight reqs when ptlrpcd finishes (2710)
4871         - make sure unregistered services are removed from the srv_list
4872         - reset bulk XID's when resending them (caught by 1138 test)
4873         - unregister_bulk after timeout
4874         - fix lconf error (2694)
4875         - handle write after unfinished setstripe, stripe-only getstripe (2388)
4876         - readahead locks pages, leaves pending causing memory pressure (2673)
4877         - increase OST request buffers to 4096 on large machines (2729)
4878         - fix up permission of existing directories in simple_mkdir (2661)
4879         - init deleted item, add assertions ptlrpc_abort_inflight() (2725)
4880         - don't assign transno to errored transactions (2742)
4881         - don't delete objects on OST if given a bogus objid from MDS (2751)
4882         - handle large client PAGE_SIZE readdir on small PAGE_SIZE MDS (2777)
4883         - if rq_no_resend, then timeout request after recovery (2432)
4884         - fix MDS llog_logid record size, 64-bit array alignment (2733)
4885         - don't call usermode_helper from ptlrpcd, DEFAULT upcall (2773)
4886         - put magic in mount.lustre data, check for bad/NULL mount data (2529)
4887         - MDS recovery shouldn't delete objects that it has given out (2730)
4888         - if enqueue arrives after completion, don't clobber LVB (2819)
4889         - don't unlock pages twice when trigger_group_io returns error (2814)
4890         - don't deref NULL rq_repmsg if ldlm_handle_enqueue failed (2822)
4891         - don't write pages to disk if there was an error (1450)
4892         - don't ping imports that have recovery disabled (2676)
4893         - take buffered bytes into account when balancing socknal conn (2817)
4894         - hold a DLM lock over readdir always, use truncate_inode_pages (2706)
4895         - reconnect unlink llog connection after MDS reconnects to OST (2816)
4896         - remove little-endian swabbing of llog records (1987)
4897         - set/limit i_blksize to LL_MAX_BLKSIZE on client (2884)
4898         - retry reposting request buffers if they fail (1191)
4899         - grow extent at grant time to avoid granting a revoked lock (2809)
4900         - lock revoke doesn't evict page if covered by a second lock (2765)
4901         - disable VM readahead to avoid reading outside lock extents (2805)
4902        * miscellania
4903         - return LL_SUPER_MAGIC from statfs for the filesystem type (1972)
4904         - updated kernel patches for hp-2.4.20 kernel (2681)
4905
4906 2004-02-07  Cluster File Systems, Inc. <info@clusterfs.com>
4907        * version 1.0.4
4908        * kernel patches
4909         - fix truncated write corruption (2366)
4910         - fix for failed assertion in iopen_connect_dentry (1792,2517)
4911        * bug fixes
4912         - don't flag the ptlrpcd thread with PF_MEMALLOC (2636)
4913         - ensure len(uuid) < 37 in lmc (1171)
4914         - fix ia64 OOPS in llog_test (2255)
4915         - zero end of page at obdfilter for partial page writes (2648)
4916         - don't leave stale dentries around after renames (bug 2428)
4917         - fix timeouts when evicting a client with a single lock held (2642)
4918         - set deadline for the initial HELLO message to drain (2634)
4919         - print out dotted-quad IP addresses in the socknal (2302)
4920        * miscellania
4921         - additional debugging for MDS client eviction problem (2443)
4922         - fix mkfsoptions support for osts (2603, 2604)
4923
4924 2004-01-27  Cluster File Systems, Inc. <info@clusterfs.com>
4925        * version 1.0.3
4926        * kernel patches
4927         - add series for the vanilla 2.6.0 kernel
4928         - add series for the vanilla 2.4.24 kernel
4929         - add series for a cray x86/64 UL kernel drop
4930         - fix xattr patches for the vanilla 2.4.19 series
4931        * bug fixes
4932         - generate true UUIDs in lmc (1171)
4933         - have portals stack dumping break in UML (2466)
4934         - avoid bad dchild deref; avoid inum lock w/o creation (2362)
4935         - allocate with _NOFS in ldlm to avoid deadlock (1933)
4936         - wake callback waiting threads on client eviction (2460)
4937         - Add --ptldebug and --subsystem to lmc (1719)
4938         - update assertion to allow safe interrupt allocation
4939         - set rq_no_resend for cancel requests (2432)
4940         - recalculate ptlrpcd timeout after resend (2494)
4941         - call vfs_rmdir when removing pending directories (2368)
4942         - fix renaming a file to itself (2429)
4943         - lmc creates a default one-stripe lov (2454)
4944         - expand procfs space to handle large clusters (2326)
4945         - increase UML stack to avoid overflow
4946         - update lconf's list of debug and subsystem masks
4947         - fix lfs find --obd (2510)
4948         - /proc tunable for disabling filter read caching (2591)
4949         - stop rpm packages from altering slapd.conf (2301)
4950         - disable nagle in the socknal under 0conf (2578)
4951         - choose mds inode size based on stripe count (2572)
4952         - fix kernel-source rpm problems (2516)
4953        * miscellania
4954         - add --disable-doc to avoid pdf generation (2421)
4955         - update documentation, tests, type-os, comments
4956         - avoid format warnings on ia64
4957         - remove the TOE NAL
4958         - tiny code cleanups by removing unused fields
4959
4960 2004-01-07  Cluster File Systems, Inc. <info@clusterfs.com>
4961        * version 1.0.2
4962        * bug fixes
4963         - fix obvious semaphore misuse in as-yet-unused setattr path (2348)
4964         - remove the most blatant lies from BUILDING file (2371)
4965         - change default debug level to reasonable production setting
4966         - reduce client side cache size to reduce cache flush time
4967         - reduce max RPCs in flight to avoid unnecessary file fragmentation
4968         - make TCP zerocopy and pinger support enabled by default (2476)
4969         - sync writes completed after process exits caused crashes (2319)
4970         - maintain correct mount count on the MDS (2356)
4971         - backout 1557, because 2316 wasn't really fixed
4972         - better file I/O statistics gathering in /proc
4973         - don't take unnecessary, deadlock-inducing bug in readpage (2383)
4974         - another kernel patch to fix zero-copy TCP function export
4975         - don't take duplicate lock when processing re-sent getattr (2420)
4976         - lctl uses obd_self_export instead of creating new conn (2353)
4977         - MDS/OST recovery case which requires object creation asserted (2425)
4978         - move lfs from /usr/sbin to /usr/bin in packages
4979         - fix race between mds_client_add and mds_client_free (2417)
4980         - use kmalloc instead of slabs in portals (2430)
4981         - don't create duplicate records when a failover MDS is present (2442)
4982         - remove unnecessary mount age check (2332)
4983         - don't remove directory inodes from locks prematurely (2451)
4984         - don't break if MDS service name is the same as hostname (2103)
4985         - fix races in client write RPC generation when cache full (2482)
4986
4987 2003-12-13  Cluster File Systems, Inc. <info@clusterfs.com>
4988        * version 1.0.1
4989        * bug fixes
4990         - remove now-unused request->rq_obd (278)
4991         - if an allocation fails, print out how much memory we've used (1933)
4992         - use PORTAL_SLAB_ALLOC for structures, to get GFP_MEMALLOC (1933)
4993         - add the "configurable stack size" patch to most series files (1256)
4994         - ability to write large log records, for 100+ OST configs (2306)
4995         - fix NULL deref when filter_prep fails (2314)
4996         - fix operator precedence error in filter_sync
4997         - dynamic allocation of socknal TX descriptors (2315)
4998         - fix a missed case in the GFP_MEMALLOC patch, can cause deadlock (2310)
4999         - fix gcc 2.96 compilation problem in xattr kernel patch (2294)
5000         - ensure that CWARN messages in Portals always get to the syslog
5001         - __init/__exit are not for prototype decls (ldlm_init/exit)
5002         - x86-64 compile warning fixes
5003         - fix gateway LMC keyword conflict (2318)
5004         - fix MDS lock inversions in getattr/reint paths (1844)
5005         - fix a rare lock re-ordering bug, which caused deadlock (2322)
5006         - fix i_sem/journal inversion in fsfilt_ext3_write_record (2306)
5007         - DLM race condition prevented some lock evictions (2328)
5008         - ENOMEM detection and retry on socknal sends (2230)
5009         - use GFP_NOFS throughout Lustre, to combat ENOMEM (2230)
5010         - move osc_rpcd into ptlrpc, for use in MDC and others (2329)
5011         - protect MDS inode fsdata with stronger locking; fixes assertion (2313)
5012         - better error messages when a client is rejected during recovery (1505)
5013         - avoid cancelling locks which were never granted, after failure (2330)
5014         - fix i_sem/journal inversion in mds_client_add (2333)
5015         - fix truncate/getattr lock cycle deadlock (2334)
5016         - use rpcd to send close; allows resend after timeout, avoid leak (1897)
5017         - fix two rare exit paths which could leak an l_lock() ref (2321)
5018         - fencepost error in MDS/OST orphan recovery (2226)
5019         - make log record alignment 8 bytes (1988)
5020         - lstripe now fails when requested offset > ost_count (2237)
5021         - ensure that all kernel series have a complete list.h (1607)
5022         - fix crashes in special-file operations (2316)
5023         - lctl create/brw OID mismatch, caused by obsolete filter loop (2339)
5024        * miscellania
5025         - allow configurable automake binary, for testing new versions
5026         - small update to the lfs documentation
5027
5028 2003-12-03  Cluster File Systems, Inc. <info@clusterfs.com>
5029        * version 1.0.0
5030        * fix negative export reference count in fsfilt_sync (2312)
5031
5032 2003-12-01  Cluster File Systems, Inc. <info@clusterfs.com>
5033        * release candidate 0.9.1
5034        * bug fixes
5035         - orphans are moved into the PENDING directory for possible recovery
5036         - replayed opens now open by fid for orphan/rename safety (1042)
5037         - last close of an orphan inode generates a transno (683)
5038         - chdir() and mount() now pin the directory entry (1020)
5039         - avoid CERROR in normal ll_setattr_raw() error case (1500)
5040         - discard very old requests without processing them (1502)
5041         - remove some common, well-understood CERRORs (1505)
5042         - require O_DIRECT I/O to be page-sized to workaround IA64 crash (1609)
5043         - clear "grant" flags in OST replies until OST grant code lands (1644)
5044         - fix read performance by not clobbering i_blksize on client (1598)
5045         - fix __ldlm_handle2lock oops by not dereferencing lock after PUT (1625)
5046         - make LRU size a /proc tunable, clears locks when reduced (707)
5047         - fix some lprocfs rot that prevented ptlbd from loading (1732)
5048         - server locks take references on exports now (1558)
5049         - build fixes for 2.4.20-rh trees (1663)
5050         - return an error from lov_create if all OSCs are inactive (1751)
5051         - fix import levels when a reconnect happens without a timeout (1597)
5052         - exit early from mds_open if we get a lookup error (1749)
5053         - partial page read at EOF wouldn't wait for disk before sending (1642)
5054         - avoid NULL deref in obdfilter when reading page past EOF (1592)
5055         - avoid LASSERT in ll_intent_lock if server failed very early (1090)
5056         - fix LBUG in ll_it_open_error with rc = -2 (1861)
5057         - write/truncate lock inversion (1639)
5058         - Don't auto-load obdclass, portals modules during cleanup (1495)
5059         - fix timestamps from jumping to "now" (1763)
5060         - extra journal assertions (1648)
5061         - add an extra multiunlink test (1771)
5062         - fix read_record/write_record API (1776)
5063         - fix leak of offset_extent, possible incorrect i_size later (1772)
5064         - fix lasserts in mis-matched transnos during open-unlink testing (1541)
5065         - Debugging for the kqswnal_get_idle_tx problems (1820)
5066         - Allow recovery to be attempted multiple times (1536)
5067         - Write out MDS last_rcvd file after it is first created (1600)
5068         - Fix tx_descriptor leak in failed transmit situations (1827)
5069         - ext3 journaling fixes for assertion failure after IO error (1871)
5070         - class_export_put() on freed export after completion AST error (1896)
5071         - Fix revalidate looping in VFS (1322)
5072         - Don't access a freed export during MDS_REINT timeout (1521)
5073         - Add open-unlink recovery support on the MDS (1673,1764)
5074         - Return an error if no MDS data was read from last_rcvd (1946)
5075         - Fix for lookup "." or ".." crash on error (1932,1931,1935)
5076         - Don't setup a disk device that doesn't match exported UUID (317)
5077         - Reduce bulk RPC timeout to avoid cascading client/OST failures (1845)
5078         - avoid committing NULL handle in force close
5079         - local.sh is now a one-stripe LOV configuration
5080         - POSIX utime.4 -EPERM on FIFO not owned by user (56)
5081         - fix ext3 htree duplicate directory entry corruption (1516)
5082         - POSIX creat.13, fstat.1, open.18, stat.3 new file atime/mtime (2020)
5083         - update to new LOV EA format (2097)
5084         - interoperability for different PAGE_SIZE/wordsize (686,1821,1343,2042)
5085
5086 2003-06-15  Phil Schwan  <phil@clusterfs.com>
5087        * version v0_7
5088        * bug fixes
5089         - imports and exports cleanup too early, need refcounts (349, 879, 1045)
5090         - per-import/export recovery handling (958, 931, 959)
5091         - multiple last-rcvd slots, for serving multiple FSes (949)
5092         - connections are again shared between multiple imp/exports (963, 964)
5093         - "umount -f" would hang if any requests needed to be sent (393, 978)
5094         - avoid pinning large req buffer by copying for queued messages (989)
5095         - add "uuid" to "lctl device" command to help upcalls (991)
5096         - "open" RPCs with transnos would confuse recovery counters (1037)
5097         - do proper endian conversion of all wire messages (288, 340, 891)
5098         - remove OST bulk get LBUGs, fix ost_brw_write cleanup (1126)
5099         - call waiting locks callback from LDLM recovery thread (1127, 1151)
5100         - fix ptlrpc_connection leak in target_handle_connect (1174)
5101         - fix import refcounting bug in OST and MDS cleanup (1134)
5102         - if an invalid-at-open-time OSC returned before close(), LBUG (1150)
5103         - fix very unlikely obd_types race condition (501)
5104         - remove osc_open hack for echo_client (1187)
5105         - we leaked exports/dlmimps for forcibly disconnected clients (1143)
5106         - a failure in read_inode2 leads to deadlock (1139)
5107         - cancel ack-locks as soon as transaction is committed (1072)
5108         - fix major leaks and crashes in the bulk I/O path (937, 1057)
5109         - make sure to commitrw after any preprw to avoid deadlock (1162)
5110         - failing to execute a file in a lustre FS would lock inode (1203)
5111         - small DEBUG_REQ fix to avoid dereferencing a NULL (1227)
5112         - don't ASSERT while cleaning up an incompletely-setup obd (1248)
5113         - obd_uuid2tgt would walk off the end of the list (1255)
5114         - on IA64 the osc would give portals incorrect bulk size (1258)
5115         - fix debug daemon ioctl interface; allows daemon on ia64 (1274)
5116         - fix lock inversion caused by new llite matching code (1282)
5117         - limit the number of dirty pages on a client to 10MB (1286)
5118         - timed out locks were not being corrected cancelled (1289)
5119         - fix O_DIRECT above 4GB on IA-32 (1292)
5120        * major user-visible changes
5121         - fail out/fail over policy now controlled by the upcall (993)
5122        * protocol changes
5123         - add OBD_PING to check server availability and failure (954)
5124         - lustre messages are now sent in sending host order (288, 340, 891)
5125         - add eadatalen to MDS getattr reply (340)
5126         - OST read replies may contain second buffer, with per-page status (593)
5127
5128 2003-03-11  Phil Schwan  <phil@clusterfs.com>
5129        * version v0_6
5130        * bug fixes
5131         - LDLM_DEBUG macro fix, for gcc 3.2 (850)
5132         - failed open()s could cause deadlock; fixed (867, 869)
5133         - stop cancelling OST locks when files are closed (481)
5134         - overlapping XID spaces caused network corruption (851, 853)
5135         - fix unsafe fsfilt counter arithmetic; change to atomic_t
5136         - setattr_raw added, to do single-RPC, server-side setattrs
5137         - lmc/lconf syntax change for OST UUIDs
5138         - fix crashy race condition between ptlrpc_free_req and osc_close
5139         - don't use request in mdc_enqueue if we hit a timeout (889)
5140         - don't set the inode i_size for regular files from the MDS (896)
5141         - handle out of order completion AST (842)
5142         - don't LBUG if a lock request times out after receiving AST (913)
5143         - avoid d_rehash race in ll_find_alias by rehashing inside dcache_lock
5144         - if a bad lock AST arrives, send an error instead of dropping entirely
5145         - return 0 from revalidate2 if ll_intent_lock returns -EINTR (912)
5146         - fix leak in bulk IO when only partially completed (899, 900, 926)
5147         - fix O_DIRECT for ia64 (55)
5148         - (almost) eliminate Lustre-kernel-thread effects on load average (722)
5149         - C-z after timeout could hang a process forever; fixed (977)
5150        * Features
5151         - client-side I/O cache (678, 924, 929, 941, 970)
5152        * protocol changes
5153         - READPAGE and SETATTRs which don't take server-side locks get
5154           their own portal
5155
5156 2003-02-11  Phil Schwan  <phil@clusterfs.com>
5157         * version v0_5_20
5158         * bug fixes
5159          - Fix ldlm_lock_match on the MDS to avoid matching remote locks (592)
5160          - Fix fsfilt_extN_readpage() to read a full page of directory
5161            entries, or fake the remainder if PAGE_SIZE != blocksize (500)
5162          - Avoid extra mdc_getattr() in ll_intent_lock when possible (534, 604)
5163          - Fix imbalanced LOV object allocation and out-of-bound access (469)
5164          - Most intent operations were removed, in favour of a new RPC mode
5165            that does a single RPC to the server and bypasses most of the VFS
5166          - All LDLM resource ID arrays were removed in favour of ldlm_res_id
5167          - Aggressively cancel local locks on DLM servers
5168          - mds_reint_unlink sends EA to the client if it's the last nlink.
5169            client uses that EA to unlink OST objects.
5170          - mds_reint_{rename,unlink,link} were rewritten to take ordered locks
5171          - recursive symlinks were fixed (439)
5172          - fixed NULL deref in DEBUG_REQ
5173          - filter_update_lastobjid no longer calls sync, which annoyed extN
5174          - fixed multi-client small-writes to a single file problem (445)
5175          - fixed mtime updates during file writes (607)
5176          - fixed vector writes on obdfilter causing problems when ENOSPC (670)
5177          - fixed bug in obd_brw_read/write() (under guise of testing 367)
5178          - fixed Linux OST size reporting problem (444, 656)
5179          - OST now updates object mtime with writes or setattr (607, 619)
5180          - client verifies file size before zeroing page past EOF (445)
5181          - OST now writes last allocated objid to disk with allocation (108)
5182          - LOV on echo now works (409)
5183         * protocol changes
5184          - mds_reint_unlink sends a new buffer, with the EA included.  this
5185            buffer is only valid if body->valid & OBD_MD_FLEASIZE, which is only
5186            set if a regular file was being unlinked, and it was the last link
5187          - use PtlGet from the target for bulk writes (315)
5188          - OST now updates object mtime with writes or setattr (607, 619)
5189          - LDLM now has a grant-time callback to revalidate locked items, if
5190            necessary (604)
5191          - Many MDS operations were reorganized to combat race conditions
5192         * other changes
5193          - Merge b_intel branch (updated lprocfs code) - now at /proc/fs/lustre
5194          - configure check to avoid gcc version 2.96 20000731-2.96-98) (606)
5195
5196 2003-01-06  Andreas Dilger  <adilger@clusterfs.com>
5197         * version v0_5_19
5198         * bug fixes
5199          - Fully reactivate OST imports after reconnection (512, others)
5200          - Make sure client sees our -ENOTCONN from mds_handle (513 - partial)
5201          - More graceful error handling for truncating on dead OST (515)
5202          - Don't error out unless we're actually accessing dead stripes (474)
5203          - Fix garbage sizes when stripes are missing (410)
5204          - LRU counters were broken, causing constant lock purge (433, 432)
5205          - garbage on read from stripes with failed OSTs (441)
5206          - mark OSCs as active before reconnecting during recovery (438)
5207          - lov_enqueue and lov_cancel need to handle inactive OSTs (403)
5208          - lfind did not preserve OST order in output (443)
5209          - symlinks cause hung clients, incorrect data (439)
5210          - stop dereferencing request after dropping refcount (457)
5211          - don't LASSERT(spin_is_locked) on non-SMP (455)
5212          - fixes for many rename() bugs
5213          - fstat didn't correctly synchronize attributes (399)
5214          - server must handle lock cancellation during blocking AST prep (487)
5215          - bulk descriptors were free()d too soon (511)
5216          - fix paths in lconf, which would load incorrect modules (451, 507)
5217          - fix confusing lconf 'host not found' error message (386)
5218          - fix lock order deadlock on OST (O/R i_sem before journal ops, 478)
5219          - fix race condition in mdc_blocking_ast() for inode access (526)
5220          - fix lov_unpackmd() unpacking wrong number of stripes (537)
5221          - fix lov_set_osc_active() marking wrong OSC inactive (440)
5222          - fix bad lstripe lov_unpackmd() assertion (fix layering too) (527)
5223          - fix multiple writes of stripe MD to MDS (358, maybe 519)
5224          - fix lstripe in several ways (kernel side) (527)
5225          - fix request leak in ldlm_cli_enqueue (262)
5226          - incorrect OSC was marked inactive after OST failure
5227          - call mds_fs_cleanup before unmounting filesystem (524)
5228          - fix races between taking ns_lock and ldlm_lock_change_resource
5229          - fix races updating LOV export open file list
5230          - fix lov_enqueue error path, avoid decref-ing bad lock handle
5231          - fix recovery NULL deref in ldlm_cli_cancel_unused
5232          - fix some DLM races by using new hash table for lock handles (419)
5233          - permit the client to specify desired inodes, at replay
5234          - duplicate requests when we queue them for replay reintegration
5235          - fix last_rcvd offset calculation
5236          - sync after each recovered transaction, so we always make progress
5237          - never, not always, ERESTART requests without transnos
5238          - store the lov_desc in the MDS, so we don't depend on getlovinfo to
5239            set it
5240          - skip replay if the MDS says that the client is already connected
5241          - don't check for a recovery-enabled export to match lctl's UUID
5242          - don't INC_USE_COUNT for phantom exports
5243          - don't crash when cleaning up phantom exports (567)
5244          - don't double-finish or set replay data for errored mdc_open requests
5245          - abort requests when they time out, so we don't get old replies
5246          - send/receive replies for AST messages again
5247          - if the client says that it doesn't have the lock, cancel it on the
5248            server
5249          - if we timeout during I/O, don't try to cancel an in-use lock; instead
5250            mark it as destroyed, it will all work out when decref is called
5251          - fix module use counts (22, 581)
5252         * protocol changes
5253          - ASTs now expect a reply (server cancels lock on error reply)
5254
5255 2002-12-02  Andreas Dilger  <adilger@clusterfs.com>
5256         * version v0_5_18
5257         * bug fixes
5258           - fix many simultaneous client startup (392)
5259           - fix dentry->d_it clobbering
5260           - credentials weren't being shipped for readdir/getattr operations
5261           - remove invalid assertions triggered during some concurrent MD
5262             updates
5263           - proper Lustre versions added (336, 389)
5264           - fix memory leak for create error case (398)
5265           - fix LOV locking bug that would get cli/srv out of sync
5266           - fix echo client over LOV (409)
5267           - fix dbench 2, extN refcount problem (170, 258, 356, 418)
5268           - fix double-O_EXCL intent crash (424)
5269           - avoid sending multiple lock CANCELs (352)
5270         * Features
5271           - MDS can do multi-client recovery (modulo bugs in new code)
5272         * Documentation
5273           - many updates, edits, cleanups
5274
5275 2002-11-18  Phil Schwan  <phil@clusterfs.com>
5276         * version v0_5_17
5277         * bug fixes
5278           - fix null d_it dereference (346)
5279           - fix full OST/dbench hang (333)
5280           - fix permission problem with file removal (286)
5281           - fix removal of OSCs from LOV when they fail
5282           - fix NULL deref during bulk timeout (214)
5283           - fix problems related to multiple filesystems on one MDS (241)
5284           - fixed serious subtle metadata locking bugs
5285           - free locks on clients when inodes are removed due to memory
5286             pressure (201)
5287           - fix inode pointer in lock data (285)
5288           - partial support for multiple MDS on a single host (241)
5289           - data locks weren't cancelled at clear_inode time (290, 311)
5290           - intent locks could lead to unbounded lock growth (205)
5291           - added a maximum lock count, an LRU list, and a flusher
5292           - fix multiple rename (365)
5293           - properly abstracted the echo client
5294           - OSC locked 1 byte too many; fixed
5295           - rewrote brw callback code:
5296           - fixed recovery bugs related to LOVs (306)
5297           - fixed too-many-pages-in-one-write crash (191)
5298           - fixed (again) crash in sync_io_timeout (214)
5299           - probably fixed callback-related race (385)
5300         * protocol change
5301           - Add capability to MDS protocol
5302           - LDLM cancellations and callbacks on different portals
5303
5304 2002-10-28  Andreas Dilger  <adilger@clusterfs.com>
5305         * version v0_5_16
5306         * bug fixes:
5307           - limit client IOV size to PTL_MD_MAX_IOV (611336, 191)
5308           - defer open object destruction to close time (601981, 138)
5309           - open/close OST file handle in obdo (OBD_MD_FLHANDLE) (601981, 138)
5310           - move LDLM_ENQUEUE/CONVERT back to MDS portal (625069)
5311           - abstract ll_lookup2, fix ll_revalidate2 to use abstraction (256)
5312           - don't call obd_setattr in ll_file_release for destroyed objects
5313         * protocol change to lustre_msg: move |version| and add |flags|
5314         * protocol change to osc_punch: "start" in "o_size", "end" in "o_blocks"
5315         * lock replay: for LDLM_FL_REPLAY trust client to do right thing
5316         * added replay of create, unlink, link and rename operations during
5317           MDS failover; recovery should be much more robust now
5318         * remove failed OSCs from LOVs (only lov_create uses this so far)
5319         * the lustre-HOWTO was brought (more) up to date (582544)
5320
5321 2002-10-23  Phil Schwan  <phil@clusterfs.com>
5322         * version v0_5_15
5323         * bug fixes:
5324           - in-use dentries weren't being reused properly (617851)
5325           - prevent multiple LDLM setup (599178)
5326           - fix LOV size calculations for truncate (617853)
5327           - fix client handling of MDS intent errors (POSIX)
5328           - fix permission bug in lovstripe.c test (624321)
5329           - fix MDS thread deadlock - move LDLM handler to DLM portal (625069)
5330           - truncate past end of file could corrupt data
5331           - proper cleanup after timeouts, crashes, etc (592524, 550815)
5332           - a race in recovery could return ETIMEDOUT to apps (623947)
5333           - building outside the source directory was fixed
5334         * the lustre-HOWTO was brought (more) up to date (582544)
5335         * major progress was made on recovery functionality
5336
5337 2002-10-10  Phil Schwan  <phil@clusterfs.com>
5338         * version v0_5_14
5339         * bug fixes:
5340           - recovery deadlock fix
5341           - rm -rf causes LBUG fix (617817)
5342           - file open by multiple tasks fix (618962)
5343           - directory permissions bugs (602707 and 620007)
5344           - journal_stop fixed with locking (611313)
5345           - O_APPEND failures resolved (618273, perhaps 614459)
5346           - lconf PATH fix (619770)
5347           - IA64 build fix (621450)
5348           - RPC buffer sizes scale with amount of memory
5349
5350 2002-10-01  Phil Schwan  <phil@clusterfs.com>
5351         * version v0_5_13
5352         * bug fixes:
5353           - locks would be cancelled without throwing away data pages,
5354             resulting in inconsistent data (605627)
5355           - inode attributes were not always being refreshed (605627, 612449)
5356           - lconf now continues to cleanup after lctl reports an error
5357           - MDS now enforces user permissions (602707)
5358           - lprocfs cleanup fixed, but not yet enabled (614157)
5359           - fixed infinite server hang, should a client not respond to an AST
5360           - avoid going into recovery if user calls readlink() with a buffer
5361             that's too small (613941)
5362           - AST RPCs no longer require replies (614867) -- this may be changed
5363           - don't crash server if client sends an IOV that's too big (611336)
5364           - fixed lock conversion deadlock (611892)
5365           - fixed the following of symlinks (614622)
5366         * recovery: the server can remove locks from a client that dies, other
5367           clients can make progress
5368         * more extN patch fixes
5369         * compile-time configurable ptlrpc buffer allocations
5370         * documentation
5371           - collaborative read cache document
5372           - Lustre Lite Performance CDR document-in-progress
5373
5374 2002-09-20  Andreas Dilger  <adilger@clusterfs.com>
5375         * version v0_5_12
5376         * bug fix
5377           - fix typo in patch-2.4.18
5378
5379 2002-09-20  Andreas Dilger  <adilger@clusterfs.com>
5380         * version v0_5_11
5381         * bug fixes
5382           - clear ptlrpc request each time in handle_incoming_request()
5383           - unlink of files now destroys the object on the OST
5384
5385 2002-09-19  Peter Braam  <braam@clusterfs.com>
5386         * version 0_5_10
5387         * add hard link support
5388         * change obdfile creation method
5389         * kernel patch changed
5390         
5391 2002-09-19  Peter Braam  <braam@clusterfs.com>
5392         * version 0_5_9
5393         * bug fix
5394           - stack overflow bug in extN fixed
5395
5396 2002-09-18  Andreas Dilger  <adilger@clusterfs.com>
5397         * version 0_5_8
5398         * documentation updates
5399           - add man pages for config tools
5400           - update tests/README to describe testing with new config tools
5401           - finish metadata API descriptions
5402         * bug fixes and cleanups
5403           - statfs workaround for 16TB limit
5404           - LOV stripe allocation improved, can stripe on subset of OSTs
5405           - LOV file size/IO offset was wrong for files > 4GB in size
5406           - object EA data was being dropped, caused files to be unreadable
5407           - memory overflow with non-LOV OST caused memory corruption
5408           - fixed regression tests to work with new config tools, obdfilter
5409           - fixed bug when directory size became larger than 1 block
5410           - fixed bug (for single client case) when PWD was deleted
5411           - invalidate local directory pages when doing intent-based ops
5412           - avoid LDLM oops when lock callback contained bad data
5413
5414 2002-09-09  Andreas Dilger  <adilger@clusterfs.com>
5415         * version 0_5_7
5416         * documentation updates
5417         * bug fixes and cleanups
5418           - configuration tools
5419           - LOV
5420           - imports/exports
5421           - 64-bit compile warnings
5422           - 64-bit internal statfs data
5423           - many more
5424         * test_brw on persistent OST devices
5425         * MDS recovery
5426         * lprocfs (disabled)
5427
5428 2002-09-04  Andreas Dilger  <adilger@clusterfs.com>
5429         * version 0_5_6
5430         * documentation updates
5431         * bug fixes and cleanups
5432         * configuration tools
5433
5434 2002-08-30  Peter J. Braam  <braam@clusterfs.com>
5435
5436         * version v0_5_5
5437         * many small fixes to 0_5_4
5438         * io/network handling
5439         * thinkos in MDS operations
5440
5441 2002-08-24  Peter J. Braam  <braam@clusterfs.com>
5442
5443         * version v0_5_4
5444         * crucial basic fixes to 0.5.3
5445         * IOR, Iozone work over Elan
5446         * EOF locks added
5447
5448 2002-08-07  Phil Schwan  <phil@clusterfs.com>
5449         * version 0_5_3, our first alpha
5450         * we use the new Portals iovs
5451         * documentation updates
5452         * bug fixes and cleanups
5453         * small changes in the DLM wire protocol
5454
5455 2002-07-25  Peter J. Braam  <braam@clusterfs.com>
5456         * version 0_5_1 with some initial stability,
5457         * locking on MD and file I/O.
5458         * documentation updates
5459         * several bug fixes since 0.5.0
5460         * small changes in wire protocol
5461
5462 2002-07-18  Phil Schwan  <phil@clusterfs.com>
5463         * version v0_4_5
5464         * delivered as Lustre Light Alpha
5465         * fixed a crash after handling invalid MDS requests
5466         * fixed directory pages for architectures with non-4k pages sizes
5467
5468 2002-07-11  Andreas Dilger  <adilger@clusterfs.com>
5469         * release version v0_4_4
5470         * Moves TCP acceptor to be on port 2432 (unused Coda port) instead
5471           of 1234.
5472         * Fixes a number of interruption problems with OST operations.
5473         * Update documentation for portals header changes
5474         * Move all wire protocol structs/defines to lustre_idl.h
5475         * Fixes symlink length bug.
5476         * Add tcpdump to repository.
5477
5478 2002-07-05  Andreas Dilger  <adilger@clusterfs.com>
5479         * release version v0_4_3
5480         * Fixes statfs for inodes on extN.
5481         * Fixes bug in runtests which would delete /etc/hosts.
5482         * Use 64-bit object IDs wherever possible (not into VFS though)
5483           Remove ost_get_info, which is unused by lustre, and out of date.
5484
5485 2002-07-03  Peter Braam  <braam@clusterfs.com>
5486         * release version v0_4_2   Fixes a lookup error (type not passed)
5487         * move forward to head of Portals
5488         * move forward to latest Lustre kernel
5489
5490 2002-06-25  Peter Braam  <braam@clusterfs.com>
5491         * release version v0_4_1.  Hopefully stable on single node use.