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