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