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