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