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