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