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