Whamcloud - gitweb
5c19109473edbe24a385e0a9c1a2deac0ed74210
[fs/lustre-release.git] / lustre / ChangeLog
1 tbd         Cluster File Systems, Inc. <info@clusterfs.com>
2        * version 1.6.0
3        * CONFIGURATION CHANGE.  This version of Lustre WILL NOT
4          INTEROPERATE with older versions automatically.  In many cases a
5          special upgrade step is needed. Please read the
6          user documentation before upgrading any part of a 1.4.x system.
7        * WARNING: Lustre configuration and startup changes are required with
8          this release.  See https://mail.clusterfs.com/wikis/lustre/MountConf
9          for details.
10        * Support for kernels:
11         2.6.9-42.0.3EL (RHEL 4)
12         2.6.5-7.276 (SLES 9)
13         2.4.21-47.0.1.EL (RHEL 3)
14         2.6.12.6 vanilla (kernel.org)
15        * Client support for unpatched kernels:
16         (see https://mail.clusterfs.com/wikis/lustre/PatchlessClient)
17         2.6.16 - 2.6.19 vanilla (kernel.org)
18         2.6.9-42.0.3EL (RHEL 4)
19        * Recommended e2fsprogs version: 1.39.cfs2-0
20        * bug fixes
21
22 Severity   : enhancement
23 Bugzilla   : 8007
24 Description: MountConf
25 Details    : Lustre configuration is now managed via mkfs and mount
26              commands instead of lmc and lconf.  New obd types (MGS, MGC)
27              are added for dynamic configuration management.  See
28              https://mail.clusterfs.com/wikis/lustre/MountConf for
29              details.
30
31 Severity   : enhancement
32 Bugzilla   : 4482
33 Description: dynamic OST addition
34 Details    : OSTs can now be added to a live filesystem
35
36 Severity   : enhancement
37 Bugzilla   : 9851
38 Description: startup order invariance
39 Details    : MDTs and OSTs can be started in any order.  Clients only
40              require the MDT to complete startup.
41         
42 Severity   : enhancement
43 Bugzilla   : 4899
44 Description: parallel, asynchronous orphan cleanup
45 Details    : orphan cleanup is now performed in separate threads for each
46              OST, allowing parallel non-blocking operation.
47
48 Severity   : enhancement
49 Bugzilla   : 9862
50 Description: optimized stripe assignment
51 Details    : stripe assignments are now made based on ost space available,
52              ost previous usage, and OSS previous usage, in order to try
53              to optimize storage space and networking resources.
54         
55 Severity   : enhancement
56 Bugzilla   : 4226
57 Description: Permanently set tunables
58 Details    : All writable /proc/fs/lustre tunables can now be permanently
59              set on a per-server basis, at mkfs time or on a live
60              system.
61         
62 Severity   : enhancement
63 Bugzilla   : 10547
64 Description: Lustre message v2
65 Details    : Add lustre message format v2.
66
67 Severity   : enhancement
68 Bugzilla   : 9866
69 Description: client OST exclusion list
70 Details    : Clients can be started with a list of OSTs that should be
71              declared "inactive" for known non-responsive OSTs.
72
73 Severity   : minor
74 Frequency  : SFS test only (otherwise harmless)
75 Bugzilla   : 6062
76 Description: SPEC SFS validation failure on NFS v2 over lustre.
77 Details    : Changes the blocksize for regular files to be 2x RPC size,
78              and not depend on stripe size.
79         
80 Severity   : enhancement
81 Bugzilla   : 9293
82 Description: Multiple MD RPCs in flight.
83 Details    : Further unserialise some read-only MDS RPCs - learn about intents.
84              To avoid overly-overloading MDS, introduce a limit on number of
85              MDS RPCs in flight for a single client and add /proc controls
86              to adjust this limit.
87
88 Severity   : enhancement
89 Bugzilla   : 22484
90 Description: client read/write statistics
91 Details    : Add client read/write call usage stats for performance
92              analysis of user processes.
93              /proc/fs/lustre/llite/*/offset_stats shows non-sequential
94              file access. extents_stats shows chunk size distribution.
95              extents_stats_per_process show chunk size distribution per
96              user process.
97
98 Severity   : enhancement
99 Bugzilla   : 22485
100 Description: per-client statistics on server
101 Details    : Add ldlm and operations statistics for each client in
102              /proc/fs/lustre/mds|obdfilter/*/exports/
103         
104 Severity   : enhancement
105 Bugzilla   : 22486
106 Description: mds statistics
107 Details    : Add detailed mds operations statistics in
108              /proc/fs/lustre/mds/*/stats
109         
110 Severity   : enhancement
111 Bugzilla   : 10968
112 Description: VFS operations stats
113 Details    : Add client VFS call stats, trackable by pid, ppid, or gid
114              /proc/fs/lustre/llite/*/vfs_ops_stats
115              /proc/fs/lustre/llite/*/track_[pid|ppid|gid]
116
117 Severity   : minor
118 Frequency  : always
119 Bugzilla   : 6380
120 Description: Fix client-side osc byte counters
121 Details    : The osc read/write byte counters in
122              /proc/fs/lustre/osc/*/stats are now working
123         
124 Severity   : minor
125 Frequency  : always as root on SLES
126 Bugzilla   : 10667
127 Description: Failure of copying files with lustre special EAs.
128 Details    : Client side always return success for setxattr call for lustre
129              special xattr (currently only "trusted.lov").
130         
131 Severity   : minor
132 Frequency  : always
133 Bugzilla   : 10345
134 Description: Refcount LNET uuids
135 Details    : The global LNET uuid list grew linearly with every startup;
136              refcount repeated list entries instead of always adding to
137              the list.
138
139 Severity   : enhancement
140 Bugzilla   : 2258
141 Description: Dynamic service threads
142 Details    : Within a small range, start extra service threads
143              automatically when the request queue builds up.
144
145 Severity   : major
146 Frequency  : mixed-endian client/server environments
147 Bugzilla   : 11214
148 Description: mixed-endian crashes
149 Details    : The new msg_v2 system had some failures in mixed-endian
150              environments.
151
152 Severity   : enhancement
153 Bugzilla   : 11229
154 Description: Easy OST removal
155 Details    : OSTs can be permanently deactivated with e.g. 'lctl
156              conf_param lustre-OST0001.osc.active=0'    
157
158 Severity   : enhancement
159 Bugzilla   : 11335
160 Description: MGS proc entries
161 Details    : Added basic proc entries for the MGS showing what filesystems
162              are served.
163
164 Severity   : enhancement
165 Bugzilla   : 10998
166 Description: provide MGS failover
167 Details    : Added config lock reacquisition after MGS server failover. 
168         
169 Severity   : enhancement
170 Bugzilla   : 11461
171 Description: add Linux 2.4 support
172 Details    : Added support for RHEL 2.4.21 kernel for 1.6 servers and clients
173
174 Severity   : normal
175 Bugzilla   : 11330
176 Description: a large application tries to do I/O to the same resource and dies 
177              in the middle of it.
178 Details    : Check the req->rq_arrival time after the call to 
179              ost_brw_lock_get(), but before we do anything about
180              processing it & sending the BULK transfer request. This
181              should help move old stale pending locks off the queue as
182              quickly as obd_timeout.
183
184 Severity   : major
185 Frequency  : when an incorrect nid is specified during startup 
186 Bugzilla   : 10734
187 Description: ptlrpc connect to non-existant node causes kernel crash
188 Details    : LNET can't be re-entered from an event callback, which
189              happened when we expire a message after the export has been
190              cleaned up.  Instead, hand the zombie cleanup off to another
191              thread. 
192
193 Severity   : enhancement
194 Bugzilla   : 10902
195 Description: plain/inodebits lock performance improvement
196 Details    : Grouping plain/inodebits in granted list by their request modes
197              and bits policy, thus improving the performance of search through
198              the granted list.
199
200 Severity   : major           
201 Frequency  : only if OST filesystem is corrupted
202 Bugzilla   : 9829
203 Description: client incorrectly hits assertion in ptlrpc_replay_req()
204 Details    : for a short time RPCs with bulk IO are in the replay list,
205              but replay of bulk IOs is unimplemented.  If the OST filesystem
206              is corrupted due to disk cache incoherency and then replay is
207              started it is possible to trip an assertion.  Avoid putting
208              committed RPCs into the replay list at all to avoid this issue.         
209
210 Severity   : minor
211 Frequency  : only for kernels with patches from Lustre below 1.4.3  
212 Bugzilla   : 11248
213 Description: Remove old rdonly API
214 Details    : Remove old rdonly API which unsed from at least lustre 1.4.3
215
216 ------------------------------------------------------------------------------
217
218 TBD         Cluster File Systems, Inc. <info@clusterfs.com>
219        * version 1.4.10
220        * Support for kernels:
221         2.6.9-42.0.3EL (RHEL 4)
222         2.6.5-7.276 (SLES 9)
223         2.4.21-47.0.1.EL (RHEL 3)
224         2.6.12.6 vanilla (kernel.org)
225        * Recommended e2fsprogs version: 1.39.cfs2-0
226
227 Severity   : normal
228 Frequency  : always
229 Bugzilla   : 10214
230 Description: make O_SYNC working on 2.6 kernels
231 Details    : 2.6 kernels use different method for mark pages for write, 
232              so need add a code to lustre for O_SYNC work.
233
234 Severity   : minor
235 Frequency  : always
236 Bugzilla   : 11110
237 Description: Failure to close file and release space on NFS
238 Details    : Put inode details into lock acquired in ll_intent_file_open. 
239              Use mdc_intent_lock in ll_intent_open to properly
240              detect all kind of errors unhandled by mdc_enqueue
241
242 Severity   : major
243 Frequency  : rare
244 Bugzilla   : 10866
245 Description: proc file read during shutdown sometimes raced obd removal, 
246              causing node crash
247 Details    : Add lock to prevent obd access after proc file removal.
248
249 Severity   : normal
250 Frequency  : Only for files larger than 4GB on 32-bit clients.
251 Bugzilla   : 11237
252 Description: improperly doing page alignment of locks
253 Details    : Modify lustre core code to use CFS_PAGE_* defines instead of 
254              PAGE_*. Make CFS_PAGE_MASK 64bit long.
255
256 Severity   : normal
257 Frequency  : rarely
258 Bugzilla   : 11203
259 Description: RPCs being resent when they shouldn't be
260 Details    : Some RPCs that should not be resent are being resent.  This
261              can cause inconsistencies in the RPC state machine.  Do not
262              resend such requests.
263
264 Severity   : normal
265 Frequency  : rare, only with NFS export
266 Bugzilla   : 11669
267 Description: Crash on NFS re-export node
268 Details    : under very unusual load conditions an assertion is hit in
269              ll_intent_file_open()
270
271 ------------------------------------------------------------------------------
272
273 TBD         Cluster File Systems, Inc. <info@clusterfs.com>
274        * version 1.4.9
275        * Support for kernels:
276         2.6.9-42.0.3EL (RHEL 4)
277         2.6.5-7.276 (SLES 9)
278         2.4.21-40.0.1.EL (RHEL 3)
279         2.6.12.6 vanilla (kernel.org)
280        * bug fixes
281
282 Severity   : critical
283 Frequency  : rare
284 Bugzilla   : 11125
285 Description: "went back in time" messages on mds failover
286 Details    : The greatest transno may be lost when the current operation
287              finishes with an error (transno==0) and the client's last_rcvd
288              record is over-written. Save the greatest transno in the
289              mds_last_transno for this case.
290
291 Severity   : minor
292 Frequency  : always for specific kernels and striping counts
293 Bugzilla   : 11042
294 Description: client may get "Matching packet too big" without ACL support
295 Details    : Clients compiled without CONFIG_FS_POSIX_ACL get an error message
296              when trying to access files in certain configurations.  The
297              clients should in fact be denied when mounting because they do
298              not understand ACLs.
299
300 Severity   : major
301 Frequency  : Cray XT3 with more than 4000 clients and multiple jobs
302 Bugzilla   : 10906
303 Description: many clients connecting with IO in progress causes connect timeouts
304 Details    : Avoid synchronous journal commits to avoid delays caused by many
305              clients connecting/disconnecting when bulk IO is in progress.
306              Queue liblustre connect requests on OST_REQUEST_PORTAL instead of
307              OST_IO_PORTAL to avoid delays behind potentially many pending
308              slow IO requests.
309
310 Severity   : normal
311 Frequency  : occasionally with multiple writers to a single file
312 Bugzilla   : 11081
313 Description: shared writes to file may result in wrong size reported by stat()
314 Details    : Allow growing of kms when extent lock is cancelled
315
316 Severity   : minor
317 Frequency  : always with random mmap IO to multi-striped file
318 Bugzilla   : 10919
319 Description: mmap write might be lost if we are writing to a 'hole' in stripe
320 Details    : Only if the hole is at the end of OST object so that kms is too
321              small. Fix is to increase kms accordingly in ll_nopage.
322
323 Severity   : normal
324 Frequency  : rare, only if OST filesystem is inconsistent with MDS filesystem
325 Bugzilla   : 11211
326 Description: writes to a missing object would leak memory on the OST
327 Details    : If there is an inconsistency between the MDS and OST filesystems,
328              such that the MDS references an object that doesn't exist, writes
329              to that object will leak memory due to incorrect cleanup in the
330              error handling path, eventually running out of memory on the OST.
331
332 Severity   : minor
333 Frequency  : rare
334 Bugzilla   : 11040
335 Description: Creating too long symlink causes lustre errors
336 Details    : Check symlink and name lengths before sending requests to MDS.
337
338 Severity   : normal
339 Frequency  : only if flock is enabled (not on by default)
340 Bugzilla   : 11415
341 Description: posix locks not released on fd closure on 2.6.9+
342 Details    : We failed to add posix locks to list of inode locks on 2.6.9+
343              kernels, this caused such locks not to be released on fd close and
344              then assertions on fs unmount about still used locks.
345
346 Severity   : minor
347 Frequency  : MDS failover only, very rarely
348 Bugzilla   : 11277
349 Description: clients may get ASSERTION(granted_lock != NULL)
350 Details    : When request was taking a long time, and a client was resending
351              a getattr by name lock request. The were multiple lock
352              requests with the same client lock handle and
353              mds_getattr_name->fixup_handle_for_resent_request found one
354              of the lock handles but later failed with
355              ASSERTION(granted_lock != NULL).
356
357 Severity   : major
358 Frequency  : rare
359 Bugzilla   : 10891
360 Description: handle->h_buffer_credits > 0, assertion failure
361 Details    : h_buffer_credits is zero after truncate, causing assertion 
362              failure.  This patch extends the transaction or creates a new
363              one after truncate.
364
365 Severity   : normal
366 Frequency  : NFS re-export or patchless client
367 Bugzilla   : 11179, 10796
368 Description: Crash on NFS re-export node (__d_move)
369 Details    : We do not want to hash the dentry if we don't have a lock.
370              But if this dentry is later used in d_move, we'd hit uninitialised
371              list head d_hash, so we just do this to init d_hash field but
372              leave dentry unhashed.
373
374 Severity   : normal
375 Frequency  : NFS re-export or patchless client
376 Bugzilla   : 11135
377 Description: NFS exports has problem with symbolic link
378 Details    : lustre client didn't properly install dentry when re-exported
379              to NFS or running patchless client.
380
381 Severity   : normal
382 Frequency  : NFS re-export or patchless client
383 Bugzilla   : 10796
384 Description: Various nfs/patchless fixes.
385 Details    : fixes reuse disconected alias for lookup process - this fixes
386              warning "find_exported_dentry: npd != pd", fix permission
387              error with open files at nfs.
388
389 Severity   : normal
390 Frequency  : occasional
391 Bugzilla   : 11191
392 Description: Crash on NFS re-export node
393 Details    : call clear_page on wrong pointer triggered oops in 
394              generic_mapping_read().
395
396 Severity   : normal
397 Frequency  : rarely, using O_DIRECT IO
398 Bugzilla   : 10903
399 Description: unaligned directio crashes client with LASSERT
400 Details    : check for unaligned buffers before trying any requests.
401
402 Severity   : major
403 Frequency  : rarely, using CFS RAID5 patches in non-standard kernel series
404 Bugzilla   : 11313
405 Description: stale data returned from RAID cache
406 Details    : If only a small amount of IO is done to the RAID device before
407              reading it again it is possible to get stale data from the RAID
408              cache instead of reading it from disk.
409
410 Severity   : major
411 Frequency  : depends on arch, kernel and compiler version, always on sles10
412              kernel and x86_64
413 Bugzilla   : 11562
414 Description: recursive or deep enough symlinks cause stack overflow
415 Details    : getting rid of large stack-allocated variable in
416              __vfs_follow_link
417
418 Severity   : minor
419 Frequency  : depends on hardware
420 Bugzilla   : 11540
421 Description: lustre write performance loss in the SLES10 kernel
422 Details    : the performance loss is caused by using of write barriers in the
423              ext3 code. The SLES10 kernel turns barrier support on by
424              default. The fix is to undo that change for ldiskfs.
425
426 ------------------------------------------------------------------------------
427
428 2006-12-09  Cluster File Systems, Inc. <info@clusterfs.com>
429        * version 1.4.8
430        * Support for kernels:
431         2.6.9-42.0.3EL (RHEL 4)
432         2.6.5-7.276 (SLES 9)
433         2.4.21-47.0.1.EL (RHEL 3)
434         2.6.12.6 vanilla (kernel.org)
435        * bug fixes
436
437 Severity   : major
438 Frequency  : quota enabled and large files being deleted
439 Bugzilla   : 10707
440 Description: releasing more than 4GB of quota at once hangs OST
441 Details    : If a user deletes more than 4GB of files on a single OST it
442              will cause the OST to spin in an infinite loop.  Release
443              quota in < 4GB chunks, or use a 64-bit value for 1.4.7.1+.
444
445 Severity   : minor
446 Frequency  : rare
447 Bugzilla   : 10845
448 Description: statfs data retrieved from /proc may be stale or zero
449 Details    : When reading per-device statfs data from /proc, in the
450              {kbytes,files}_{total,free,avail} files, it may appear
451              as zero or be out of date.
452
453 Severity   : normal
454 Frequency  : always, for aggregate stripe size over 4GB
455 Bugzilla   : 10725
456 Description: "lfs setstripe" fails assertion when setting 4GB+ stripe width
457 Details    : Using "lfs setstripe" to set stripe size * stripe count over 4GB
458              will fail the kernel with "ASSERTION(lsm->lsm_xfersize != 0)"
459
460 Severity   : minor
461 Frequency  : always if "lfs find" used on a local file/directory
462 Bugzilla   : 10864
463 Description: "lfs find" segfaults if used on a local file/directory
464 Details    : The case where a directory component was not specified wasn't
465              handled correctly.  Handle this properly.
466
467 Severity   : normal
468 Frequency  : always on ppc64
469 Bugzilla   : 10634
470 Description: the write to an ext3 filesystem mounted with mballoc got stuck
471 Details    : ext3_mb_generate_buddy() uses find_next_bit() which does not 
472              perform endianness conversion.
473
474 Severity   : major
475 Frequency  : rarely (truncate to non-zero file size after write under load)
476 Bugzilla   : 10730, 10687
477 Description: Files padded with zeros to next 4K multiple
478 Details    : With filesystems mounted using the "extents" option (2.6 kernels)
479              it is possible that files that are truncated to a non-zero size
480              immediately after being written are filled with zero bytes beyond
481              the truncated size.  No file data is lost.
482
483 Severity   : enhancement
484 Frequency  : liblustre only     
485 Bugzilla   : 10452
486 Description: Allow recovery/failover for liblustre clients.
487 Details    : liblustre clients were unaware of failover configurations until
488              now.
489
490 Severity   : enhancement
491 Bugzilla   : 10743
492 Description: user file locks should fail when not mounting with flock option
493 Details    : Set up an error-returning stub in ll_file_operations.lock field
494              to prevent incorrect behaviour when client is mounted without
495              flock option. Also, set up properly f_op->flock field for
496              RHEL4 kernels.
497
498 Severity   : minor
499 Frequency  : always on ia64
500 Bugzilla   : 10905
501 Description: "lfs df" loops on printing out MDS statfs information
502 Details    : The obd_ioctl_data was not initialized and in some systems
503              this caused a failure during the ioctl that did not return
504              an error.  Initialize the struct and return an error on failure.
505
506 Severity   : minor
507 Frequency  : SLES 9 only
508 Bugzilla   : 10667
509 Description: Error of copying files with lustre special EAs as root
510 Details    : Client side always return success for setxattr call for lustre
511              special xattr (currently only "trusted.lov").
512         
513 Severity   : normal
514 Frequency  : rarely on clusters with both ia64+i386 clients
515 Bugzilla   : 10672
516 Description: ia64+i686 clients doing shared IO on the same file may LBUG
517 Details    : In rare cases when both ia64+i686 (or other mixed-PAGE_SIZE)
518              clients are doing concurrent writes to the same file it is
519              possible that the ia64 clients may LASSERT because the OST
520              extent locks are not PAGE_SIZE aligned.  Ensure that grown
521              locks are always aligned on the request boundary.
522
523 Severity   : normal
524 Frequency  : specific use, occasional
525 Bugzilla   : 7040
526 Description: Overwriting in use executable truncates on-disk binary image
527 Details    : If one node attempts to overwrite an executable in use by
528              another node, we now correctly return ETXTBSY instead of
529              truncating the file.
530
531 Severity   : normal
532 Frequency  : rare
533 Bugzilla   : 2707
534 Description: chmod on Lustre root is propagated to other clients
535 Details    : Re-validate root's dentry in ll_lookup_it to avoid having it
536              invalid by the follow_mount time.
537
538 Severity   : minor
539 Frequency  : rare
540 Bugzilla   : 10883
541 Description: Race in 'instant cancel' lock handling could lead to such locks
542              never to be granted in case of SMP MDS
543 Details    : Do not destroy not yet granted but cbpending locks in
544              handle_enqueue
545
546 Severity   : minor
547 Frequency  : replay/resend of open
548 Bugzilla   : 10991
549 Description: non null lock assetion failure in mds_intent_policy
550 Details    : Trying to replay/resend lockless open requests resulted in
551              mds_open() returning 0 with no lock.  Now it sets a flag if
552              a lock is going to be returned.
553
554 Severity   : enhancement
555 Bugzilla   : 10889
556 Description: Checksum enhancements
557 Details    : New checksum enhancements allow for resending RPCs that failed
558              checksum checks.
559
560 Severity   : enhancement
561 Bugzilla   : 7376
562 Description: Tunables on number of dirty pages in cacche
563 Details    : Allow to set limit on number of dirty pages cached.
564
565 Severity   : normal
566 Frequency  : rare
567 Bugzilla   : 10643
568 Description: client crash on unmount - lock still has references
569 Details    : In some error handling cases it was possible to leak a lock
570              reference on a client while accessing a file.  This was not
571              harmful to the client during operation, but would cause the
572              client to crash when the filesystem is unmounted.
573
574 Severity   : normal
575 Frequency  : specific case, rare
576 Bugzilla   : 10921
577 Description: ETXTBSY on mds though file not in use by client
578 Details    : ETXTBSY is no longer incorrectly returned when attempting to
579              chmod or chown a directory that the user previously tried to
580              execute or a currently-executing binary.
581
582 Severity   : major
583 Frequency  : extremely rare except on liblustre-based clients
584 Bugzilla   : 10480
585 Description: Lustre space not freed when files are deleted
586 Details    : Clean up open-unlinked files after client eviction.  Previously
587              the unlink was skipped and the files remained as orphans.
588
589 Severity   : normal
590 Frequency  : rare
591 Bugzilla   : 10999
592 Description: OST failure "would be an LBUG" in waiting_locks_callback()
593 Details    : In some cases it was possible to send a blocking callback to
594              a client doing a glimpse, even though that client didn't get
595              a lock granted.  When the glimpse lock is cancelled on the OST
596              the freed lock is left on the waiting list and corrupted the list.
597
598 Severity   : major
599 Frequency  : all core dumps
600 Bugzilla   : 11103
601 Description: Broke core dumps to lustre
602 Details    : Negative dentry may be unhashed if parent does not have UPDATE
603              lock, but some callers, e.g. do_coredump, expect dentry to be
604              hashed after successful create, hash it in ll_create_it.
605
606 ------------------------------------------------------------------------------
607
608 2006-09-13  Cluster File Systems, Inc. <info@clusterfs.com>
609        * version 1.4.7.1
610        * Support for kernels:
611         2.6.9-42.0.2.EL (RHEL 4)
612         2.6.5-7.276 (SLES 9)
613         2.4.21-40.EL (RHEL 3)
614         2.6.12.6 vanilla (kernel.org)
615       * bug fix
616
617 Severity   : major
618 Frequency  : always on RHEL 3
619 Bugzilla   : 10867
620 Description: Number of open files grows over time
621 Details    : The number of open files grows over time, whether or not
622              Lustre is started.  This was due to a filp leak introduced
623              by one of our kernel patches.
624
625 ------------------------------------------------------------------------------
626
627 2006-08-20  Cluster File Systems, Inc. <info@clusterfs.com>
628        * version 1.4.7
629        * Support for kernels:
630         2.6.9-42.EL (RHEL 4)
631         2.6.5-7.267 (SLES 9)
632         2.4.21-40.EL (RHEL 3)
633         2.6.12.6 vanilla (kernel.org)
634        * bug fixes
635
636 Severity   : major
637 Frequency  : rare
638 Bugzilla   : 5719, 9635, 9792, 9684
639 Description: OST (or MDS) trips assertions in (re)connection under heavy load
640 Details    : If a server is under heavy load and cannot reply to new
641              connection requests before the client resends the (re)connect,
642              the connection handling code can behave badly if two service
643              threads are concurrently handing separate (re)connections from
644              the same client.  Add better locking to the connection handling
645              code, and ensure that only a single connection will be processed
646              for a given client UUID, even if the lock is dropped.
647
648 Severity   : enhancement
649 Bugzilla   : 3627
650 Description: add TCP zero-copy support to kernel
651 Details    : Add support to the kernel TCP stack to allow zero-copy bulk
652              sends if the hardware supports scatter-gather and checksumming.
653              This allows socklnd to do client-write and server-read more
654              efficiently and reduce CPU utilization from skbuf copying.
655
656 Severity   : minor
657 Frequency  : only if NFS exporting from client
658 Bugzilla   : 10258
659 Description: NULL pointer deref in ll_iocontrol() if chattr mknod file
660 Details    : If setting attributes on a file created under NFS that had
661              never been opened it would be possible to oops the client
662              if the file had no objects.
663
664 Severity   : major
665 Frequency  : rare
666 Bugzilla   : 9326, 10402, 10897
667 Description: client crash in ptlrpcd_wake() thread when sending async RPC
668 Details    : It is possible that ptlrpcd_wake() dereferences a freed async
669              RPC.  In rare cases the ptlrpcd thread alread processed the RPC
670              before ptlrpcd_wake() was called and the request was freed.
671
672 Severity   : minor
673 Frequency  : always for liblustre
674 Bugzilla   : 10290
675 Description: liblustre client does MDS+OSTs setattr RPC for each write
676 Details    : When doing a write from a liblustre client, the client
677              incorrectly issued an RPC to the MDS and each OST the file was
678              striped over in order to update the timestamps.  When writing
679              with small chunks and many clients this could overwhelm the MDS
680              with RPCs.  In all cases it would slow down the write because
681              these RPCs are unnecessary.
682
683 Severity   : enhancement
684 Bugzilla   : 9340
685 Description: allow number of MDS service threads to be changed at module load
686 Details    : It is now possible to change the number of MDS service threads
687              running.  Adding "options mds mds_num_threads={N}" to the MDS's
688              /etc/modprobe.conf will set the number of threads for the next
689              time Lustre is restarted (assuming the "mds" module is also
690              reloaded at that time).  The default number of threads will
691              stay the same, 32 for most systems.
692
693 Severity   : major
694 Frequency  : rare
695 Bugzilla   : 10300
696 Description: OST crash if filesystem is unformatted or corrupt
697 Details    : If an OST is started on a device that has never been formatted
698              or if the filesystem is corrupt and cannot even mount then the
699              error handling cleanup routines would dereference a NULL pointer.
700
701 Severity   : normal
702 Frequency  : rare
703 Bugzilla   : 10047
704 Description: NULL pointer deref in llap_from_page.
705 Details    : get_cache_page_nowait can return a page with NULL (or otherwise
706              incorrect) mapping if the page was truncated/reclaimed while it was
707              searched for. Check for this condition and skip such pages when
708              doing readahead. Introduce extra check to llap_from_page() to
709              verify page->mapping->host is non-NULL (so page is not anonymous).
710
711 Severity   : minor
712 Frequency  : Sometimes when using sys_sendfile
713 Bugzilla   : 7020
714 Description: "page not covered by a lock" warnings from ll_readpage
715 Details    : sendfile called ll_readpage without right page locks present.
716              Now we introduced ll_file_sendfile that does necessary locking
717              around call to generic_file_sendfile() much like we do in
718              ll_file_read().
719
720 Severity   : normal
721 Frequency  : with certain MDS communication failures at client mount time
722 Bugzilla   : 10268
723 Description: NULL pointer deref after failed client mount
724 Details    : a client connection request may delayed by the network layer
725              and not be sent until after the PTLRPC layer has timed out the
726              request.  If the client fails the mount immediately it will try
727              to clean up before the network times out the request.  Add a
728              reference from the request import to the obd device and delay
729              the cleanup until the network drops the request.
730
731 Severity   : normal
732 Frequency  : occasionally during client (re)connect
733 Bugzilla   : 9387
734 Description: assertion failure during client (re)connect
735 Details    : processing a client connection request may be delayed by the
736              client or server longer than the client connect timeout.  This
737              causes the client to resend the connection request.  If the
738              original connection request is replied in this interval, the
739              client may trip an assertion failure in ptlrpc_connect_interpret()
740              which thought it would be the only running connect process.
741
742 Severity   : normal
743 Frequency  : only with obd_echo servers and clients that are rebooted
744 Bugzilla   : 10140
745 Description: kernel BUG accessing uninitialized data structure
746 Details    : When running an obd_echo server it did not start the ping_evictor
747              thread, and when a client was evicted an uninitialized data
748              structure was accessed.  Start the ping_evictor in the RPC
749              service startup instead of the OBD startup.
750
751 Severity   : enhancement
752 Bugzilla   : 10193 (patchless)
753 Description: Remove dependency on various unexported kernel interfaces.
754 Details    : No longer need reparent_to_init, exit_mm, exit_files,
755              sock_getsockopt, filemap_populate, FMODE_EXEC, put_filp.
756
757 Severity   : minor
758 Frequency  : rare (only users of deprecated and unsupported LDAP config)
759 Bugzilla   : 9337
760 Description: write_conf for zeroconf mount queried LDAP incorrectly for client
761 Details    : LDAP apparently contains 'lustreName' attributes instead of
762              'name'.  A simple remapping of the name is sufficient.
763
764 Severity   : major
765 Frequency  : rare (only with non-default dump_on_timeout debug enabled)
766 Bugzilla   : 10397
767 Description: waiting_locks_callback trips kernel BUG if client is evicted
768 Details    : Running with the dump_on_timeout debug flag turned on makes
769              it possible that the waiting_locks_callback() can try to dump
770              the Lustre kernel debug logs from an interrupt handler.  Defer
771              this log dumping to the expired_lock_main() thread.
772
773 Severity   : enhancement
774 Bugzilla   : 10420
775 Description: Support NFS exporting on 2.6 kernels.
776 Details    : Implement non-rawops metadata methods for NFS server to use without
777              changing NFS server code.
778
779 Severity   : normal
780 Frequency  : very rare (synthetic metadata workload only)
781 Bugzilla   : 9974
782 Description: two racing renames might cause an MDS thread to deadlock
783 Details    : Running the "racer" program may cause one MDS thread to rename
784              a file from being the source of a rename to being the target of
785              a rename at exactly the same time that another thread is doing
786              so, and the second thread has already enqueued these locks after
787              doing a lookup of the target and is trying to relock them in
788              order.  Ensure that we don't try to re-lock the same resource.
789
790 Severity   : major
791 Frequency  : only very large systems with liblustre clients
792 Bugzilla   : 7304
793 Description: slow eviction of liblustre clients with the "evict_by_nid" RPC
794 Details    : Use asynchronous set_info RPCs to send the "evict_by_nid" to
795              all OSTs in parallel.  This allows the eviction of stale liblustre
796              clients to proceed much faster than if they were done in series,
797              and also offers similar improvements for other set_info RPCs.
798
799 Severity   : minor
800 Frequency  : common
801 Bugzilla   : 10265
802 Description: excessive CPU usage during initial read phase on client
803 Details    : During the initial read phase on a client, it would agressively
804              retry readahead on the file, consuming too much CPU and impacting
805              performance (since 1.4.5.8).  Improve the readahead algorithm
806              to avoid this, and also improve some other common cases (read
807              of small files in particular, where "small" is files smaller than
808              /proc/fs/lustre/llite/*/max_read_ahead_whole_mb, 2MB by default).
809
810 Severity   : minor
811 Frequency  : rare
812 Bugzilla   : 10450
813 Description: MDS crash when receiving packet with unknown intent.
814 Details    : Do not LBUG in unknown intent case, just return -EFAULT
815
816 Severity   : enhancement
817 Bugzilla   : 9293, 9385
818 Description: MDS RPCs are serialised on client. This is unnecessary for some.
819 Details    : Do not serialize getattr (non-intent version) and statfs.
820
821 Severity   : minor
822 Frequency  : occasional, when OST network is overloaded/intermittent
823 Bugzilla   : 10416
824 Description: client evicted by OST after bulk IO timeout
825 Details    : If a client sends a bulk IO request (read or write) the OST
826              may evict the client if it is unresposive to its data GET/PUT
827              request.  This is incorrect if the network is overloaded (takes
828              too long to transfer the RPC data) or dropped the OST GET/PUT
829              request.  There is no need to evict the client at all, since
830              the pinger and/or lock callbacks will handle this, and the
831              client can restart the bulk request.
832
833 Severity   : minor
834 Frequency  : Always when mmapping file with no objects
835 Bugzilla   : 10438
836 Description: client crashes when mmapping file with no objects
837 Details    : Check that we actually have objects in a file before doing any
838              operations on objects in ll_vm_open, ll_vm_close and
839              ll_glimpse_size.
840
841 Severity   : minor
842 Frequency  : Rare
843 Bugzilla   : 10484
844 Description: Request leak when working with deleted CWD
845 Details    : Introduce advanced request refcount tracking for requests
846              referenced from lustre intent.
847
848 Severity   : Enhancement
849 Bugzilla   : 10482
850 Description: Cache open file handles on client.
851 Details    : MDS now will return special lock along with openhandle, if
852              requested and client is allowed to hold openhandle, even if unused,
853              until such a lock is revoked. Helps NFS a lot, since NFS is opening
854              closing files for every read/write openration.
855
856 Severity   : Enhancement
857 Bugzilla   : 9291
858 Description: Cache open negative dentries on client when possible.
859 Details    : Guard negative dentries with UPDATE lock on parent dir, drop
860              negative dentries on lock revocation.
861
862 Severity   : minor
863 Frequency  : Always
864 Bugzilla   : 10510
865 Description: Remounting a client read-only wasn't possible with a zconf mount
866 Details    : It wasn't possible to remount a client read-only with llmount.
867
868 Severity   : enhancement
869 Description: Include MPICH 1.2.6 Lustre ADIO interface patch
870 Details    : In lustre/contrib/ or /usr/share/lustre in RPM a patch for
871              MPICH is included to add Lustre-specific ADIO interfaces.
872              This is based closely on the UFS ADIO layer and only differs
873              in file creation, in order to allow the OST striping to be set.
874              This is user-contributed code and not supported by CFS.
875
876 Severity   : minor
877 Frequency  : Always
878 Bugzilla   : 9486
879 Description: extended inode attributes (immutable, append-only) work improperly
880              when 2.4 and 2.6 kernels are used on client/server or vice versa
881 Details    : Introduce kernel-independent values for these flags.
882
883 Severity   : enhancement
884 Frequency  : Always
885 Bugzilla   : 10248
886 Description: Allow fractional MB tunings for lustre in /proc/ filesystem.
887 Details    : Many of the /proc/ tunables can only be tuned at a megabyte
888              granularity. Now, Fractional MB granularity is be supported,
889              this is very useful for low memory system.
890
891 Severity   : enhancement
892 Bugzilla   : 9292
893 Description: Getattr by fid
894 Details    : Getting a file attributes by its fid, obtaining UPDATE|LOOKUP
895              locks, avoids extra getattr rpc requests to MDS, allows '/' to
896              have locks and avoids getattr rpc requests for it on every stat.
897
898 Severity   : major
899 Frequency  : Always, for filesystems larger than 2TB
900 Bugzilla   : 6191
901 Description: ldiskfs crash at mount for filesystem larger than 2TB with mballoc
902 Details    : Kenrel kmalloc limits allocations to 128kB and this prevents
903              filesystems larger than 2TB to be mounted with mballoc enabled.
904
905 Severity   : critical
906 Frequency  : Always, for 32-bit kernel without CONFIG_LBD and filesystem > 2TB
907 Bugzilla   : 6191
908 Description: filesystem corruption for non-standard kernels and very large OSTs
909 Details    : If a 32-bit kernel is compiled without CONFIG_LBD enabled and a
910              filesystems larger than 2TB is mounted then the kernel will
911              silently corrupt the start of the filesystem.  CONFIG_LBD is
912              enabled for all CFS-supported kernels, but the possibility of
913              this happening with a modified kernel config exists.
914
915 Severity   : enhancement
916 Bugzilla   : 10462
917 Description: add client O_DIRECT support for 2.6 kernels
918 Details    : It is now possible to do O_DIRECT reads and writes to files
919              in the Lustre client mountpoint on 2.6 kernel clients.
920
921 Severity   : enhancement
922 Bugzilla   : 10446
923 Description: parallel glimpse, setattr, statfs, punch, destroy requests
924 Details    : Sends glimpse, setattr, statfs, punch, destroy requests to OSTs in
925              parallel, not waiting for response from every OST before sending
926              a rpc to the next OST.
927
928 Severity   : minor
929 Frequency  : rare
930 Bugzilla   : 10150
931 Description: setattr vs write race when updating file timestamps
932 Details    : Client processes that update a file timestamp into the past
933              right after writing to the file (e.g. tar) it is possible that
934              the updated file modification time can be reset to the current
935              time due to a race between processing the setattr and write RPC.
936
937 Severity   : enhancement
938 Bugzilla   : 10318
939 Description: Bring 'lfs find' closer in line with regular Linux find.
940 Details    : lfs find util supports -atime, -mtime, -ctime, -maxdepth, -print,
941              -print0 options and obtains all the needed info through the lustre
942              ioctls.
943
944 Severity   : enhancement
945 Bugzilla   : 6221
946 Description: support up to 1024 configured devices on one node
947 Details    : change obd_dev array from statically allocated to dynamically
948              allocated structs as they are first used to reduce memory usage
949
950 Severity   : minor
951 Frequency  : rare
952 Bugzilla   : 10437
953 Description: Flush dirty partially truncated pages during truncate
954 Details    : Immediatelly flush partially truncated pages in filter_setattr,
955              this way we completely avoid having any pages in page cache on OST
956              and can retire ugly workarounds during writes to flush such pages.
957
958 Severity   : minor
959 Frequency  : rare
960 Bugzilla   : 10409
961 Description: i_sem vs transaction deadlock in mds_obd_destroy during unlink.
962 Details    : protect inode from truncation within vfs_unlink() context
963              just take a reference before calling vfs_unlink() and release it
964              when parent's i_sem is free.
965
966 Severity   : minor
967 Frequency  : always, if extents are used on OSTs
968 Bugzilla   : 10703
969 Description: index ei_leaf_hi (48-bit extension) is not zeroed in extent index
970 Details    : OSTs using the extents format would not zero the high 16 bits of
971              the index physical block number.  This is not a problem for any
972              OST filesystems smaller than 16TB, and no kernels support ext3
973              filesystems larger than 16TB yet.  This is fixed in 1.4.7 (all
974              new/modified files) and can be fixed for existing filesystems
975              with e2fsprogs-1.39-cfs1.
976
977 Severity   : minor
978 Frequency  : rare
979 Bugzilla   : 9387
980 Description: import connection selection may be incorrect if timer wraps
981 Details    : Using a 32-bit jiffies timer with HZ=1000 may cause backup
982              import connections to be ignored if the 32-bit jiffies counter
983              wraps.  Use a 64-bit jiffies counter.
984
985 Severity   : major
986 Frequency  : during server recovery
987 Bugzilla   : 10479
988 Description: crash after server is denying duplicate export
989 Details    : If clients are resending connect requests to the server, the
990              server refuses to allow a client to connect multiple times.
991              Fixed a bug in the handling of this case.
992
993 Severity   : minor
994 Frequency  : very large clusters immediately after boot
995 Bugzilla   : 10083
996 Description: LNET request buffers exhausted under heavy short-term load
997 Details    : If a large number of client requests are generated on a service
998              that has previously never seen so many requests it is possible
999              that the request buffer growth cannot keep up with the spike in
1000              demand.  Instead of dropping incoming requests, they are held in
1001              the LND until the RPC service can accept more requests.
1002
1003 Severity   : minor
1004 Frequency  : Sometimes during replay
1005 Bugzilla   : 9314
1006 Description: Assertion failure in ll_local_open after replay.
1007 Details    : If replay happened on an open request reply before we were able
1008              to set replay handler, reply will become not swabbed tripping the
1009              assertion in ll_local_open. Now we set the handler right after
1010              recognising of open request
1011
1012 Severity   : minor
1013 Frequency  : very rare
1014 Bugzilla   : 10584
1015 Description: kernel reports "badness in vsnprintf"
1016 Details    : Reading from the "recovery_status" /proc file in small chunks
1017              may cause a negative length in lprocfs_obd_rd_recovery_status()
1018              call to vsnprintf() (which is otherwise harmless).  Exit early
1019              if there is no more space in the output buffer.
1020
1021 Severity   : enhancement
1022 Bugzilla   : 2259
1023 Description: clear OBD RPC statistics by writing to them
1024 Details    : It is now possible to clear the OBD RPC statistics by writing
1025              to the "stats" file.
1026
1027 Severity   : minor
1028 Frequency  : rare
1029 Bugzilla   : 10641
1030 Description: Client mtime is not the same on different clients after utimes
1031 Details    : In some cases, the client was using the utimes() syscall on
1032              a file cached on another node.  The clients now validate the
1033              ctime from the MDS + OSTs to determine which one is right.
1034
1035 Severity   : minor
1036 Frequency  : always
1037 Bugzilla   : 10611
1038 Description: Inability to activate failout mode
1039 Details    : lconf script incorrectly assumed that in python string's numeric
1040              value is used in comparisons.
1041
1042 Severity   : minor
1043 Frequency  : always with multiple stripes per file
1044 Bugzilla   : 10671
1045 Description: Inefficient object allocation for mutli-stripe files
1046 Details    : When selecting which OSTs to stripe files over, for files with
1047              a stripe count that divides evenly into the number of OSTs,
1048              the MDS is always picking the same starting OST for each file.
1049              Return the OST selection heuristic to the original design.
1050
1051 Severity   : minor
1052 Frequency  : rare
1053 Bugzilla   : 10673
1054 Description: mount failures may take full timeout to return an error
1055 Details    : Under some heavy load conditions it is possible that a
1056              failed mount can wait for the full obd_timeout interval,
1057              possibly several minutes, before reporting an error.
1058              Instead return an error as soon as the status is known.
1059
1060 ------------------------------------------------------------------------------
1061
1062 2006-02-14  Cluster File Systems, Inc. <info@clusterfs.com>
1063        * version 1.4.6
1064        * WIRE PROTOCOL CHANGE.  This version of Lustre networking WILL NOT
1065          INTEROPERATE with older versions automatically.  Please read the
1066          user documentation before upgrading any part of a live system.
1067        * WARNING: Lustre networking configuration changes are required with
1068          this release.  See https://bugzilla.clusterfs.com/show_bug.cgi?id=10052
1069          for details.
1070        * bug fixes
1071        * Support for kernels:
1072         2.6.9-22.0.2.EL (RHEL 4)
1073         2.6.5-7.244 (SLES 9)
1074         2.6.12.6 vanilla (kernel.org)
1075
1076
1077 Severity   : enhancement
1078 Bugzilla   : 7981/8208
1079 Description: Introduced Lustre Networking (LNET)
1080 Details    : LNET is new networking infrastructure for Lustre, it includes
1081              a reorganized network configuration mode (see the user
1082              documentation for full details) as well as support for routing
1083              between different network fabrics.  Lustre Networking Devices
1084              (LNDs) for the supported network fabrics have also been
1085              created for this new infrastructure.
1086
1087 Severity   : enhancement
1088 Description: Introduced Access control lists
1089 Details    : clients can set ACLs on files and directories in order to have
1090              more fine-grained permissions than the standard Unix UGO+RWX.
1091              The MDS must be started with the "-o acl" mount option.
1092
1093 Severity   : enhancement
1094 Description: Introduced filesystem quotas
1095 Details    : Administrators may now establish per-user quotas on the
1096              filesystem.
1097
1098 Severity   : enhancement
1099 Bugzilla   : 7982
1100 Description: Configuration change for the XT3
1101              The PTLLND is now used to run Lustre over Portals on the XT3
1102              The configure option(s) --with-cray-portals are no longer used.
1103              Rather --with-portals=<path-to-portals-includes> is used to
1104              enable building on the XT3.  In addition to enable XT3 specific
1105              features the option --enable-cray-xt3 must be used.
1106         
1107 Severity   : major
1108 Frequency  : rare
1109 Bugzilla   : 7407
1110 Description: Running on many-way SMP OSTs can trigger oops in llcd_send()
1111 Details    : A race between allocating a new llcd and re-getting the llcd_lock
1112              allowed another thread to grab newly-allocated llcd.
1113
1114 Severity   : enhancement
1115 Bugzilla   : 7116
1116 Description: 2.6 OST async journal commit and locking fix to improve performance
1117 Details    : The filter_direct_io()+filter_commitrw_write() journal commits for
1118              2.6 kernels are now async as they already were in 2.4 kernels so
1119              that they can commit concurrently with the network bulk transfer.
1120              For block-allocated files the filter allocation semaphore is held
1121              to avoid filesystem fragmentation during allocation.  BKL lock
1122              removed for 2.6 xattr operations where it is no longer needed.
1123
1124 Severity   : minor
1125 Frequency  : rare
1126 Bugzilla   : 8320
1127 Description: lconf incorrectly determined whether two IP networks could talk
1128 Details    : In some more complicated routing and multiple-network
1129              configurations, lconf will avoid trying to make a network
1130              connection to a disjoint part of the IP space.  It was doing the
1131              math incorrectly for one set of cases.
1132
1133 Severity   : major
1134 Frequency  : rare
1135 Bugzilla   : 7359
1136 Description: Fix for potential infinite loop processing records in an llog.
1137 Details    : If an llog record is corrupted/zeroed, it is possible to loop
1138              forever in llog_process().  Validate the llog record length
1139              and skip the remainder of the block on error.
1140
1141 Severity   : minor
1142 Frequency  : occasional (liblustre only)
1143 Bugzilla   : 6363
1144 Description: liblustre could not open files whose last component is a symlink
1145 Details    : sysio_path_walk() would incorrectly pass the open intent to
1146              intermediate path components.
1147
1148 Severity   : minor
1149 Frequency  : rare (liblustre only with non-standard tuning)
1150 Bugzilla   : 7201 (7350)
1151 Description: Tuning the MDC DLM LRU size to zero triggers client LASSERT
1152 Details    : llu_lookup_finish_locks() tries to set lock data on a lock
1153              after it has been released, only do this for referenced locks
1154
1155 Severity   : enhancement
1156 Bugzilla   : 7328
1157 Description: specifying an (invalid) directory default stripe_size of -1
1158              would reset the directory default striping
1159 Details    : stripe_size -1 was used internally to signal directory stripe
1160              removal, now use "all default" to signal dir stripe removal
1161              as a directory striping of "all default" is not useful
1162
1163 Severity   : minor
1164 Frequency  : common for large clusters running liblustre clients
1165 Bugzilla   : 7198
1166 Description: doing an ls when liblustre clients are running is slow
1167 Details    : sending a glimpse AST to a liblustre client waits for every AST
1168              to time out, as liblustre clients will not respond.  Since they
1169              cannot cache data we refresh the OST lock LVB from disk instead.
1170
1171 Severity   : enhancement
1172 Bugzilla   : 7198
1173 Description: doing an ls at the same time as file IO can be slow
1174 Details    : enqueue and other "small" requests can be blocked behind many
1175              large IO requests.  Create a new OST IO portal for non-IO
1176              requests so they can be processed faster.
1177
1178 Severity   : minor
1179 Frequency  : rare (only HPUX clients mounting unsupported re-exported NFS vol)
1180 Bugzilla   : 5781
1181 Description: an HPUX NFS client would get -EACCESS when ftruncate()ing a newly
1182              created file with mode 000
1183 Details    : the Linux NFS server relies on an MDS_OPEN_OWNEROVERRIDE hack to
1184              allow an ftruncate() as a non-root user to a file with mode 000.
1185              Lustre now respects this flag to disable mode checks when
1186              truncating a file owned by the user
1187
1188 Severity   : minor
1189 Frequency  : liblustre-only, when liblustre client dies unexpectedly or becomes
1190              busy
1191 Bugzilla   : 7313
1192 Description: Revoking locks from clients that went dead or catatonic might take
1193              a lot of time.
1194 Details    : New lock flags FL_CANCEL_ON_BLOCK used by liblustre makes
1195              cancellation of such locks instant on servers without waiting for
1196              any reply from clients. Clients drops these locks when cancel
1197              notification from server is received without replying.
1198
1199 Severity   : minor
1200 Frequency  : liblustre-only, when liblustre client dies or becomes busy
1201 Bugzilla   : 7311
1202 Description: Doing ls on Linux clients can take a long time with active
1203              liblustre clients
1204 Details    : Liblustre client cannot handle ASTs in timely manner, so avoid
1205              granting such locks to it in the first place if possible.  Locks
1206              are taken by proxy on the OST during the read or write and
1207              dropped immediately afterward.  Add connect flags handling, do
1208              not grant locks to liblustre clients for glimpse ASTs.
1209
1210 Severity   : enhancement
1211 Bugzilla   : 6252
1212 Description: Improve read-ahead algorithm to avoid excessive IO for random reads
1213 Details    : Existing read-ahead algorithm is tuned for the case of streamlined
1214              sequential reads and behaves badly with applications doing random
1215              reads.  Improve it by reading ahead at least read region, and
1216              avoiding excessive large RPC for small reads.
1217
1218 Severity   : enhancement
1219 Bugzilla   : 8330
1220 Description: Creating more than 1000 files for a single job may cause a load
1221              imbalance on the OSTs if there are also a large number of OSTs.
1222 Details    : qos_prep_create() uses an OST index reseed value that is an
1223              even multiple of the number of available OSTs so that if the
1224              reseed happens in the middle of the object allocation it will
1225              still utilize the OSTs as uniformly as possible.
1226
1227 Severity   : major
1228 Frequency  : rare
1229 Bugzilla   : 8322
1230 Description: OST or MDS may oops in ping_evictor_main()
1231 Details    : ping_evictor_main() drops obd_dev_lock if deleting a stale export
1232              but doesn't restart at beginning of obd_exports_timed list
1233              afterward.
1234
1235 Severity   : enhancement
1236 Bugzilla   : 7304
1237 Description: improve by-nid export eviction on the MDS and OST
1238 Details    : allow multiple exports with the same NID to be evicted at one
1239              time without re-searching the exports list.
1240
1241 Severity   : major
1242 Frequency  : rare, only with supplementary groups enabled on SMP 2.6 kernels
1243 Bugzilla   : 7273
1244 Description: MDS may oops in groups_free()
1245 Details    : in rare race conditions a newly allocated group_info struct is
1246              freed again, and this can be NULL.  The 2.4 compatibility code
1247              for groups_free() checked for a NULL pointer, but 2.6 did not.
1248
1249 Severity   : minor
1250 Frequency  : common for liblustre clients doing little filesystem IO
1251 Bugzilla   : 9352, 7313
1252 Description: server may evict liblustre clients accessing contended locks
1253 Details    : if a client is granted a lock or receives a completion AST
1254              with a blocking AST already set it would not reply to the AST
1255              for LDLM_FL_CANCEL_ON_BLOCK locks.  It now replies to such ASTs.
1256
1257 Severity   : minor
1258 Frequency  : lfs setstripe, only systems with more than 160 OSTs
1259 Bugzilla   : 9440
1260 Description: unable to set striping with a starting offset beyond OST 160
1261 Details    : llapi_create_file() incorrectly limited the starting stripe
1262              index to the maximum single-file stripe count.
1263
1264 Severity   : minor
1265 Frequency  : LDAP users only
1266 Bugzilla   : 6163
1267 Description: lconf did not handle in-kernel recovery with LDAP properly
1268 Details    : lconf/LustreDB get_refs() is searching the wrong namespace
1269
1270 Severity   : enhancement
1271 Bugzilla   : 7342
1272 Description: bind OST threads to NUMA nodes to improve performance
1273 Details    : all OST threads are uniformly bound to CPUs on a single NUMA
1274              node and do their allocations there to localize memory access
1275
1276 Severity   : enhancement
1277 Bugzilla   : 7979
1278 Description: llmount can determine client NID directly from Myrinet (GM)
1279 Details    : the client NID code from gmnalnid was moved directly into
1280              llmount, removing the need to use this or specifying the
1281              client NID explicitly when mounting GM clients with zeroconf
1282
1283 Severity   : minor
1284 Frequency  : if client is started with down MDS
1285 Bugzilla   : 7184
1286 Description: if client is started with down MDS mount hangs in ptlrpc_queue_wait
1287 Details    : Having an LWI_INTR() wait event (interruptible, but no timeout)
1288              will wait indefinitely in ptlrpc_queue_wait->l_wait_event() after
1289              ptlrpc_import_delayed_req() because we didn't check if the
1290              request was interrupted, and we also didn't break out of the
1291              event loop if there was no timeout
1292
1293 Severity   : major
1294 Frequency  : rare
1295 Bugzilla   : 5047
1296 Description: data loss during non-page-aligned writes to a single file from
1297              both multiple nodes and multiple threads on one node at same time
1298 Details    : updates to KMS and lsm weren't protected by common lock. Resulting
1299              inconsistency led to false short-reads, that were cached and later
1300              used by ->prepare_write() to fill in partially written page,
1301              leading to data loss.
1302
1303 Severity   : minor
1304 Frequency  : always, if lconf --abort_recovery used
1305 Bugzilla   : 7047
1306 Description: lconf --abort_recovery fails with 'Operation not supported'
1307 Details    : lconf was attempting to abort recovery on the MDT device and not
1308              the MDS device
1309
1310 Severity   : enhancement
1311 Bugzilla   : 9445
1312 Description: remove cleanup logs
1313 Details    : replace lconf-generated cleanup logs with lustre internal
1314              cleanup routines.  Eliminates the need for client-cleanup and
1315              mds-cleanup logs.
1316
1317 Severity   : enhancement
1318 Bugzilla   : 8592
1319 Description: add support for EAs (user and system) on lustre filesystems
1320 Details    : it is now possible to store extended attributes in the Lustre
1321              client filesystem, and with the user_xattr mount option it
1322              is possible to allow users to store EAs on their files also
1323
1324 Severity   : enhancement
1325 Bugzilla   : 7293
1326 Description: Add possibility (config option) to show minimal available OST free
1327              space.
1328 Details    : When compiled with --enable-mindf configure option, statfs(2)
1329              (and so, df) will return least minimal free space available from
1330              all OSTs as amount of free space on FS, instead of summary of
1331              free spaces of all OSTs.
1332
1333 Severity   : enhancement
1334 Bugzilla   : 7311
1335 Description: do not expand extent locks acquired on OST-side
1336 Details    : Modify ldlm_extent_policy() to not expand local locks, acquired
1337              by server: they are not cached anyway.
1338
1339 Severity   : major
1340 Frequency  : when mmap is used/binaries executed from Lustre
1341 Bugzilla   : 9482
1342 Description: Unmmap pages before throwing them away from read cache.
1343 Details    : llap_shrink cache now attempts to unmap pages before discarding
1344              them (if unmapping failed - do not discard).  SLES9 kernel has
1345              extra checks that trigger if this unmapping is not done first.
1346
1347 Severity   : minor
1348 Frequency  : rare
1349 Bugzilla   : 6034
1350 Description: lconf didn't resolve symlinks before checking to see whether a
1351              given mountpoint was already in use
1352
1353 Severity   : minor
1354 Frequency  : when migrating failover services
1355 Bugzilla   : 6395, 9514
1356 Description: When migrating a subset of services from a node (e.g. failback
1357              from a failover service node) the remaining services would
1358              time out and evict clients.
1359 Details    : lconf --force (implied by --failover) sets the global obd_timeout
1360              to 5 seconds in order to quickly disconnect, but this caused
1361              other RPCs to time out too quickly.  Do not change the global
1362              obd_timeout for force cleanup, only set it for DISCONNECT RPCs.
1363
1364 Severity   : enhancement
1365 Frequency  : if MDS is started with down OST
1366 Bugzilla   : 9439,5706
1367 Description: Allow startup/shutdown of an MDS without depending on the
1368              availability of the OSTs.
1369 Details    : Asynchronously call mds_lov_synchronize during MDS startup.
1370              Add appropriate locking and lov-osc refcounts for safe
1371              cleaning.  Add osc abort_inflight calls in case the
1372              synchronize never started.
1373
1374 Severity   : minor
1375 Frequency  : occasional (Cray XT3 only)
1376 Bugzilla   : 7305
1377 Description: root not authorized to access files in CRAY_PORTALS environment
1378 Details    : The client process capabilities were not honoured on the MDS in
1379              a CRAY_PORTALS/CRAY_XT3 environment.  If the file had previously
1380              been accessed by an authorized user then root was able to access
1381              the file on the local client also.  The root user capabilities
1382              are now allowed on the MDS, as this environment has secure UID.
1383
1384 Severity   : minor
1385 Frequency  : occasional
1386 Bugzilla   : 6449
1387 Description: ldiskfs "too long searching" message happens too often
1388 Details    : A debugging message (otherwise harmless) prints too often on
1389              the OST console.  This has been reduced to only happen when
1390              there are fragmentation problems on the filesystem.
1391
1392 Severity   : minor
1393 Frequency  : rare
1394 Bugzilla   : 9598
1395 Description: Division by zero in statfs when all OSCs are inactive
1396 Details    : lov_get_stripecnt() returns zero due to incorrect order of checks,
1397              lov_statfs divides by value returned by lov_get_stripecnt().
1398
1399 Severity   : minor
1400 Frequency  : common
1401 Bugzilla   : 9489, 3273
1402 Description: First write from each client to each OST was only 4kB in size,
1403              to initialize client writeback cache, which caused sub-optimal
1404              RPCs and poor layout on disk for the first writen file.
1405 Details    : Clients now request an initial cache grant at (re)connect time
1406              and so that they can start streaming writes to the cache right
1407              away and always do full-sized RPCs if there is enough data.
1408              If the OST is rebooted the client also re-establishes its grant
1409              so that client cached writes will be honoured under the grant.
1410
1411 Severity   : minor
1412 Frequency  : common
1413 Bugzilla   : 7198
1414 Description: Slow ls (and stat(2) syscall) on files residing on IO-loaded OSTs
1415 Details    : Now I/O RPCs go to different portal number and (presumably) fast
1416              lock requests (and glimses) and other RPCs get their own service
1417              threads pool that should be able to service those RPCs
1418              immediatelly.
1419
1420 Severity   : enhancement
1421 Bugzilla   : 7417
1422 Description: Ability to exchange lustre version between client and servers and
1423              issue warnings at client side if client is too old. Also for
1424              liblustre clients there is ability to refuse connection of too old
1425              clients.
1426 Details    : New 'version' field is added to connect data structure that is
1427              filled with version info. That info is later checked by server and
1428              by client.
1429
1430 Severity   : minor
1431 Frequency  : rare, liblustre only.
1432 Bugzilla   : 9296, 9581
1433 Description: Two simultaneous writes from liblustre at offset within same page
1434              might proceed at the same time overwriting eachother with stale
1435              data.
1436 Details    : I/O lock withing llu_file_prwv was released too early, before data
1437              actually was hitting the wire. Extended lock-holding time until
1438              server acknowledges receiving data.
1439
1440 Severity   : minor
1441 Frequency  : extremely rare. Never observed in practice.
1442 Bugzilla   : 9652
1443 Description: avoid generating lustre_handle cookie of 0.
1444 Details    : class_handle_hash() generates handle cookies by incrementing
1445              global counter, and can hit 0 occasionaly (this is unlikely, but
1446              not impossible, because initial value of cookie counter is
1447              selected randonly). Value of 0 is used as a sentinel meaning
1448              "unassigned handle" --- avoid it. Also coalesce two critical
1449              sections in this function into one.
1450
1451 Severity   : enhancement
1452 Bugzilla   : 9528
1453 Description: allow liblustre clients to delegate truncate locking to OST
1454 Details    : To avoid overhead of locking, liblustre client instructs OST to
1455              take extent lock in ost_punch() on client's behalf. New connection
1456              flag is added to handle backward compatibility.
1457
1458 Severity   : enhancement
1459 Bugzilla   : 4928, 7341, 9758
1460 Description: allow number of OST service threads to be specified
1461 Details    : a module parameter allows the number of OST service threads
1462              to be specified via "options ost ost_num_threads={N}" in the
1463              OSS's /etc/modules.conf or /etc/modprobe.conf.
1464
1465 Severity   : major
1466 Frequency  : rare
1467 Bugzilla   : 6146, 9635, 9895
1468 Description: servers crash with bad pointer in target_handle_connect()
1469 Details    : In rare cases when a client is reconnecting it was possible that
1470              the connection request was the last reference for that export.
1471              We would temporarily drop the export reference and get a new
1472              one, but this may have been the last reference and the export
1473              was just destroyed.  Get new reference before dropping old one.
1474
1475 Severity   : enhancement
1476 Frequency  : if client is started with failover MDS
1477 Bugzilla   : 9818
1478 Description: Allow multiple MDS hostnames in the mount command
1479 Details    : Try to read the configuration from all specified MDS
1480              hostnames during a client mount in case the "primary"
1481              MDS is down.
1482
1483 Severity   : enhancement
1484 Bugzilla   : 9297
1485 Description: Stop sending data to evicted clients as soon as possible.
1486 Details    : Check if the client we are about to send or are sending data to
1487              was evicted already. (Check is done every second of waiting,
1488              for which l_wait_event interface was extended to allow checking
1489              of exit condition at specified intervals).
1490
1491 Severity   : minor
1492 Frequency  : rare, normally only when NFS exporting is done from client
1493 Bugzilla   : 9301
1494 Description: 'bad disk LOV MAGIC: 0x00000000' error when chown'ing files
1495              without objects
1496 Details    : Make mds_get_md() recognise empty md case and set lmm size to 0.
1497
1498 Severity   : minor
1499 Frequency  : always, if srand() is called before liblustre initialization
1500 Bugzilla   : 9794
1501 Description: Liblustre uses system PRNG disturbing its usage by user application
1502 Details    : Introduce internal to lustre fast and high-quality PRNG for
1503              lustre usage and make liblustre and some other places in generic
1504              lustre code to use it.
1505
1506 Severity   : enhancement
1507 Bugzilla   : 9477, 9557, 9870
1508 Description: Verify that the MDS configuration logs are updated when xml is
1509 Details    : Check if the .xml configuration logs are newer than the config
1510              logs stored on the MDS and report an error if this is the case.
1511              Request --write-conf, or allow starting with --old_conf.
1512
1513 Severity   : enhancement
1514 Bugzilla   : 6034
1515 Description: Handle symlinks in the path when checking if Lustre is mounted.
1516 Details    : Resolve intermediate symlinks when checking if a client has
1517              mounted a filesystem to avoid duplicate client mounts.
1518
1519 Severity   : minor
1520 Frequency  : rare
1521 Bugzilla   : 9309
1522 Description: lconf can hit an error exception but still return success.
1523 Details    : The lconf command catches the Command error exception at the top
1524              level script context and will exit with the associated exit
1525              status, but doesn't ensure that this exit status is non-zero.
1526
1527 Severity   : minor
1528 Frequency  : rare
1529 Bugzilla   : 9493
1530 Description: failure of ptlrpc thread startup can cause oops
1531 Details    : Starting a ptlrpc service thread can fail if there are a large
1532              number of threads or the server memory is very fragmented.
1533              Handle this without oopsing.
1534
1535 Severity   : minor
1536 Frequency  : always, only if liblustre and non-default acceptor port was used
1537 Bugzilla   : 9933
1538 Description: liblustre cannot connect to servers with non-default acceptor port
1539 Details    : tcpnal_set_default_params() was not called and was therefore
1540              ignoring the environment varaible TCPNAL_PORT, as well as other
1541              TCPNAL_ environment variables
1542
1543 Severity   : minor
1544 Frequency  : rare
1545 Bugzilla   : 9923
1546 Description: two objects could be created on the same OST for a single file
1547 Details    : If an OST is down, in some cases it was possible to create two
1548              objects on a single OST for a single file.  No problems other
1549              than potential performance impact and spurious error messages.
1550
1551 Severity   : minor
1552 Frequency  : rare
1553 Bugzilla   : 5681, 9562
1554 Description: Client may oops in ll_unhash_aliases
1555 Details    : Client dcache may become inconsistent in race condition.
1556              In some cases "getcwd" can fail if the current directory is
1557              modified.
1558
1559 Severity   : minor
1560 Frequency  : always
1561 Bugzilla   : 9942
1562 Description: Inode refcounting problems in NFS export code
1563 Details    : link_raw functions used to call d_instantiate without obtaining
1564              extra inode reference first.
1565
1566 Severity   : minor
1567 Frequency  : rare
1568 Bugzilla   : 9942, 9903
1569 Description: Referencing freed requests leading to crash, memleaks with NFS.
1570 Details    : We used to require that call to ll_revalidate_it was always
1571              followed by ll_lookup_it. Also with revalidate_special() it is
1572              possible to call ll_revalidate_it() twice for the same dentry
1573              even if first occurence returned success. This fix changes semantic
1574              between DISP_ENQ_COMPLETE disposition flag to mean there is extra
1575              reference on a request referred from the intent.
1576              ll_intent_release() then releases such a request.
1577
1578 Severity   : minor
1579 Frequency  : rare, normally benchmark loads only
1580 Bugzilla   : 1443
1581 Description: unlinked inodes were kept in memory on the client
1582 Details    : If a client is repeatedly creating and unlinking files it
1583              can accumulate a lot of stale inodes in the inode slab cache.
1584              If there is no other client load running this can cause the
1585              client node to run out of memory.  Instead flush old inodes
1586              from client cache that have the same inode number as a new inode.
1587
1588 Severity   : minor
1589 Frequency  : SLES9 2.6.5 kernel and long filenames only
1590 Bugzilla   : 9969, 10379
1591 Description: utime reports stale NFS file handle
1592 Details    : SLES9 uses out-of-dentry names in some cases, which confused
1593              the lustre dentry revalidation.  Change it to always use the
1594              in-dentry qstr.
1595
1596 Severity   : major
1597 Frequency  : rare, unless heavy write-truncate concurrency is continuous
1598 Bugzilla   : 4180, 6984, 7171, 9963, 9331
1599 Description: OST becomes very slow and/or deadlocked during object unlink
1600 Details    : filter_destroy() was holding onto the parent directory lock
1601              while truncating+unlinking objects.  For very large objects this
1602              may block other threads for a long time and slow overall OST
1603              responsiveness.  It may also be possible to get a lock ordering
1604              deadlock in this case, or run out of journal credits because of
1605              the combined truncate+unlink.  Solution is to do object truncate
1606              first in one transaction without parent lock, and then do the
1607              final unlink in a new transaction with the parent lock.  This
1608              reduces the lock hold time dramatically.
1609
1610 Severity   : major
1611 Frequency  : rare, 2.4 kernels only
1612 Bugzilla   : 9967
1613 Description: MDS or OST cleanup may trip kernel BUG when dropping kernel lock
1614 Details    : mds_cleanup() and filter_cleanup() need to drop the kernel lock
1615              before unmounting their filesystem in order to avoid deadlock.
1616              The kernel_locked() function in 2.4 kernels only checks whether
1617              the kernel lock is held, not whether it is this process that is
1618              holding it as 2.6 kernels do.
1619
1620 Severity   : major
1621 Frequency  : rare
1622 Bugzilla   : 9635
1623 Description: MDS or OST may oops/LBUG if a client is connecting multiple times
1624 Details    : The client ptlrpc code may be trying to reconnect to a down
1625              server before a previous connection attempt has timed out.
1626              Increase the reconnect interval to be longer than the connection
1627              timeout interval to avoid sending duplicate connections to
1628              servers.
1629
1630 Severity   : minor
1631 Frequency  : echo_client brw_test command
1632 Bugzilla   : 9919
1633 Description: fix echo_client to work with OST preallocated code
1634 Details    : OST preallocation code (5137) didn't take echo_client IO path
1635              into account: echo_client calls filter methods outside of any
1636              OST thread and, hence, there is no per-thread preallocated
1637              pages and buffers to use. Solution: hijack pga pages for IO. As
1638              a byproduct, this avoids unnecessary data copying.
1639
1640 Severity   : minor
1641 Frequency  : rare
1642 Bugzilla   : 3555, 5962, 6025, 6155, 6296, 9574
1643 Description: Client can oops in mdc_commit_close() after open replay
1644 Details    : It was possible for the MDS to return an open request with no
1645              transaction number in mds_finish_transno() if the client was
1646              evicted, but without actually returning an error.  Clients
1647              would later try to replay that open and may trip an assertion
1648              Simplify the client close codepath, and always return an error
1649              from the MDS in case the open is not successful.
1650
1651 Severity   : major
1652 Frequency  : rare, 2.6 OSTs only
1653 Bugzilla   : 10076
1654 Description: OST may deadlock under high load on fragmented files
1655 Details    : If there was a heavy load and highly-fragmented OST filesystems
1656              it was possible to have all the OST threads deadlock waiting on
1657              allocation of biovecs, because the biovecs were not released
1658              until the entire RPC IO was completed.  Instead, release biovecs
1659              as soon as they are complete to ensure forward IO progress.
1660
1661 Severity   : enhancement
1662 Bugzilla   : 9578
1663 Description: Support for specifying external journal device at mount
1664 Details    : If an OST or MDS device is formatted with an external journal
1665              device, this device major/minor is stored in the ext3 superblock
1666              and may not be valid for failover.  Allow detecting and
1667              specifying the external journal at mount time.
1668
1669 Severity   : major
1670 Frequency  : rare
1671 Bugzilla   : 10235
1672 Description: Mounting an MDS with pending unlinked files may cause oops
1673 Details    : target_finish_recovery() calls mds_postrecov() which returned
1674              the number of orphans unlinked. mds_lov_connect->mds_postsetup()
1675              considers this an error and immediately begins cleaning up the
1676              lov, just after starting the mds_lov process
1677
1678 Severity   : enhancement
1679 Bugzilla   : 9461
1680 Description: Implement 'lfs df' to report actual free space on per-OST basis
1681 Details    : Add sub-command 'df' on 'lfs' to report the disk space usage of
1682              MDS/OSDs. Usage: lfs df [-i][-h]. Command Options: '-i' to report
1683              usage of objects; '-h' to report in human readable format.
1684
1685 ------------------------------------------------------------------------------
1686
1687 2005-08-26  Cluster File Systems, Inc. <info@clusterfs.com>
1688        * version 1.4.5
1689        * bug fixes
1690
1691 Severity   : major
1692 Frequency  : rare
1693 Bugzilla   : 7264
1694 Description: Mounting an ldiskfs file system with mballoc may crash OST node.
1695 Details    : ldiskfs mballoc code may reference an uninitialized buddy struct
1696              at startup during orphan unlinking.  Instead, skip buddy update
1697              before setup, as it will be regenerated after recovery is complete.
1698
1699 Severity   : minor
1700 Frequency  : rare
1701 Bugzilla   : 7039
1702 Description: If an OST is inactive, its locks might reference stale inodes.
1703 Details    : lov_change_cbdata() must iterate over all namespaces, even if
1704              they are inactive to clear inode references from the lock.
1705
1706 Severity   : enhancement
1707 Frequency  : occasional, if non-standard max_dirty_mb used
1708 Bugzilla   : 7138
1709 Description: Client will block write RPCs if not enough grant
1710 Details    : If a client has max_dirty_mb smaller than max_rpcs_in_flight,
1711              then the client will block writes while waiting for another RPC
1712              to complete instead of consuming its dirty limit.  With change
1713              we get improved performance when max_dirty_mb is small.
1714
1715 Severity   : enhancement
1716 Bugzilla   : 3389, 6253
1717 Description: Add support for supplementary groups on the MDS.
1718 Details    : The MDS has an upcall /proc/fs/lustre/mds/{mds}/group_upcall
1719              (set to /usr/sbin/l_getgroups if enabled) which will do MDS-side
1720              lookups for user supplementary groups into a cache.
1721
1722 Severity   : minor
1723 Bugzilla   : 7278
1724 Description: O_CREAT|O_EXCL open flags in liblustre always return -EEXIST
1725 Details    : Make libsysio to not enforce O_EXCL by clearing the flag,
1726              for liblustre O_EXCL is enforced by MDS.
1727
1728 Severity   : minor
1729 Bugzilla   : 6455
1730 Description: readdir never returns NULL in liblustre.
1731 Details    : Corrected llu_iop_getdirentries logic, to return offset of next
1732              dentry in struct dirent.
1733
1734 Severity   : minor
1735 Bugzilla   : 7137
1736 Frequency  : liblustre only, depends on application IO pattern
1737 Description: liblustre clients evicted if not contacting servers
1738 Details    : Don't put liblustre clients into the ping_evictor list, so
1739              they will not be evicted by the pinger ever.
1740
1741 Severity   : enhancement
1742 Bugzilla   : 6902
1743 Description: Add ability to evict clients by NID from MDS.
1744 Details    : By echoing "nid:$NID" string into
1745              /proc/fs/lustre/mds/.../evict_client client with nid that equals to
1746              $NID would be instantly evicted from this MDS and from all active
1747              OSTs connected to it.
1748
1749 Severity   : minor
1750 Bugzilla   : 7198
1751 Description: Do not query file size twice, somewhat slowing stat(2) calls.
1752 Details    : lookup_it_finish() used to query file size from OSTs that was not
1753              needed.
1754
1755 Severity   : minor
1756 Bugzilla   : 6237
1757 Description: service threads change working directory to that of init
1758 Details    : Starting lustre service threads may pin the working directory
1759              of the parent thread, making that filesystem busy.  Threads
1760              now change to the working directory of init to avoid this.
1761
1762 Severity   : minor
1763 Bugzilla   : 6827
1764 Frequency  : during shutdown only
1765 Description: shutdown with a failed MDS or OST can cause unmount to hang
1766 Details    : Don't resend DISCONNECT messages in ptlrpc_disconnect_import()
1767              if server is down.
1768
1769 Severity   : minor
1770 Bugzilla   : 7331
1771 Frequency  : 2.6 only
1772 Description: chmod/chown may include an extra supplementary group
1773 Details    : ll{,u}_mdc_pack_op_data() does not properly initialize the
1774              supplementary group and if none is specified this is used.
1775
1776 Severity   : minor
1777 Bugzilla   : 5479 (6816)
1778 Frequency  : rare
1779 Description: Racing open + rm can assert client in mdc_set_open_replay_data()
1780 Details    : If lookup is in progress on a file that is unlinked we might try
1781              to revalidate the inode and fail in revalidate after lookup is
1782              complete and ll_file_open() enqueues the open again but
1783              it_open_error() was not checking DISP_OPEN_OPEN errors correctly.
1784
1785 Severity   : minor
1786 Frequency  : always, if lconf --abort_recovery used
1787 Bugzilla   : 7047
1788 Description: lconf --abort_recovery fails with 'Operation not supported'
1789 Details    : lconf was attempting to abort recovery on the MDT device and not
1790              the MDS device
1791
1792 ------------------------------------------------------------------------------
1793
1794 2005-08-08  Cluster File Systems, Inc. <info@clusterfs.com>
1795        * version 1.4.4
1796        * bug fixes
1797
1798 Severity   : major
1799 Frequency  : rare (only unsupported configurations with a node running as an
1800              OST and a client)
1801 Bugzilla   : 6514, 5137
1802 Description: Mounting a Lustre file system on a node running as an OST could
1803              lead to deadlocks
1804 Details    : OSTs now preallocates memory needed to write out data at
1805              startup, instead of when needed, to avoid having to
1806              allocate memory in possibly low memory situations.
1807              Specifically, if the file system is mounted on on OST,
1808              memory pressure could force it to try to write out data,
1809              which it needed to allocate memory to do.  Due to the low
1810              memory, it would be unable to do so and the node would
1811              become unresponsive.
1812
1813 Severity   : enhancement
1814 Bugzilla   : 7015
1815 Description: Addition of lconf --service command line option
1816 Details    : lconf now accepts a '--service <arg>' option, which is
1817              shorthand for 'lconf --group <arg> --select <arg>=<hostname>'
1818
1819 Severity   : enhancement
1820 Bugzilla   : 6101
1821 Description: Failover mode is now the default for OSTs.
1822 Details    : By default, OSTs will now run in failover mode.  To return to
1823              the old behaviour, add '--failout' to the lmc line for OSTs.
1824
1825 Severity   : enhancement
1826 Bugzilla   : 1693
1827 Description: Health checks are now provided for MDS and OSTs
1828 Details    : Additional detailed health check information on MSD and OSTs
1829              is now provided through the procfs health_check value.
1830
1831 Severity   : minor
1832 Frequency  : occasional, depends on IO load
1833 Bugzilla   : 4466
1834 Description: Disk fragmentation on the OSTs could eventually cause slowdowns
1835              after numerous create/delete cycles
1836 Details    : The ext3 inode allocation policy would not allocate new inodes
1837              very well on the OSTs because there are no new directories
1838              being created.  Instead we look for groups with free space if
1839              the parent directories are nearly full.
1840
1841 Severity   : major
1842 Bugzilla   : 6302
1843 Frequency  : rare
1844 Description: Network or server problems during mount may cause partially
1845              mounted clients instead of returning an error.
1846 Details    : The config llog parsing code may overwrite the error return
1847              code during mount error handling, returning success instead
1848              of an error.
1849
1850 Severity   : minor
1851 Bugzilla   : 6422
1852 Frequency  : rare
1853 Description: MDS can fail to allocate large reply buffers
1854 Details    : After long uptimes the MDS can fail to allocate large reply
1855              buffers (e.g. zconf client mount config records) due to memory
1856              fragmentation or consumption by the buffer cache.  Preallocate
1857              some large reply buffers so that these replies can be sent even
1858              under memory pressure.
1859
1860 Severity   : minor
1861 Bugzilla   : 6266
1862 Frequency  : rare (liblustre)
1863 Description: fsx running with liblustre complained that using truncate() to
1864              extend the file doesn't work.  This patch corrects that issue.
1865 Details    : This is the liblustre equivalent of the fix for bug 6196.  Fixes
1866              ATTR_SIZE and lsm use in llu_setattr_raw.
1867
1868 Severity   : critical
1869 Bugzilla   : 6866
1870 Frequency  : rare, only 2.6 kernels
1871 Description: Unusual file access patterns on the MDS may result in inode
1872              data being lost in very rare circumstances.
1873 Details    : Bad interaction between the ea-in-inode patch and the "no-read"
1874              code in the 2.6 kernel caused the inode and/or EA data not to
1875              be read from disk, causing single-file corruption.
1876
1877 Severity   : critical
1878 Bugzilla   : 6998
1879 Frequency  : rare, only 2.6 filesystems using extents
1880 Description: Heavy concurrent write and delete load may cause data corruption.
1881 Details    : It was possible under high-load situations to have an extent
1882              metadata block in the block device cache from a just-unlinked
1883              file overwrite a newly-allocated data block.  We now unmap any
1884              metadata buffers that alias just-allocated data blocks.
1885
1886 Severity   : minor
1887 Bugzilla   : 7241
1888 Frequency  : filesystems with default stripe_count larger than 77
1889 Description: lconf+mke2fs fail when formatting filesystem with > 77 stripes
1890 Details    : lconf specifies an inode size of 4096 bytes when the default
1891              stripe_count is larger than 77.  This conflicts with the default
1892              inode density of 1 per 4096 bytes.  Allocate smaller inodes in
1893              this case to avoid pinning too much memory for large EAs.
1894
1895 ------------------------------------------------------------------------------
1896
1897 2005-07-07  Cluster File Systems, Inc. <info@clusterfs.com>
1898        * version 1.4.3
1899        * bug fixes
1900
1901 Severity   : minor
1902 Frequency  : rare (extremely heavy IO load with hundreds of clients)
1903 Bugzilla   : 6172
1904 Description: Client is evicted, gets IO error writing to file
1905 Details    : lock ordering changes for bug 5492 reintroduced bug 3267 and
1906              caused clients to be evicted for AST timeouts.  The fixes in
1907              bug 5192 mean we no longer need to have such short AST timeouts
1908              so ldlm_timeout has been increased.
1909
1910 Severity   : major
1911 Frequency  : occasional during --force or --failover shutdown under load
1912 Bugzilla   : 5949, 4834
1913 Description: Server oops/LBUG if stopped with --force or --failover under load
1914 Details    : a collection of import/export refcount and cleanup ordering
1915              issues fixed for safer force cleanup
1916
1917 Severity   : major
1918 Frequency  : only filesystems larger than 120 OSTs
1919 Bugzilla   : 5990, 6223
1920 Description: lfs getstripe would oops on a very large filesystem
1921 Details    : lov_getconfig used kfree on vmalloc'd memory
1922
1923 Severity   : minor
1924 Frequency  : only filesystems exporting via NFS to Solaris 10 clients
1925 Bugzilla   : 6242, 6243
1926 Description: reading from files that had been truncated to a non-zero size
1927              but never opened returned no data
1928 Details    : ll_file_read() reads zeros from no-object files to EOF
1929
1930 Severity   : major
1931 Frequency  : rare
1932 Bugzilla   : 6200
1933 Description: A bug in MDS/OSS recovery could cause the OSS to fail an assertion
1934 Details    : There's little harm in aborting MDS/OSS recovery and letting it
1935              try again, so I removed the LASSERT and return an error instead.
1936
1937 Severity   : enhancement
1938 Bugzilla   : 5902
1939 Description: New debugging infrastructure for tracking down data corruption
1940 Details    : The I/O checksum code was replaced to: (a) control it at runtime,
1941              (b) cover more of the client-side code path, and (c) try to narrow
1942              down where problems occurred
1943
1944 Severity   : major
1945 Frequency  : rare
1946 Bugzilla   : 3819, 4364, 4397, 6313
1947 Description: Racing close and eviction MDS could cause assertion in mds_close
1948 Details    : It was possible to get multiple mfd references during close and
1949              client eviction, leading to one thread referencing a freed mfd.
1950
1951 Severity:  : enhancement
1952 Bugzilla   : 3262, 6359
1953 Description: Attempts to reconnect to servers are now more aggressive.
1954 Details    : This builds on the enhanced upcall-less recovery that was added
1955              in 1.4.2.  When trying to reconnect to servers, clients will
1956              now try each server in the failover group every 10 seconds.  By
1957              default, clients would previously try one server every 25 seconds.
1958
1959 Severity   : major
1960 Frequency  : rare
1961 Bugzilla   : 6371
1962 Description: After recovery, certain operations trigger a failed
1963              assertion on a client.
1964 Details    : Failing over an mds, using lconf -d --failover, while a
1965              client was doing a readdir() call would cause the client to
1966              LBUG after recovery completed and the readdir() was resent.
1967
1968 Severity   : enhancement
1969 Bugzilla   : 6296
1970 Description: Default groups are now added by lconf
1971 Details    : You can now run lconf --group <servicename> without having to
1972              manually add groups with lmc.
1973
1974 Severity   : major
1975 Frequency  : occasional
1976 Bugzilla   : 6412
1977 Description: Nodes with an elan id of 0 trigger a failed assertion
1978
1979 Severity   : minor
1980 Frequency  : always when accessing e.g. tty/console device nodes
1981 Bugzilla   : 3790
1982 Description: tty and some other devices nodes cannot be used on lustre
1983 Details    : file's private_data field is used by device data and lustre
1984              values in there got lost. New field was added to struct file to
1985              store fs-specific private data.
1986
1987 Severity   : minor
1988 Frequency  : when exporting Lustre via NFS
1989 Bugzilla   : 5275
1990 Description: NFSD failed occasionally when looking up a path component
1991 Details    : NFSD is looking up ".." which was broken in ext3 directories
1992              that had grown large enough to become hashed.
1993
1994 Severity   : minor
1995 Frequency  : Clusters with multiple interfaces not on the same subnet
1996 Bugzilla   : 5541
1997 Description: Nodes will repeatedly try to reconnect to an interface which it
1998              cannot reach and report an error to the log.
1999 Details    : Extra peer list entries will be created by lconf with some peers
2000              unreachable.  lconf now validates the peer before adding it.
2001
2002 Severity   : major
2003 Frequency  : Only if a default stripe is set on the filesystem root.
2004 Bugzilla   : 6367
2005 Description: Setting a default stripe on the filesystem root prevented the
2006              filesystem from being remounted.
2007 Details    : The client was sending extra request flags in the root getattr
2008              request and did not allocate a reply buffer for the dir EA.
2009
2010 Severity   : major
2011 Frequency  : occasional, higher if lots of files are accessed by one client
2012 Bugzilla   : 6159, 6097
2013 Description: Client trips assertion regarding lsm mismatch/magic
2014 Details    : While revalidating inodes the VFS looks up inodes with ifind()
2015              and in rare cases can find an inode that is being freed.
2016              The ll_test_inode() code will free the lsm during ifind()
2017              when it finds an existing inode and then the VFS later attaches
2018              this free lsm to a new inode.
2019
2020 Severity   : major
2021 Frequency  : rare
2022 Bugzilla   : 6422, 7030
2023 Description: MDS deadlock between mkdir and client eviction
2024 Details    : Creating a new file via mkdir or mknod (starting a transaction
2025              and getting the ns lock) can deadlock with client eviction
2026              (gets ns lock and trying to finish a synchronous transaction).
2027
2028 Severity   : minor
2029 Frequency  : occasional
2030 Description: While starting a server, the fsfilt_ext3 module could not be
2031              loaded.
2032 Details    : CFS's improved ext3 filesystem is named ldiskfs for 2.6
2033              kernels.  Previously, lconf would still use the ext3 name
2034              when trying to load modules.  Now, it will correctly use
2035              ext3 on 2.4 and ldiskfs on 2.6.
2036
2037 Severity   : enhancement
2038 Description: The default stripe count has been changed to 1
2039 Details    : The interpretation of the default stripe count (0, to lfs
2040              or lmc) has been changed to mean striping across a single
2041              OST, rather than all available.  For general usage we have
2042              found a stripe count of 1 or 2 works best.
2043
2044 Severity   : enhancement
2045 Description: Add support for compiling against Cray portals.
2046 Details    : Conditional compiling for some areas that are different
2047              on Cray Portals.
2048
2049 Severity   : major
2050 Frequency  : occasional
2051 Bugzilla   : 6409, 6834
2052 Description: Creating files with an explicit stripe count may lead to
2053              a failed assertion on the MDS
2054 Details    : If some OSTs are full or unavailable, creating files may
2055              trigger a failed assertion on the MDS.  Now, Lustre will
2056              try to use other servers or return an error to the
2057              client.
2058
2059 Severity   : minor
2060 Frequency  : occasional
2061 Bugzilla   : 6469
2062 Description: Multiple concurrent overlapping read+write on multiple SMP nodes
2063              caused lock timeout during readahead (since 1.4.2).
2064 Details    : Processes doing readahead might match a lock that hasn't been
2065              granted yet if there are overlapping and conflicting lock
2066              requests.  The readahead process waits on ungranted lock
2067              (original lock is CBPENDING), while OST waits for that process
2068              to cancel CBPENDING read lock and eventually evicts client.
2069
2070 Severity   : enhancement
2071 Bugzilla   : 6931
2072 Description: Initial enabling of flock support for clients
2073 Details    : Implements fcntl advisory locking and file status functions.
2074              This feature is provided as an optional mount flag (default
2075              off), and is NOT CURRENTLY SUPPORTED.  Not all types of record
2076              locking are implemented yet, and those that are are not guaranteed
2077              to be completely correct in production environments.
2078              mount -t lustre -o [flock|noflock] ...
2079
2080 Severity   : major
2081 Frequency  : occasional
2082 Bugzilla   : 6198
2083 Description: OSTs running 2.4 kernels but with extents enabled might trip an
2084              assertion in the ext3 JBD (journaling) layer.
2085 Details    : The b_committed_data struct is protected by the big kernel lock
2086              in 2.4 kernels, serializing journal_commit_transaction() and
2087              ext3_get_block_handle->ext3_new_block->find_next_usable_block()
2088              access to this struct.  In 2.6 kernels there is finer grained
2089              locking to improve SMP performance of the JBD layer.
2090
2091 Severity   : minor
2092 Bugzilla   : 6147
2093 Description: Changes the "SCSI I/O Stats" kernel patch to default to "enabled"
2094
2095 -----------------------------------------------------------------------------
2096
2097 2005-05-05  Cluster File Systems, Inc. <info@clusterfs.com>
2098        * version 1.4.2
2099        NOTE: Lustre 1.4.2 uses an incompatible network protocol than previous
2100              versions of Lustre.  Please update all servers and clients to
2101              version 1.4.2 or later at the same time.  You must also run
2102              "lconf --write-conf {config}.xml" on the MDS while it is stopped
2103              to update the configuration logs.
2104        * bug fixes
2105         - fix for HPUX NFS client breakage when NFS exporting Lustre (5781)
2106         - mdc_enqueue does not need max_mds_easize request buffer on send (5707)
2107         - swab llog records of type '0' so we get proper header size/idx (5861)
2108         - send llog cancel req to DLM cancel portal instead of cb portal (5515)
2109         - fix rename of one directory over another leaking an inode (5953)
2110         - avoid SetPageDirty on 2.6 (5981)
2111         - don't re-add just-being-destroyed locks to the waiting list (5653)
2112         - when creating new directories, inherit the parent's custom
2113           striping settings if present parent (3048)
2114         - flush buffers from cache before direct IO in 2.6 obdfilter (4982)
2115         - don't hold i_size_sem in ll_nopage() and ll_ap_refresh_count (6077)
2116         - don't hold client locks on temporary worklist from l_lru (5666)
2117         - handle IO errors in 2.6 obdfilter bio completion routine (6046)
2118         - automatically evict dead clients (5921)
2119         - Update file size properly in create+truncate+fstat case (6196)
2120         - Do not unhash mountpoint dentries, do not allow removal of
2121           mountpoints (5907)
2122         - Avoid lock ordering deadlock issue with write/truncate (6203,5654)
2123         - reserve enough journal credits in fsfilt_start_log for setattr (4554)
2124         - ldlm_enqueue freed-export error path would always LBUG (6149,6184)
2125         - don't reference lr_lvb_data until after we hold lr_lvb_sem (6170)
2126         - don't overwrite last_rcvd if there is a *_client_add() error (6086)
2127         - Correctly handle reads of files with no objects (6243)
2128         - lctl recover will also mark a device active if deactivate used (5933)
2129         * miscellania
2130         - by default create 1 inode per 4kB space on MDS, per 16kB on OSTs
2131         - allow --write-conf on an MDS with different nettype than client (5619)
2132         - don't write config llogs to MDS for mounts not from that MDS (5617)
2133         - lconf should create multiple TCP connections from a client (5201)
2134         - init scripts are now turned off by default; run chkconfig --on
2135           lustre and chkconfig --on lustrefs to use them
2136         - upcalls are no longer needed for clients to recover to failover
2137           servers (3262)
2138         - add --abort-recovery option to lconf to abort recovery on device
2139           startup (6017)
2140         - add support for an arbitrary number of OSTs (3026)
2141         - Quota support protocol changes.
2142         - forward compatibility changes to wire structs (6007)
2143         - rmmod NALs that might be loaded because of /etc/modules.conf (6133)
2144         - support for mountfsoptions and clientoptions to the Lustre LDAP (5873)
2145         - improved "lustre status" script
2146         - initialize blocksize for non-regular files (6062)
2147         - added --disable-server and --disable-client configure options (5782)
2148         - introduce a lookup cache for lconf to avoid repeated DB scans (6204)
2149         - Vanilla 2.4.29 support
2150         - increase maximum number of obd devices to 520 (6242)
2151         - remove the tcp-zero-copy patch from the suse-2.4 series (5902)
2152         - Quadrics Elan drivers are now included for the RHEL 3 2.4.21 and
2153           SLES 9 2.6.5 kernels
2154         - limit stripes per file to 160 (the maximum EA size) (6093)
2155
2156 2005-03-22  Cluster File Systems, Inc. <info@clusterfs.com>
2157        * version 1.4.1
2158        * bug fixes
2159         - don't LASSERT in ll_release on NULL lld with NFS export (4655, 5760)
2160         - hold NS lock when calling handle_ast_error->del_waiting_lock (5746)
2161         - fix setattr mtime regression from lovcleanup merge (4829, 5669)
2162         - workaround for 2.6 crash in ll_unhash_aliases (5687, 5210)
2163         - small ext3 extents cleanups and fixes (5733)
2164         - improved mballoc code, several small races and bugs fixed (5733, 5638)
2165         - kernel version 43 - fix remove_suid bugs in both 2.4 and 2.6 (5695)
2166         - avoid needless client->OST connect, fix handle mismatch (5317)
2167         - fix DLM error path that led to out-of-sync client, long delays (5779)
2168         - support common vfs-enforced mount options (nodev,nosuid,noexec) (5637)
2169         - fix several locking issues related to i_size (5492,5624,5654,5672)
2170         - don't move pending lock onto export if it is already evicted (5683)
2171         - fix kernel oops when creating .foo in unlinked directory (5548)
2172         - fix deadlock in obdfilter statistics vs. object create (5811)
2173         - use time_{before,after} to avoid timer jiffies wrap (5882)
2174         - shutdown --force/--failover stability (3607,3651,4797,5203,4834)
2175         - Do not leak request if server was not able to process it (5154)
2176         - If mds_open unable to find parent dir, make that negative lookup(5154)
2177         - don't create new directories with extent-mapping (5909, 5936)
2178        * miscellania
2179         - fix lustre/lustrefs init scripts for SuSE (patch from Scali, 5702)
2180         - don't hold the pinger_sem in ptlrpc_pinger_sending_on_import
2181         - change obd_increase_kms to obd_adjust_kms (up or down) (5654)
2182         - lconf, lmc search both /usr/lib and /usr/lib64 for Python libs (5800)
2183         - support for RHEL4 kernel on i686 (5773)
2184         - provide error messages when incompatible logs are encountered (5898)
2185
2186 2005-02-18  Cluster File Systems, Inc. <info@clusterfs.com>
2187        * version 1.4.0.10 (1.4.1 release candidate 1)
2188        * bug fixes
2189         - don't keep a lock reference when lock is not granted (4238)
2190         - unsafe list practices (rarely) led to infinite eviction loop (4908)
2191         - add per-fs limit of Lustre pages in page cache, avoid OOM (4699)
2192         - drop import inflight refcount on signal_completed_replay error (5255)
2193         - unlock page after async write error during send (3677)
2194         - handle missing objects in filter_preprw_read properly (5265)
2195         - no transno return for symlink open, don't save no-trasno open (3440)
2196         - don't try to complete elan receive that already failed (4012)
2197         - free RPC server reply state on error (5406)
2198         - clean up thread from ptlrpc_start_thread() on error (5160)
2199         - readahead could read extra page into cache that wasn't ejected (5388)
2200         - prevent races in class_attach/setup/cleanup/detach (5260)
2201         - don't dereference de->d_inode after l_dput of de (5458)
2202         - use "int" for stripe value returned from lock_to_stripe (5544)
2203         - mballoc allocation and error-checking fixes in 2.6 (5504)
2204         - block device patches to fix I/O request sizes in 2.6 (5482)
2205         - look up hostnames for IB nals (5602)
2206         - 2.6 changed lock ordering of 2 semaphores, caused deadlock (5654)
2207         - don't start multiple acceptors for the same port (5277)
2208         - fix incorrect LASSERT in mds_getattr_name (5635)
2209         - export a proc file for general "ping" checking (5628)
2210         - fix "lfs check" to not block when the MDS is down (5628)
2211        * miscellania
2212         - service request history (4965)
2213         - put {ll,lov,osc}_async_page structs in a single slab (4699)
2214         - create an "evict_client" /proc entry on OSTs, like the MDS has
2215         - fix mount usage message, return errors per mount(8) (5168)
2216         - change grep [] to grep "[]" in tests so they work in more UMLs
2217         - fix ppc64/x86_64 spec to use %{_libdir} instead of /usr/lib (5389)
2218         - remove ancient LOV_MAGIC_V0 EA support (5047)
2219         - add "disk I/Os in flight" and "I/O req time" stats in obdfilter
2220         - align r/w RPCs to PTLRPC_MAX_BRW_SIZE boundary for performance (3451)
2221         - allow readahead allocations to fail when low on memory (5383)
2222         - mmap locking landed again, after considerable improvement (2828)
2223         - add get_hostaddr() to lustreDB.py for LDAP support (5459)
2224
2225 2004-11-23  Cluster File Systems, Inc. <info@clusterfs.com>
2226        * version 1.4.0
2227        * bug fixes
2228         - send OST transaction number in read/write reply to free req (4966)
2229         - don't ASSERT in ptl_send_rpc() if we run out of memory (5119)
2230         - lock /proc/sys/portals/routes internal state, avoiding oops (4827)
2231         - the watchdog thread now runs as interruptible (5246)
2232         - flock/lockf fixes (but it's still disabled, pending 5135)
2233         - don't use EXT3 constants in llite code (5094)
2234         - memory shortage at startup could cause assertion (5176)
2235        * miscellania
2236         - reorganization of lov code
2237         - single portals codebase
2238         - Infiniband NAL
2239         - add extents/mballoc support (5025)
2240         - direct I/O reads in the obdfilter (4048)
2241         - kernel patches from LNXI for 2.6 (bluesmoke, perfctr, mtd, kexec)
2242
2243 tbd         Cluster File Systems, Inc. <info@clusterfs.com>
2244        * version 1.2.9
2245        * bug fixes
2246         - send OST transaction number in read/write reply to free req (4966)
2247         - don't ASSERT in ptl_send_rpc() if we run out of memory (5119)
2248         - lock /proc/sys/portals/routes internal state, avoiding oops (4827)
2249         - the watchdog thread now runs as interruptible (5246)
2250         - handle missing objects in filter_preprw_read properly (5265)
2251         - unsafe list practices (rarely) led to infinite eviction loop (4908)
2252         - drop import inflight refcount on signal_completed_replay error (5255)
2253         - unlock page after async write error during send (3677)
2254         - return original error code on reconstructed replies (3761)
2255         - no transno return for symlink open, don't save no-trasno open (3440)
2256        * miscellania
2257         - add pid to ldlm debugging output (4922)
2258         - bump the watchdog timeouts -- we can't handle 30sec yet
2259         - extra debugging for orphan dentry/inode bug (5259)
2260
2261 2004-11-16  Cluster File Systems, Inc. <info@clusterfs.com>
2262        * version 1.2.8
2263        * bug fixes
2264         - fix TCP_NODELAY bug, which caused extreme perf regression (5134)
2265         - allocate qswnal tx descriptors singly to avoid fragmentation (4504)
2266         - don't LBUG on obdo_alloc() failure, use OBD_SLAB_ALLOC() (4800)
2267         - fix NULL dereference in /proc/sys/portals/routes (4827)
2268         - allow failed mdc_close() operations to be interrupted (4561)
2269         - stop precreate on OST before MDS would time out on it (4778)
2270         - don't send partial-page writes before EOF from client (4410)
2271         - discard client grant for sub-page writes on large-page clients (4520)
2272         - don't free dentries not owned by NFS code, check generation (4806)
2273         - fix lsm leak if mds_create_objects() fails (4801)
2274         - limit debug_daemon file size, always print CERROR messages (4789)
2275         - use transno after validating reply (3892)
2276         - process timed out requests if import state changes (3754)
2277         - update mtime on OST during writes, return in glimpse (4829)
2278         - add mkfsoptions to LDAP (4679)
2279         - use ->max_readahead method instead of zapping global ra (5039)
2280         - don't interrupt __l_wait_event() during strace
2281        * miscellania
2282         - add software watchdogs to catch hung threads quickly (4941)
2283         - make lustrefs init script start after nfs is mounted
2284         - fix CWARN/ERROR duplication (4930)
2285         - return async write errors to application if possible (2248)
2286         - add /proc/sys/portal/memused (bytes allocated by PORTALS_ALLOC)
2287         - print NAL number in %x format (4645)
2288         - update barely-supported suse-2.4.21-171 series (4842)
2289         - support for sles 9 %post scripts
2290         - support for building 2.6 kernel-source packages
2291         - support for sles km_* packages
2292
2293 2004-10-07  Cluster File Systems, Inc. <info@clusterfs.com>
2294        * version 1.2.7
2295        * bug fixes
2296         - ignore -ENOENT errors in osc_destroy (3639)
2297         - notify osc create thread that OSC is being cleaned up (4600)
2298         - add nettype argument for llmount in #5d in conf-sanity.sh (3936)
2299         - reconstruct ost_handle() like mds_handle() (4657)
2300         - create a new thread to do import eviction to avoid deadlock (3969)
2301         - let lconf resolve symlinked-to devices (4629)
2302         - don't unlink "objects" from directory with default EA (4554)
2303         - hold socknal file ref over connect in case target is down (4394)
2304         - allow more than 32000 subdirectories in a single directory (3244)
2305         - fix blocks count for O_DIRECT writes (3751)
2306         - OST returns ENOSPC from object create when no space left (4539)
2307         - don't send truncate RPC if file size isn't changing (4410)
2308         - limit OSC precreate to 1/2 of value OST considers bogus (4778)
2309         - bind to privileged port in socknal and tcpnal (3689)
2310        * miscellania
2311         - rate limit CERROR/CWARN console message to avoid overload (4519)
2312         - GETFILEINFO dir ioctl returns LOV EA + MDS stat in 1 call (3327)
2313         - basic mmap support (3918)
2314         - kernel patch series update from b1_4 (4711)
2315
2316 2004-09-16  Cluster File Systems, Inc. <info@clusterfs.com>
2317        * version 1.2.6
2318        * bug fixes
2319         - avoid crash during MDS cleanup with OST shut down (2775)
2320         - fix loi_list_lock/oig_lock inversion on interrupted IO (4136)
2321         - don't use bad inodes on the MDS (3744)
2322         - dynamic object preallocation to improve recovery speed (4236)
2323         - don't hold spinlock over lock dumping or change debug flags (4401)
2324         - don't zero obd_dev when it is force cleaned (3651)
2325         - print grants to console if they go negative (4431)
2326         - "lctl deactivate" will stop automatic recovery attempts (3406)
2327         - look for existing locks in ldlm_handle_enqueue() (3764)
2328         - don't resolve lock handle twice in recovery avoiding race (4401)
2329         - revalidate should check working dir is a directory (4134)
2330        * miscellania
2331         - don't always mark "slow" obdfilter messages as errors (4418)
2332
2333 2004-08-24  Cluster File Systems, Inc. <info@clusterfs.com>
2334        * version 1.2.5
2335        * bug fixes
2336         - don't close LustreDB during write_conf until it is done (3860)
2337         - fix typo in lconf for_each_profile (3821)
2338         - allow dumping logs from multiple threads at one time (3820)
2339         - don't allow multiple threads in OSC recovery (3812)
2340         - fix debug_size parameters (3864)
2341         - fix mds_postrecov to initialize import for llog ctxt (3121)
2342         - replace config semaphore with spinlock (3306)
2343         - be sure to send a reply for a CANCEL rpc with bad export (3863)
2344         - don't allow enqueue to complete on a destroyed export (3822)
2345         - down write_lock before checking llog header bitmap (3825)
2346         - recover from lock replay timeout (3764)
2347         - up llog sem before sending rpc (3652)
2348         - reduce ns lock hold times when setting kms (3267)
2349         - change a dlm LBUG to LASSERTF, to maybe learn something (4228)
2350         - fix NULL deref and obd_dev leak on setup error (3312)
2351         - replace some LBUG about llog ops with error handling (3841)
2352         - don't match INVALID dentries from d_lookup and spin (3784)
2353         - hold dcache_lock while marking dentries INVALID and hashing (4255)
2354         - fix invalid assertion in ptlrpc_set_wait (3880)
2355        * miscellania
2356         - add libwrap support for the TCP acceptor (3996)
2357         - add /proc/sys/portals/routes for non-root route listing (3994)
2358         - allow setting MDS UUID in .xml (2580)
2359         - print the stack of a process that LBUGs (4228)
2360
2361 2004-07-14  Cluster File Systems, Inc. <info@clusterfs.com>
2362        * version 1.2.4
2363        * bug fixes
2364         - don't cleanup request in ll_file_open() on failed MDS open (3430)
2365         - make sure to unset replay flag from failed open requests (3440)
2366         - if default stripe count is 0, use OST count for inode size (3636)
2367         - update parent mtime/ctime on client for create/unlink (2611)
2368         - drop dentry ref in ext3_add_link from open_connect_dentry (3266)
2369         - free recovery state on server during a forced cleanup (3571)
2370         - unregister_reply for resent reqs (3063)
2371         - loop back devices mounting and status check on 2.6 (3563)
2372         - fix resource-creation race that can provoke i_size == 0 (3513)
2373         - don't try to use bad inodes returned from MDS/OST fs lookup (3688)
2374         - more debugging for page-accounting assertion (3746)
2375         - return -ENOENT instead of asserting if ost getattr+unlink race (3558)
2376         - avoid deadlock after precreation failure (3758)
2377         - fix race and lock order deadlock in orphan handling (3450, 3750)
2378         - add validity checks when grabbing inodes from l_ast_data (3599)
2379        * miscellania
2380         - add /proc/.../recovery_status to obdfilter (3428)
2381         - lightweight CDEBUG infrastructure, debug daemon (3668)
2382         - change default OSC RPC parameters to be better on small clusters
2383         - turn off OST read cache for files smaller than 32MB
2384         - install man pages and include them in rpms (3100)
2385         - add new init script for (un)mounting lustre filesystems (2593)
2386         - run chkconfig in %post for init scripts (3701)
2387         - drop scimac NAL (unmaintained)
2388
2389 2004-06-17  Cluster File Systems, Inc. <info@clusterfs.com>
2390        * version 1.2.3
2391        * bug fixes
2392         - clean kiobufs before and after use (3485)
2393         - strip trailing '/'s before comparing paths with /proc/mounts (3486)
2394         - remove assertions to work around "in-flight rpcs" recovery bug (3063)
2395         - change init script to fail more clearly if not run as root (1528)
2396         - allow clients to reconnect during replay (1742)
2397         - fix ns_lock/i_sem lock ordering deadlock for kms update (3477)
2398         - don't do DNS lookups on NIDs too small for IP addresses (3442)
2399         - re-awaken ptlrpcd if new requests arrive during check_set  (3554)
2400         - fix cond_resched  (3554)
2401         - only evict unfinished clients after recovery (3515)
2402         - allow bulk resend, prevent data loss (3570)
2403         - dynamic ptlrpc request buffer allocation (2102)
2404         - don't allow unlinking open directory if it isn't empty (2904)
2405         - set MDS/OST threads to umask 0 to not clobber client modes (3359)
2406         - remove extraneous obd dereference causing LASSERT failure (3334)
2407         - don't use get_cycles() when creating temp. files on the mds (3156)
2408         - hold i_sem when setting i_size in ll_extent_lock() (3564)
2409         - handle EEXIST for set-stripe, set proper directory name (3336)
2410        * miscellania
2411         - servers can dump a log evicting a client - lustre.dump_on_timeout=1
2412         - fix ksocknal_fmb_callback() error messages (2918)
2413
2414 2004-05-27  Cluster File Systems, Inc. <info@clusterfs.com>
2415        * version 1.2.2
2416        * bug fixes
2417         - don't copy lvb into (possibly NULL) reply on error (2983)
2418         - don't deref dentry after dput, don't free lvb on error (2922)
2419         - use the kms to determine writeback rpc length (2947)
2420         - increment oti_logcookies when osc is inactive (2948)
2421         - update client's i_blocks count via lvb messages (2543)
2422         - handle intent open/close of special files properly (1557)
2423         - mount MDS with errors=remount-ro, like obdfilter (2009)
2424         - initialize lock handle to avoid ASSERT on error cleanup (3057)
2425         - don't use cancelling-locks' kms values (2947)
2426         - use highest lock extent for kms, not last one (2925)
2427         - don't dereference ERR_PTR() dentry in error handling path (3107)
2428         - fix thread race in portals_debug_dumplog() (3122)
2429         - create lprocfs device entries at setup instead of at attach (1519)
2430         - common AST error handler, don't evict client on completion race (3145)
2431         - zero nameidata in detach_mnt in 2.6 (3118)
2432         - verify d_inode after revalidate_special is valid in 2.6 (3116)
2433         - use lustre_put_super() to handle zconf unmounts in 2.6 (3064)
2434         - initialize RPC timeout timer earlier for 2.6 (3219)
2435         - don't dereference NULL reply buffer if mdc_close was never sent (2410)
2436         - print nal/nid for unknown nid (3258)
2437         - additional checks for oscc recovery before doing precreate (3284)
2438         - fix ll_extent_lock() error return code for 64-bit systems (3043)
2439         - don't crash in mdc_close for bad permissions on open (3285)
2440         - zero i_rdev for non-device files (3147)
2441         - clear page->private before handing to FS, better assertion (3119)
2442         - tune the read pipeline (3236)
2443         - fix incorrect decref of invalidated dentry (2350)
2444         - provide read-ahead stats and refine rpc in flight stats (3328)
2445         - don't hold journal transaction open across create RPC (3313)
2446         - update atime on MDS at close time (3265)
2447         - close LDAP connection when recovering to avoid server load (3315)
2448         - update iopen-2.6 patch with fixes from 2399,2517,2904 (3301)
2449         - don't leak open file on MDS after open resend (3325)
2450         - serialize filter_precreate and filter_destroy_precreated (3329)
2451         - loop device shouldn't call sync_dev() for nul device (3092)
2452         - clear page cache after eviction (2766)
2453         - resynchronize MDS->OST in background (2824)
2454         - refuse to mount the same filesystem twice on same mountpoint (3394)
2455         - allow llmount to create routes for mounting behind routers (3320)
2456         - push lock cancellation to blocking thread for glimpse ASTs (3409)
2457         - don't call osc_set_data_with_check() for TEST_LOCK matches (3159)
2458         - fix rare problem with rename on htree directories (3417)
2459        * miscellania
2460         - allow default OST striping configuration per directory (1414)
2461         - fix compilation for qswnal for 2.6 kernels (3125)
2462         - increase maximum number of MDS request buffers for large systems
2463         - change liblustreapi to be useful for external progs like lfsck (3098)
2464         - increase local configuration timeout for slow disks (3353)
2465         - allow configuring ldlm AST timeout - lustre.ldlm_timeout=<seconds>
2466
2467 2004-03-22  Cluster File Systems, Inc. <info@clusterfs.com>
2468        * version 1.2.1
2469        * bug fixes
2470         - fixes for glimpse AST timeouts / incorrectly 0-sized files (2818)
2471         - don't overwrite extent policy data in reply if lock was blocked (2901)
2472         - drop filter export grants atomically with removal from device (2663)
2473         - del obd_self_export from work_list in class_disconnect_exports (2908)
2474         - don't LBUG if MDS recovery times out during orphan cleanup (2530)
2475         - swab reply message in mdc_close, other PPC fixes (2464)
2476         - fix destroying of named logs (2325)
2477         - overwrite old logs when running lconf --write_conf (2264)
2478         - bump LLOG_CHUNKSIZE to 8k to allow for larger clusters (2306)
2479         - fix race in target_handle_connect (2898)
2480         - mds_reint_create() should take same inode create lock (2926)
2481         - correct journal credits calculated for CANCEL_UNLINK_LOG (2931)
2482         - don't close files for self_export to avoid uninitialized obd (2936)
2483         - allow MDS with the same name as client node (2939)
2484         - hold dentry reference for closed log files for unlink (2325)
2485         - reserve space for all logs during transactions (2059)
2486         - don't evict page beyond end of stripe extent (2925)
2487         - don't oops on a deleted current working directory (2399)
2488         - handle hard links to targets without a parent properly (2517)
2489         - don't dereference NULL lock when racing during eviction (2867)
2490         - don't grow lock extents when lots of conflicting locks (2919)
2491
2492 2004-03-04  Cluster File Systems, Inc. <info@clusterfs.com>
2493        * version 1.2.0
2494        * bug fixes
2495         - account for cache space usage on clients to avoid data loss (974)
2496         - lfsck support in lustre kernel code (2349)
2497         - reduce journal credits needed for BRW writes (2370)
2498         - orphan handling to avoid losing space on client/server crashes
2499         - ptlrpcd can be blocked, stopping ALL progress (2477)
2500         - use lock value blocks to assist in proper KMS, faster stat (1021)
2501         - takes i_sem instead of DLM locks internally on obdfilter (2720)
2502         - recovery for initial connections (2355)
2503         - fixes for mds_cleanup_orphans (1934)
2504         - abort_recovery crashes MDS in b_eq (mds_unlink_orphan) (2584)
2505         - block all file creations until orphan recovery completes (1901)
2506         - client remove rq_connection from request struct (2423)
2507         - conf-sanity test_5, proper cleanup in umount log not availale (2640)
2508         - recovery timer race (2670)
2509         - mdc_close recovey bug (2532)
2510         - ptlrpc cleanup bug (2710)
2511         - mds timeout on local locks (2588)
2512         - namespace lock held during RPCs (2431)
2513         - handle interrupted sync write properly (2503)
2514         - don't try to handle a message that hasn't been replied to (2699)
2515         - client assert failure during cleanup after abort recovery (2701)
2516         - leak mdc device after failed mount (2712)
2517         - ptlrpc_check_set allows timedout requests to complete (2714)
2518         - wait for inflight reqs when ptlrpcd finishes (2710)
2519         - make sure unregistered services are removed from the srv_list
2520         - reset bulk XID's when resending them (caught by 1138 test)
2521         - unregister_bulk after timeout
2522         - fix lconf error (2694)
2523         - handle write after unfinished setstripe, stripe-only getstripe (2388)
2524         - readahead locks pages, leaves pending causing memory pressure (2673)
2525         - increase OST request buffers to 4096 on large machines (2729)
2526         - fix up permission of existing directories in simple_mkdir (2661)
2527         - init deleted item, add assertions ptlrpc_abort_inflight() (2725)
2528         - don't assign transno to errored transactions (2742)
2529         - don't delete objects on OST if given a bogus objid from MDS (2751)
2530         - handle large client PAGE_SIZE readdir on small PAGE_SIZE MDS (2777)
2531         - if rq_no_resend, then timeout request after recovery (2432)
2532         - fix MDS llog_logid record size, 64-bit array alignment (2733)
2533         - don't call usermode_helper from ptlrpcd, DEFAULT upcall (2773)
2534         - put magic in mount.lustre data, check for bad/NULL mount data (2529)
2535         - MDS recovery shouldn't delete objects that it has given out (2730)
2536         - if enqueue arrives after completion, don't clobber LVB (2819)
2537         - don't unlock pages twice when trigger_group_io returns error (2814)
2538         - don't deref NULL rq_repmsg if ldlm_handle_enqueue failed (2822)
2539         - don't write pages to disk if there was an error (1450)
2540         - don't ping imports that have recovery disabled (2676)
2541         - take buffered bytes into account when balancing socknal conn (2817)
2542         - hold a DLM lock over readdir always, use truncate_inode_pages (2706)
2543         - reconnect unlink llog connection after MDS reconnects to OST (2816)
2544         - remove little-endian swabbing of llog records (1987)
2545         - set/limit i_blksize to LL_MAX_BLKSIZE on client (2884)
2546         - retry reposting request buffers if they fail (1191)
2547         - grow extent at grant time to avoid granting a revoked lock (2809)
2548         - lock revoke doesn't evict page if covered by a second lock (2765)
2549         - disable VM readahead to avoid reading outside lock extents (2805)
2550        * miscellania
2551         - return LL_SUPER_MAGIC from statfs for the filesystem type (1972)
2552         - updated kernel patches for hp-2.4.20 kernel (2681)
2553
2554 2004-02-07  Cluster File Systems, Inc. <info@clusterfs.com>
2555        * version 1.0.4
2556        * kernel patches
2557         - fix truncated write corruption (2366)
2558         - fix for failed assertion in iopen_connect_dentry (1792,2517)
2559        * bug fixes
2560         - don't flag the ptlrpcd thread with PF_MEMALLOC (2636)
2561         - ensure len(uuid) < 37 in lmc (1171)
2562         - fix ia64 OOPS in llog_test (2255)
2563         - zero end of page at obdfilter for partial page writes (2648)
2564         - don't leave stale dentries around after renames (bug 2428)
2565         - fix timeouts when evicting a client with a single lock held (2642)
2566         - set deadline for the initial HELLO message to drain (2634)
2567         - print out dotted-quad IP addresses in the socknal (2302)
2568        * miscellania
2569         - additional debugging for MDS client eviction problem (2443)
2570         - fix mkfsoptions support for osts (2603, 2604)
2571
2572 2004-01-27  Cluster File Systems, Inc. <info@clusterfs.com>
2573        * version 1.0.3
2574        * kernel patches
2575         - add series for the vanilla 2.6.0 kernel
2576         - add series for the vanilla 2.4.24 kernel
2577         - add series for a cray x86/64 UL kernel drop
2578         - fix xattr patches for the vanilla 2.4.19 series
2579        * bug fixes
2580         - generate true UUIDs in lmc (1171)
2581         - have portals stack dumping break in UML (2466)
2582         - avoid bad dchild deref; avoid inum lock w/o creation (2362)
2583         - allocate with _NOFS in ldlm to avoid deadlock (1933)
2584         - wake callback waiting threads on client eviction (2460)
2585         - Add --ptldebug and --subsystem to lmc (1719)
2586         - update assertion to allow safe interrupt allocation
2587         - set rq_no_resend for cancel requests (2432)
2588         - recalculate ptlrpcd timeout after resend (2494)
2589         - call vfs_rmdir when removing pending directories (2368)
2590         - fix renaming a file to itself (2429)
2591         - lmc creates a default one-stripe lov (2454)
2592         - expand procfs space to handle large clusters (2326)
2593         - increase UML stack to avoid overflow
2594         - update lconf's list of debug and subsystem masks
2595         - fix lfs find --obd (2510)
2596         - /proc tunable for disabling filter read caching (2591)
2597         - stop rpm packages from altering slapd.conf (2301)
2598         - disable nagle in the socknal under 0conf (2578)
2599         - choose mds inode size based on stripe count (2572)
2600         - fix kernel-source rpm problems (2516)
2601        * miscellania
2602         - add --disable-doc to avoid pdf generation (2421)
2603         - update documentation, tests, type-os, comments
2604         - avoid format warnings on ia64
2605         - remove the TOE NAL
2606         - tiny code cleanups by removing unused fields
2607
2608 2004-01-07  Cluster File Systems, Inc. <info@clusterfs.com>
2609        * version 1.0.2
2610        * bug fixes
2611         - fix obvious semaphore misuse in as-yet-unused setattr path (2348)
2612         - remove the most blatant lies from BUILDING file (2371)
2613         - change default debug level to reasonable production setting
2614         - reduce client side cache size to reduce cache flush time
2615         - reduce max RPCs in flight to avoid unnecessary file fragmentation
2616         - make TCP zerocopy and pinger support enabled by default (2476)
2617         - sync writes completed after process exits caused crashes (2319)
2618         - maintain correct mount count on the MDS (2356)
2619         - backout 1557, because 2316 wasn't really fixed
2620         - better file I/O statistics gathering in /proc
2621         - don't take unnecessary, deadlock-inducing bug in readpage (2383)
2622         - another kernel patch to fix zero-copy TCP function export
2623         - don't take duplicate lock when processing re-sent getattr (2420)
2624         - lctl uses obd_self_export instead of creating new conn (2353)
2625         - MDS/OST recovery case which requires object creation asserted (2425)
2626         - move lfs from /usr/sbin to /usr/bin in packages
2627         - fix race between mds_client_add and mds_client_free (2417)
2628         - use kmalloc instead of slabs in portals (2430)
2629         - don't create duplicate records when a failover MDS is present (2442)
2630         - remove unnecessary mount age check (2332)
2631         - don't remove directory inodes from locks prematurely (2451)
2632         - don't break if MDS service name is the same as hostname (2103)
2633         - fix races in client write RPC generation when cache full (2482)
2634
2635 2003-12-13  Cluster File Systems, Inc. <info@clusterfs.com>
2636        * version 1.0.1
2637        * bug fixes
2638         - remove now-unused request->rq_obd (278)
2639         - if an allocation fails, print out how much memory we've used (1933)
2640         - use PORTAL_SLAB_ALLOC for structures, to get GFP_MEMALLOC (1933)
2641         - add the "configurable stack size" patch to most series files (1256)
2642         - ability to write large log records, for 100+ OST configs (2306)
2643         - fix NULL deref when filter_prep fails (2314)
2644         - fix operator precedence error in filter_sync
2645         - dynamic allocation of socknal TX descriptors (2315)
2646         - fix a missed case in the GFP_MEMALLOC patch, can cause deadlock (2310)
2647         - fix gcc 2.96 compilation problem in xattr kernel patch (2294)
2648         - ensure that CWARN messages in Portals always get to the syslog
2649         - __init/__exit are not for prototype decls (ldlm_init/exit)
2650         - x86-64 compile warning fixes
2651         - fix gateway LMC keyword conflict (2318)
2652         - fix MDS lock inversions in getattr/reint paths (1844)
2653         - fix a rare lock re-ordering bug, which caused deadlock (2322)
2654         - fix i_sem/journal inversion in fsfilt_ext3_write_record (2306)
2655         - DLM race condition prevented some lock evictions (2328)
2656         - ENOMEM detection and retry on socknal sends (2230)
2657         - use GFP_NOFS throughout Lustre, to combat ENOMEM (2230)
2658         - move osc_rpcd into ptlrpc, for use in MDC and others (2329)
2659         - protect MDS inode fsdata with stronger locking; fixes assertion (2313)
2660         - better error messages when a client is rejected during recovery (1505)
2661         - avoid cancelling locks which were never granted, after failure (2330)
2662         - fix i_sem/journal inversion in mds_client_add (2333)
2663         - fix truncate/getattr lock cycle deadlock (2334)
2664         - use rpcd to send close; allows resend after timeout, avoid leak (1897)
2665         - fix two rare exit paths which could leak an l_lock() ref (2321)
2666         - fencepost error in MDS/OST orphan recovery (2226)
2667         - make log record alignment 8 bytes (1988)
2668         - lstripe now fails when requested offset > ost_count (2237)
2669         - ensure that all kernel series have a complete list.h (1607)
2670         - fix crashes in special-file operations (2316)
2671         - lctl create/brw OID mismatch, caused by obsolete filter loop (2339)
2672        * miscellania
2673         - allow configurable automake binary, for testing new versions
2674         - small update to the lfs documentation
2675
2676 2003-12-03  Cluster File Systems, Inc. <info@clusterfs.com>
2677        * version 1.0.0
2678        * fix negative export reference count in fsfilt_sync (2312)
2679
2680 2003-12-01  Cluster File Systems, Inc. <info@clusterfs.com>
2681        * release candidate 0.9.1
2682        * bug fixes
2683         - orphans are moved into the PENDING directory for possible recovery
2684         - replayed opens now open by fid for orphan/rename safety (1042)
2685         - last close of an orphan inode generates a transno (683)
2686         - chdir() and mount() now pin the directory entry (1020)
2687         - avoid CERROR in normal ll_setattr_raw() error case (1500)
2688         - discard very old requests without processing them (1502)
2689         - remove some common, well-understood CERRORs (1505)
2690         - require O_DIRECT I/O to be page-sized to workaround IA64 crash (1609)
2691         - clear "grant" flags in OST replies until OST grant code lands (1644)
2692         - fix read performance by not clobbering i_blksize on client (1598)
2693         - fix __ldlm_handle2lock oops by not dereferencing lock after PUT (1625)
2694         - make LRU size a /proc tunable, clears locks when reduced (707)
2695         - fix some lprocfs rot that prevented ptlbd from loading (1732)
2696         - server locks take references on exports now (1558)
2697         - build fixes for 2.4.20-rh trees (1663)
2698         - return an error from lov_create if all OSCs are inactive (1751)
2699         - fix import levels when a reconnect happens without a timeout (1597)
2700         - exit early from mds_open if we get a lookup error (1749)
2701         - partial page read at EOF wouldn't wait for disk before sending (1642)
2702         - avoid NULL deref in obdfilter when reading page past EOF (1592)
2703         - avoid LASSERT in ll_intent_lock if server failed very early (1090)
2704         - fix LBUG in ll_it_open_error with rc = -2 (1861)
2705         - write/truncate lock inversion (1639)
2706         - Don't auto-load obdclass, portals modules during cleanup (1495)
2707         - fix timestamps from jumping to "now" (1763)
2708         - extra journal assertions (1648)
2709         - add an extra multiunlink test (1771)
2710         - fix read_record/write_record API (1776)
2711         - fix leak of offset_extent, possible incorrect i_size later (1772)
2712         - fix lasserts in mis-matched transnos during open-unlink testing (1541)
2713         - Debugging for the kqswnal_get_idle_tx problems (1820)
2714         - Allow recovery to be attempted multiple times (1536)
2715         - Write out MDS last_rcvd file after it is first created (1600)
2716         - Fix tx_descriptor leak in failed transmit situations (1827)
2717         - ext3 journaling fixes for assertion failure after IO error (1871)
2718         - class_export_put() on freed export after completion AST error (1896)
2719         - Fix revalidate looping in VFS (1322)
2720         - Don't access a freed export during MDS_REINT timeout (1521)
2721         - Add open-unlink recovery support on the MDS (1673,1764)
2722         - Return an error if no MDS data was read from last_rcvd (1946)
2723         - Fix for lookup "." or ".." crash on error (1932,1931,1935)
2724         - Don't setup a disk device that doesn't match exported UUID (317)
2725         - Reduce bulk RPC timeout to avoid cascading client/OST failures (1845)
2726         - avoid committing NULL handle in force close
2727         - local.sh is now a one-stripe LOV configuration
2728         - POSIX utime.4 -EPERM on FIFO not owned by user (56)
2729         - fix ext3 htree duplicate directory entry corruption (1516)
2730         - POSIX creat.13, fstat.1, open.18, stat.3 new file atime/mtime (2020)
2731         - update to new LOV EA format (2097)
2732         - interoperability for different PAGE_SIZE/wordsize (686,1821,1343,2042)
2733
2734 2003-06-15  Phil Schwan  <phil@clusterfs.com>
2735        * version v0_7
2736        * bug fixes
2737         - imports and exports cleanup too early, need refcounts (349, 879, 1045)
2738         - per-import/export recovery handling (958, 931, 959)
2739         - multiple last-rcvd slots, for serving multiple FSes (949)
2740         - connections are again shared between multiple imp/exports (963, 964)
2741         - "umount -f" would hang if any requests needed to be sent (393, 978)
2742         - avoid pinning large req buffer by copying for queued messages (989)
2743         - add "uuid" to "lctl device" command to help upcalls (991)
2744         - "open" RPCs with transnos would confuse recovery counters (1037)
2745         - do proper endian conversion of all wire messages (288, 340, 891)
2746         - remove OST bulk get LBUGs, fix ost_brw_write cleanup (1126)
2747         - call waiting locks callback from LDLM recovery thread (1127, 1151)
2748         - fix ptlrpc_connection leak in target_handle_connect (1174)
2749         - fix import refcounting bug in OST and MDS cleanup (1134)
2750         - if an invalid-at-open-time OSC returned before close(), LBUG (1150)
2751         - fix very unlikely obd_types race condition (501)
2752         - remove osc_open hack for echo_client (1187)
2753         - we leaked exports/dlmimps for forcibly disconnected clients (1143)
2754         - a failure in read_inode2 leads to deadlock (1139)
2755         - cancel ack-locks as soon as transaction is committed (1072)
2756         - fix major leaks and crashes in the bulk I/O path (937, 1057)
2757         - make sure to commitrw after any preprw to avoid deadlock (1162)
2758         - failing to execute a file in a lustre FS would lock inode (1203)
2759         - small DEBUG_REQ fix to avoid dereferencing a NULL (1227)
2760         - don't ASSERT while cleaning up an incompletely-setup obd (1248)
2761         - obd_uuid2tgt would walk off the end of the list (1255)
2762         - on IA64 the osc would give portals incorrect bulk size (1258)
2763         - fix debug daemon ioctl interface; allows daemon on ia64 (1274)
2764         - fix lock inversion caused by new llite matching code (1282)
2765         - limit the number of dirty pages on a client to 10MB (1286)
2766         - timed out locks were not being corrected cancelled (1289)
2767         - fix O_DIRECT above 4GB on IA-32 (1292)
2768        * major user-visible changes
2769         - fail out/fail over policy now controlled by the upcall (993)
2770        * protocol changes
2771         - add OBD_PING to check server availability and failure (954)
2772         - lustre messages are now sent in sending host order (288, 340, 891)
2773         - add eadatalen to MDS getattr reply (340)
2774         - OST read replies may contain second buffer, with per-page status (593)
2775
2776 2003-03-11  Phil Schwan  <phil@clusterfs.com>
2777        * version v0_6
2778        * bug fixes
2779         - LDLM_DEBUG macro fix, for gcc 3.2 (850)
2780         - failed open()s could cause deadlock; fixed (867, 869)
2781         - stop cancelling OST locks when files are closed (481)
2782         - overlapping XID spaces caused network corruption (851, 853)
2783         - fix unsafe fsfilt counter arithmetic; change to atomic_t
2784         - setattr_raw added, to do single-RPC, server-side setattrs
2785         - lmc/lconf syntax change for OST UUIDs
2786         - fix crashy race condition between ptlrpc_free_req and osc_close
2787         - don't use request in mdc_enqueue if we hit a timeout (889)
2788         - don't set the inode i_size for regular files from the MDS (896)
2789         - handle out of order completion AST (842)
2790         - don't LBUG if a lock request times out after receiving AST (913)
2791         - avoid d_rehash race in ll_find_alias by rehashing inside dcache_lock
2792         - if a bad lock AST arrives, send an error instead of dropping entirely
2793         - return 0 from revalidate2 if ll_intent_lock returns -EINTR (912)
2794         - fix leak in bulk IO when only partially completed (899, 900, 926)
2795         - fix O_DIRECT for ia64 (55)
2796         - (almost) eliminate Lustre-kernel-thread effects on load average (722)
2797         - C-z after timeout could hang a process forever; fixed (977)
2798        * Features
2799         - client-side I/O cache (678, 924, 929, 941, 970)
2800        * protocol changes
2801         - READPAGE and SETATTRs which don't take server-side locks get
2802           their own portal
2803
2804 2003-02-11  Phil Schwan  <phil@clusterfs.com>
2805         * version v0_5_20
2806         * bug fixes
2807          - Fix ldlm_lock_match on the MDS to avoid matching remote locks (592)
2808          - Fix fsfilt_extN_readpage() to read a full page of directory
2809            entries, or fake the remainder if PAGE_SIZE != blocksize (500)
2810          - Avoid extra mdc_getattr() in ll_intent_lock when possible (534, 604)
2811          - Fix imbalanced LOV object allocation and out-of-bound access (469)
2812          - Most intent operations were removed, in favour of a new RPC mode
2813            that does a single RPC to the server and bypasses most of the VFS
2814          - All LDLM resource ID arrays were removed in favour of ldlm_res_id
2815          - Aggressively cancel local locks on DLM servers
2816          - mds_reint_unlink sends EA to the client if it's the last nlink.
2817            client uses that EA to unlink OST objects.
2818          - mds_reint_{rename,unlink,link} were rewritten to take ordered locks
2819          - recursive symlinks were fixed (439)
2820          - fixed NULL deref in DEBUG_REQ
2821          - filter_update_lastobjid no longer calls sync, which annoyed extN
2822          - fixed multi-client small-writes to a single file problem (445)
2823          - fixed mtime updates during file writes (607)
2824          - fixed vector writes on obdfilter causing problems when ENOSPC (670)
2825          - fixed bug in obd_brw_read/write() (under guise of testing 367)
2826          - fixed Linux OST size reporting problem (444, 656)
2827          - OST now updates object mtime with writes or setattr (607, 619)
2828          - client verifies file size before zeroing page past EOF (445)
2829          - OST now writes last allocated objid to disk with allocation (108)
2830          - LOV on echo now works (409)
2831         * protocol changes
2832          - mds_reint_unlink sends a new buffer, with the EA included.  this
2833            buffer is only valid if body->valid & OBD_MD_FLEASIZE, which is only
2834            set if a regular file was being unlinked, and it was the last link
2835          - use PtlGet from the target for bulk writes (315)
2836          - OST now updates object mtime with writes or setattr (607, 619)
2837          - LDLM now has a grant-time callback to revalidate locked items, if
2838            necessary (604)
2839          - Many MDS operations were reorganized to combat race conditions
2840         * other changes
2841          - Merge b_intel branch (updated lprocfs code) - now at /proc/fs/lustre
2842          - configure check to avoid gcc version 2.96 20000731-2.96-98) (606)
2843
2844 2003-01-06  Andreas Dilger  <adilger@clusterfs.com>
2845         * version v0_5_19
2846         * bug fixes
2847          - Fully reactivate OST imports after reconnection (512, others)
2848          - Make sure client sees our -ENOTCONN from mds_handle (513 - partial)
2849          - More graceful error handling for truncating on dead OST (515)
2850          - Don't error out unless we're actually accessing dead stripes (474)
2851          - Fix garbage sizes when stripes are missing (410)
2852          - LRU counters were broken, causing constant lock purge (433, 432)
2853          - garbage on read from stripes with failed OSTs (441)
2854          - mark OSCs as active before reconnecting during recovery (438)
2855          - lov_enqueue and lov_cancel need to handle inactive OSTs (403)
2856          - lfind did not preserve OST order in output (443)
2857          - symlinks cause hung clients, incorrect data (439)
2858          - stop dereferencing request after dropping refcount (457)
2859          - don't LASSERT(spin_is_locked) on non-SMP (455)
2860          - fixes for many rename() bugs
2861          - fstat didn't correctly synchronize attributes (399)
2862          - server must handle lock cancellation during blocking AST prep (487)
2863          - bulk descriptors were free()d too soon (511)
2864          - fix paths in lconf, which would load incorrect modules (451, 507)
2865          - fix confusing lconf 'host not found' error message (386)
2866          - fix lock order deadlock on OST (O/R i_sem before journal ops, 478)
2867          - fix race condition in mdc_blocking_ast() for inode access (526)
2868          - fix lov_unpackmd() unpacking wrong number of stripes (537)
2869          - fix lov_set_osc_active() marking wrong OSC inactive (440)
2870          - fix bad lstripe lov_unpackmd() assertion (fix layering too) (527)
2871          - fix multiple writes of stripe MD to MDS (358, maybe 519)
2872          - fix lstripe in several ways (kernel side) (527)
2873          - fix request leak in ldlm_cli_enqueue (262)
2874          - incorrect OSC was marked inactive after OST failure
2875          - call mds_fs_cleanup before unmounting filesystem (524)
2876          - fix races between taking ns_lock and ldlm_lock_change_resource
2877          - fix races updating LOV export open file list
2878          - fix lov_enqueue error path, avoid decref-ing bad lock handle
2879          - fix recovery NULL deref in ldlm_cli_cancel_unused
2880          - fix some DLM races by using new hash table for lock handles (419)
2881          - permit the client to specify desired inodes, at replay
2882          - duplicate requests when we queue them for replay reintegration
2883          - fix last_rcvd offset calculation
2884          - sync after each recovered transaction, so we always make progress
2885          - never, not always, ERESTART requests without transnos
2886          - store the lov_desc in the MDS, so we don't depend on getlovinfo to
2887            set it
2888          - skip replay if the MDS says that the client is already connected
2889          - don't check for a recovery-enabled export to match lctl's UUID
2890          - don't INC_USE_COUNT for phantom exports
2891          - don't crash when cleaning up phantom exports (567)
2892          - don't double-finish or set replay data for errored mdc_open requests
2893          - abort requests when they time out, so we don't get old replies
2894          - send/receive replies for AST messages again
2895          - if the client says that it doesn't have the lock, cancel it on the
2896            server
2897          - if we timeout during I/O, don't try to cancel an in-use lock; instead
2898            mark it as destroyed, it will all work out when decref is called
2899          - fix module use counts (22, 581)
2900         * protocol changes
2901          - ASTs now expect a reply (server cancels lock on error reply)
2902
2903 2002-12-02  Andreas Dilger  <adilger@clusterfs.com>
2904         * version v0_5_18
2905         * bug fixes
2906           - fix many simultaneous client startup (392)
2907           - fix dentry->d_it clobbering
2908           - credentials weren't being shipped for readdir/getattr operations
2909           - remove invalid assertions triggered during some concurrent MD
2910             updates
2911           - proper Lustre versions added (336, 389)
2912           - fix memory leak for create error case (398)
2913           - fix LOV locking bug that would get cli/srv out of sync
2914           - fix echo client over LOV (409)
2915           - fix dbench 2, extN refcount problem (170, 258, 356, 418)
2916           - fix double-O_EXCL intent crash (424)
2917           - avoid sending multiple lock CANCELs (352)
2918         * Features
2919           - MDS can do multi-client recovery (modulo bugs in new code)
2920         * Documentation
2921           - many updates, edits, cleanups
2922
2923 2002-11-18  Phil Schwan  <phil@clusterfs.com>
2924         * version v0_5_17
2925         * bug fixes
2926           - fix null d_it dereference (346)
2927           - fix full OST/dbench hang (333)
2928           - fix permission problem with file removal (286)
2929           - fix removal of OSCs from LOV when they fail
2930           - fix NULL deref during bulk timeout (214)
2931           - fix problems related to multiple filesystems on one MDS (241)
2932           - fixed serious subtle metadata locking bugs
2933           - free locks on clients when inodes are removed due to memory
2934             pressure (201)
2935           - fix inode pointer in lock data (285)
2936           - partial support for multiple MDS on a single host (241)
2937           - data locks weren't cancelled at clear_inode time (290, 311)
2938           - intent locks could lead to unbounded lock growth (205)
2939           - added a maximum lock count, an LRU list, and a flusher
2940           - fix multiple rename (365)
2941           - properly abstracted the echo client
2942           - OSC locked 1 byte too many; fixed
2943           - rewrote brw callback code:
2944           - fixed recovery bugs related to LOVs (306)
2945           - fixed too-many-pages-in-one-write crash (191)
2946           - fixed (again) crash in sync_io_timeout (214)
2947           - probably fixed callback-related race (385)
2948         * protocol change
2949           - Add capability to MDS protocol
2950           - LDLM cancellations and callbacks on different portals
2951
2952 2002-10-28  Andreas Dilger  <adilger@clusterfs.com>
2953         * version v0_5_16
2954         * bug fixes:
2955           - limit client IOV size to PTL_MD_MAX_IOV (611336, 191)
2956           - defer open object destruction to close time (601981, 138)
2957           - open/close OST file handle in obdo (OBD_MD_FLHANDLE) (601981, 138)
2958           - move LDLM_ENQUEUE/CONVERT back to MDS portal (625069)
2959           - abstract ll_lookup2, fix ll_revalidate2 to use abstraction (256)
2960           - don't call obd_setattr in ll_file_release for destroyed objects
2961         * protocol change to lustre_msg: move |version| and add |flags|
2962         * protocol change to osc_punch: "start" in "o_size", "end" in "o_blocks"
2963         * lock replay: for LDLM_FL_REPLAY trust client to do right thing
2964         * added replay of create, unlink, link and rename operations during
2965           MDS failover; recovery should be much more robust now
2966         * remove failed OSCs from LOVs (only lov_create uses this so far)
2967         * the lustre-HOWTO was brought (more) up to date (582544)
2968
2969 2002-10-23  Phil Schwan  <phil@clusterfs.com>
2970         * version v0_5_15
2971         * bug fixes:
2972           - in-use dentries weren't being reused properly (617851)
2973           - prevent multiple LDLM setup (599178)
2974           - fix LOV size calculations for truncate (617853)
2975           - fix client handling of MDS intent errors (POSIX)
2976           - fix permission bug in lovstripe.c test (624321)
2977           - fix MDS thread deadlock - move LDLM handler to DLM portal (625069)
2978           - truncate past end of file could corrupt data
2979           - proper cleanup after timeouts, crashes, etc (592524, 550815)
2980           - a race in recovery could return ETIMEDOUT to apps (623947)
2981           - building outside the source directory was fixed
2982         * the lustre-HOWTO was brought (more) up to date (582544)
2983         * major progress was made on recovery functionality
2984
2985 2002-10-10  Phil Schwan  <phil@clusterfs.com>
2986         * version v0_5_14
2987         * bug fixes:
2988           - recovery deadlock fix
2989           - rm -rf causes LBUG fix (617817)
2990           - file open by multiple tasks fix (618962)
2991           - directory permissions bugs (602707 and 620007)
2992           - journal_stop fixed with locking (611313)
2993           - O_APPEND failures resolved (618273, perhaps 614459)
2994           - lconf PATH fix (619770)
2995           - IA64 build fix (621450)
2996           - RPC buffer sizes scale with amount of memory
2997
2998 2002-10-01  Phil Schwan  <phil@clusterfs.com>
2999         * version v0_5_13
3000         * bug fixes:
3001           - locks would be cancelled without throwing away data pages,
3002             resulting in inconsistent data (605627)
3003           - inode attributes were not always being refreshed (605627, 612449)
3004           - lconf now continues to cleanup after lctl reports an error
3005           - MDS now enforces user permissions (602707)
3006           - lprocfs cleanup fixed, but not yet enabled (614157)
3007           - fixed infinite server hang, should a client not respond to an AST
3008           - avoid going into recovery if user calls readlink() with a buffer
3009             that's too small (613941)
3010           - AST RPCs no longer require replies (614867) -- this may be changed
3011           - don't crash server if client sends an IOV that's too big (611336)
3012           - fixed lock conversion deadlock (611892)
3013           - fixed the following of symlinks (614622)
3014         * recovery: the server can remove locks from a client that dies, other
3015           clients can make progress
3016         * more extN patch fixes
3017         * compile-time configurable ptlrpc buffer allocations
3018         * documentation
3019           - collaborative read cache document
3020           - Lustre Lite Performance CDR document-in-progress
3021
3022 2002-09-20  Andreas Dilger  <adilger@clusterfs.com>
3023         * version v0_5_12
3024         * bug fix
3025           - fix typo in patch-2.4.18
3026
3027 2002-09-20  Andreas Dilger  <adilger@clusterfs.com>
3028         * version v0_5_11
3029         * bug fixes
3030           - clear ptlrpc request each time in handle_incoming_request()
3031           - unlink of files now destroys the object on the OST
3032
3033 2002-09-19  Peter Braam  <braam@clusterfs.com>
3034         * version 0_5_10
3035         * add hard link support
3036         * change obdfile creation method
3037         * kernel patch changed
3038         
3039 2002-09-19  Peter Braam  <braam@clusterfs.com>
3040         * version 0_5_9
3041         * bug fix
3042           - stack overflow bug in extN fixed
3043
3044 2002-09-18  Andreas Dilger  <adilger@clusterfs.com>
3045         * version 0_5_8
3046         * documentation updates
3047           - add man pages for config tools
3048           - update tests/README to describe testing with new config tools
3049           - finish metadata API descriptions
3050         * bug fixes and cleanups
3051           - statfs workaround for 16TB limit
3052           - LOV stripe allocation improved, can stripe on subset of OSTs
3053           - LOV file size/IO offset was wrong for files > 4GB in size
3054           - object EA data was being dropped, caused files to be unreadable
3055           - memory overflow with non-LOV OST caused memory corruption
3056           - fixed regression tests to work with new config tools, obdfilter
3057           - fixed bug when directory size became larger than 1 block
3058           - fixed bug (for single client case) when PWD was deleted
3059           - invalidate local directory pages when doing intent-based ops
3060           - avoid LDLM oops when lock callback contained bad data
3061
3062 2002-09-09  Andreas Dilger  <adilger@clusterfs.com>
3063         * version 0_5_7
3064         * documentation updates
3065         * bug fixes and cleanups
3066           - configuration tools
3067           - LOV
3068           - imports/exports
3069           - 64-bit compile warnings
3070           - 64-bit internal statfs data
3071           - many more
3072         * test_brw on persistent OST devices
3073         * MDS recovery
3074         * lprocfs (disabled)
3075
3076 2002-09-04  Andreas Dilger  <adilger@clusterfs.com>
3077         * version 0_5_6
3078         * documentation updates
3079         * bug fixes and cleanups
3080         * configuration tools
3081
3082 2002-08-30  Peter J. Braam  <braam@clusterfs.com>
3083
3084         * version v0_5_5
3085         * many small fixes to 0_5_4
3086         * io/network handling
3087         * thinkos in MDS operations
3088
3089 2002-08-24  Peter J. Braam  <braam@clusterfs.com>
3090
3091         * version v0_5_4
3092         * crucial basic fixes to 0.5.3
3093         * IOR, Iozone work over Elan
3094         * EOF locks added
3095
3096 2002-08-07  Phil Schwan  <phil@clusterfs.com>
3097         * version 0_5_3, our first alpha
3098         * we use the new Portals iovs
3099         * documentation updates
3100         * bug fixes and cleanups
3101         * small changes in the DLM wire protocol
3102
3103 2002-07-25  Peter J. Braam  <braam@clusterfs.com>
3104         * version 0_5_1 with some initial stability,
3105         * locking on MD and file I/O.
3106         * documentation updates
3107         * several bug fixes since 0.5.0
3108         * small changes in wire protocol
3109
3110 2002-07-18  Phil Schwan  <phil@clusterfs.com>
3111         * version v0_4_5
3112         * delivered as Lustre Light Alpha
3113         * fixed a crash after handling invalid MDS requests
3114         * fixed directory pages for architectures with non-4k pages sizes
3115
3116 2002-07-11  Andreas Dilger  <adilger@clusterfs.com>
3117         * release version v0_4_4
3118         * Moves TCP acceptor to be on port 2432 (unused Coda port) instead
3119           of 1234.
3120         * Fixes a number of interruption problems with OST operations.
3121         * Update documentation for portals header changes
3122         * Move all wire protocol structs/defines to lustre_idl.h
3123         * Fixes symlink length bug.
3124         * Add tcpdump to repository.
3125
3126 2002-07-05  Andreas Dilger  <adilger@clusterfs.com>
3127         * release version v0_4_3
3128         * Fixes statfs for inodes on extN.
3129         * Fixes bug in runtests which would delete /etc/hosts.
3130         * Use 64-bit object IDs wherever possible (not into VFS though)
3131           Remove ost_get_info, which is unused by lustre, and out of date.
3132
3133 2002-07-03  Peter Braam  <braam@clusterfs.com>
3134         * release version v0_4_2   Fixes a lookup error (type not passed)
3135         * move forward to head of Portals
3136         * move forward to latest Lustre kernel
3137
3138 2002-06-25  Peter Braam  <braam@clusterfs.com>
3139         * release version v0_4_1.  Hopefully stable on single node use.