Whamcloud - gitweb
b=1844
[fs/lustre-release.git] / lustre / ChangeLog
1 tbd         Cluster File Systems, Inc. <info@clusterfs.com>
2        * version 1.0.1
3        * bug fixes
4         - remove now-unused request->rq_obd (278)
5         - if an allocation fails, print out how much memory we've used (1933)
6         - use PORTAL_SLAB_ALLOC for structures, to get GFP_MEMALLOC (1933)
7         - add the "configurable stack size" patch to most series files (1256)
8         - ability to write large log records, for 100+ OST configs (2306)
9         - fix NULL deref when filter_prep fails (2314)
10         - fix operator precedence error in filter_sync
11         - dynamic allocation of socknal TX descriptors (2315)
12         - fix a missed case in the GFP_MEMALLOC patch, can cause deadlock (2310)
13         - fix gcc 2.96 compilation problem in xattr kernel patch (2294)
14         - ensure that CWARN messages in Portals always get to the syslog
15         - __init/__exit are not for prototype decls (ldlm_init/exit)
16         - x86-64 compile warning fixes
17         - fix gateway LMC keyword conflict (2318)
18         - fix MDS lock inversions in getattr/reint paths (1844)
19        * miscellania
20         - allow configurable automake binary, for testing new versions
21         - small update to the lfs documentation
22
23 2003-12-03  Cluster File Systems, Inc. <info@clusterfs.com>
24        * version 1.0.0
25        * fix negative export reference count in fsfilt_sync (2312)
26
27 2003-12-01  Cluster File Systems, Inc. <info@clusterfs.com>
28        * release candidate 0.9.1
29        * bug fixes
30         - orphans are moved into the PENDING directory for possible recovery
31         - replayed opens now open by fid for orphan/rename safety (1042)
32         - last close of an orphan inode generates a transno (683)
33         - chdir() and mount() now pin the directory entry (1020)
34         - avoid CERROR in normal ll_setattr_raw() error case (1500)
35         - discard very old requests without processing them (1502)
36         - remove some common, well-understood CERRORs (1505)
37         - require O_DIRECT I/O to be page-sized to workaround IA64 crash (1609)
38         - clear "grant" flags in OST replies until OST grant code lands (1644)
39         - fix read performance by not clobbering i_blksize on client (1598)
40         - fix __ldlm_handle2lock oops by not dereferencing lock after PUT (1625)
41         - make LRU size a /proc tunable, clears locks when reduced (707)
42         - fix some lprocfs rot that prevented ptlbd from loading (1732)
43         - server locks take references on exports now (1558)
44         - build fixes for 2.4.20-rh trees (1663)
45         - return an error from lov_create if all OSCs are inactive (1751)
46         - fix import levels when a reconnect happens without a timeout (1597)
47         - exit early from mds_open if we get a lookup error (1749)
48         - partial page read at EOF wouldn't wait for disk before sending (1642)
49         - avoid NULL deref in obdfilter when reading page past EOF (1592)
50         - avoid LASSERT in ll_intent_lock if server failed very early (1090)
51         - fix LBUG in ll_it_open_error with rc = -2 (1861)
52         - write/truncate lock inversion (1639)
53         - Don't auto-load obdclass, portals modules during cleanup (1495)
54         - fix timestamps from jumping to "now" (1763)
55         - extra journal assertions (1648)
56         - add an extra multiunlink test (1771)
57         - fix read_record/write_record API (1776)
58         - fix leak of offset_extent, possible incorrect i_size later (1772)
59         - fix lasserts in mis-matched transnos during open-unlink testing (1541)
60         - Debugging for the kqswnal_get_idle_tx problems (1820)
61         - Allow recovery to be attempted multiple times (1536)
62         - Write out MDS last_rcvd file after it is first created (1600)
63         - Fix tx_descriptor leak in failed transmit situations (1827)
64         - ext3 journaling fixes for assertion failure after IO error (1871)
65         - class_export_put() on freed export after completion AST error (1896)
66         - Fix revalidate looping in VFS (1322)
67         - Don't access a freed export during MDS_REINT timeout (1521)
68         - Add open-unlink recovery support on the MDS (1673,1764)
69         - Return an error if no MDS data was read from last_rcvd (1946)
70         - Fix for lookup "." or ".." crash on error (1932,1931,1935)
71         - Don't setup a disk device that doesn't match exported UUID (317)
72         - Reduce bulk RPC timeout to avoid cascading client/OST failures (1845)
73         - avoid committing NULL handle in force close
74         - local.sh is now a one-stripe LOV configuration
75         - POSIX utime.4 -EPERM on FIFO not owned by user (56)
76         - fix ext3 htree duplicate directory entry corruption (1516)
77         - POSIX creat.13, fstat.1, open.18, stat.3 new file atime/mtime (2020)
78         - update to new LOV EA format (2097)
79         - interoperability for different PAGE_SIZE/wordsize (686,1821,1343,2042)
80
81 2003-06-15  Phil Schwan  <phil@clusterfs.com>
82        * version v0_7
83        * bug fixes
84         - imports and exports cleanup too early, need refcounts (349, 879, 1045)
85         - per-import/export recovery handling (958, 931, 959)
86         - multiple last-rcvd slots, for serving multiple FSes (949)
87         - connections are again shared between multiple imp/exports (963, 964)
88         - "umount -f" would hang if any requests needed to be sent (393, 978)
89         - avoid pinning large req buffer by copying for queued messages (989)
90         - add "uuid" to "lctl device" command to help upcalls (991)
91         - "open" RPCs with transnos would confuse recovery counters (1037)
92         - do proper endian conversion of all wire messages (288, 340, 891)
93         - remove OST bulk get LBUGs, fix ost_brw_write cleanup (1126)
94         - call waiting locks callback from LDLM recovery thread (1127, 1151)
95         - fix ptlrpc_connection leak in target_handle_connect (1174)
96         - fix import refcounting bug in OST and MDS cleanup (1134)
97         - if an invalid-at-open-time OSC returned before close(), LBUG (1150)
98         - fix very unlikely obd_types race condition (501)
99         - remove osc_open hack for echo_client (1187)
100         - we leaked exports/dlmimps for forcibly disconnected clients (1143)
101         - a failure in read_inode2 leads to deadlock (1139)
102         - cancel ack-locks as soon as transaction is committed (1072)
103         - fix major leaks and crashes in the bulk I/O path (937, 1057)
104         - make sure to commitrw after any preprw to avoid deadlock (1162)
105         - failing to execute a file in a lustre FS would lock inode (1203)
106         - small DEBUG_REQ fix to avoid dereferencing a NULL (1227)
107         - don't ASSERT while cleaning up an incompletely-setup obd (1248)
108         - obd_uuid2tgt would walk off the end of the list (1255)
109         - on IA64 the osc would give portals incorrect bulk size (1258)
110         - fix debug daemon ioctl interface; allows daemon on ia64 (1274)
111         - fix lock inversion caused by new llite matching code (1282)
112         - limit the number of dirty pages on a client to 10MB (1286)
113         - timed out locks were not being corrected cancelled (1289)
114         - fix O_DIRECT above 4GB on IA-32 (1292)
115        * major user-visible changes
116         - fail out/fail over policy now controlled by the upcall (993)
117        * protocol changes
118         - add OBD_PING to check server availability and failure (954)
119         - lustre messages are now sent in sending host order (288, 340, 891)
120         - add eadatalen to MDS getattr reply (340)
121         - OST read replies may contain second buffer, with per-page status (593)
122
123 2003-03-11  Phil Schwan  <phil@clusterfs.com>
124        * version v0_6
125        * bug fixes
126         - LDLM_DEBUG macro fix, for gcc 3.2 (850)
127         - failed open()s could cause deadlock; fixed (867, 869)
128         - stop cancelling OST locks when files are closed (481)
129         - overlapping XID spaces caused network corruption (851, 853)
130         - fix unsafe fsfilt counter arithmetic; change to atomic_t
131         - setattr_raw added, to do single-RPC, server-side setattrs
132         - lmc/lconf syntax change for OST UUIDs
133         - fix crashy race condition between ptlrpc_free_req and osc_close
134         - don't use request in mdc_enqueue if we hit a timeout (889)
135         - don't set the inode i_size for regular files from the MDS (896)
136         - handle out of order completion AST (842)
137         - don't LBUG if a lock request times out after receiving AST (913)
138         - avoid d_rehash race in ll_find_alias by rehashing inside dcache_lock
139         - if a bad lock AST arrives, send an error instead of dropping entirely
140         - return 0 from revalidate2 if ll_intent_lock returns -EINTR (912)
141         - fix leak in bulk IO when only partially completed (899, 900, 926)
142         - fix O_DIRECT for ia64 (55)
143         - (almost) eliminate Lustre-kernel-thread effects on load average (722)
144         - C-z after timeout could hang a process forever; fixed (977)
145        * Features
146         - client-side I/O cache (678, 924, 929, 941, 970)
147        * protocol changes
148         - READPAGE and SETATTRs which don't take server-side locks get
149           their own portal
150
151 2003-02-11  Phil Schwan  <phil@clusterfs.com>
152         * version v0_5_20
153         * bug fixes
154          - Fix ldlm_lock_match on the MDS to avoid matching remote locks (592)
155          - Fix fsfilt_extN_readpage() to read a full page of directory
156            entries, or fake the remainder if PAGE_SIZE != blocksize (500)
157          - Avoid extra mdc_getattr() in ll_intent_lock when possible (534, 604)
158          - Fix imbalanced LOV object allocation and out-of-bound access (469)
159          - Most intent operations were removed, in favour of a new RPC mode
160            that does a single RPC to the server and bypasses most of the VFS
161          - All LDLM resource ID arrays were removed in favour of ldlm_res_id
162          - Aggressively cancel local locks on DLM servers
163          - mds_reint_unlink sends EA to the client if it's the last nlink.
164            client uses that EA to unlink OST objects.
165          - mds_reint_{rename,unlink,link} were rewritten to take ordered locks
166          - recursive symlinks were fixed (439)
167          - fixed NULL deref in DEBUG_REQ
168          - filter_update_lastobjid no longer calls sync, which annoyed extN
169          - fixed multi-client small-writes to a single file problem (445)
170          - fixed mtime updates during file writes (607)
171          - fixed vector writes on obdfilter causing problems when ENOSPC (670)
172          - fixed bug in obd_brw_read/write() (under guise of testing 367)
173          - fixed Linux OST size reporting problem (444, 656)
174          - OST now updates object mtime with writes or setattr (607, 619)
175          - client verifies file size before zeroing page past EOF (445)
176          - OST now writes last allocated objid to disk with allocation (108)
177          - LOV on echo now works (409)
178         * protocol changes
179          - mds_reint_unlink sends a new buffer, with the EA included.  this
180            buffer is only valid if body->valid & OBD_MD_FLEASIZE, which is only
181            set if a regular file was being unlinked, and it was the last link
182          - use PtlGet from the target for bulk writes (315)
183          - OST now updates object mtime with writes or setattr (607, 619)
184          - LDLM now has a grant-time callback to revalidate locked items, if
185            necessary (604)
186          - Many MDS operations were reorganized to combat race conditions
187         * other changes
188          - Merge b_intel branch (updated lprocfs code) - now at /proc/fs/lustre
189          - configure check to avoid gcc version 2.96 20000731-2.96-98) (606)
190
191 2003-01-06  Andreas Dilger  <adilger@clusterfs.com>
192         * version v0_5_19
193         * bug fixes
194          - Fully reactivate OST imports after reconnection (512, others)
195          - Make sure client sees our -ENOTCONN from mds_handle (513 - partial)
196          - More graceful error handling for truncating on dead OST (515)
197          - Don't error out unless we're actually accessing dead stripes (474)
198          - Fix garbage sizes when stripes are missing (410)
199          - LRU counters were broken, causing constant lock purge (433, 432)
200          - garbage on read from stripes with failed OSTs (441)
201          - mark OSCs as active before reconnecting during recovery (438)
202          - lov_enqueue and lov_cancel need to handle inactive OSTs (403)
203          - lfind did not preserve OST order in output (443)
204          - symlinks cause hung clients, incorrect data (439)
205          - stop dereferencing request after dropping refcount (457)
206          - don't LASSERT(spin_is_locked) on non-SMP (455)
207          - fixes for many rename() bugs
208          - fstat didn't correctly synchronize attributes (399)
209          - server must handle lock cancellation during blocking AST prep (487)
210          - bulk descriptors were free()d too soon (511)
211          - fix paths in lconf, which would load incorrect modules (451, 507)
212          - fix confusing lconf 'host not found' error message (386)
213          - fix lock order deadlock on OST (O/R i_sem before journal ops, 478)
214          - fix race condition in mdc_blocking_ast() for inode access (526)
215          - fix lov_unpackmd() unpacking wrong number of stripes (537)
216          - fix lov_set_osc_active() marking wrong OSC inactive (440)
217          - fix bad lstripe lov_unpackmd() assertion (fix layering too) (527)
218          - fix multiple writes of stripe MD to MDS (358, maybe 519)
219          - fix lstripe in several ways (kernel side) (527)
220          - fix request leak in ldlm_cli_enqueue (262)
221          - incorrect OSC was marked inactive after OST failure
222          - call mds_fs_cleanup before unmounting filesystem (524)
223          - fix races between taking ns_lock and ldlm_lock_change_resource
224          - fix races updating LOV export open file list
225          - fix lov_enqueue error path, avoid decref-ing bad lock handle
226          - fix recovery NULL deref in ldlm_cli_cancel_unused
227          - fix some DLM races by using new hash table for lock handles (419)
228          - permit the client to specify desired inodes, at replay
229          - duplicate requests when we queue them for replay reintegration
230          - fix last_rcvd offset calculation
231          - sync after each recovered transaction, so we always make progress
232          - never, not always, ERESTART requests without transnos
233          - store the lov_desc in the MDS, so we don't depend on getlovinfo to
234            set it
235          - skip replay if the MDS says that the client is already connected
236          - don't check for a recovery-enabled export to match lctl's UUID
237          - don't INC_USE_COUNT for phantom exports
238          - don't crash when cleaning up phantom exports (567)
239          - don't double-finish or set replay data for errored mdc_open requests
240          - abort requests when they time out, so we don't get old replies
241          - send/receive replies for AST messages again
242          - if the client says that it doesn't have the lock, cancel it on the
243            server
244          - if we timeout during I/O, don't try to cancel an in-use lock; instead
245            mark it as destroyed, it will all work out when decref is called
246          - fix module use counts (22, 581)
247         * protocol changes
248          - ASTs now expect a reply (server cancels lock on error reply)
249
250 2002-12-02  Andreas Dilger  <adilger@clusterfs.com>
251         * version v0_5_18
252         * bug fixes
253           - fix many simultaneous client startup (392)
254           - fix dentry->d_it clobbering
255           - credentials weren't being shipped for readdir/getattr operations
256           - remove invalid assertions triggered during some concurrent MD
257             updates
258           - proper Lustre versions added (336, 389)
259           - fix memory leak for create error case (398)
260           - fix LOV locking bug that would get cli/srv out of sync
261           - fix echo client over LOV (409)
262           - fix dbench 2, extN refcount problem (170, 258, 356, 418)
263           - fix double-O_EXCL intent crash (424)
264           - avoid sending multiple lock CANCELs (352)
265         * Features 
266           - MDS can do multi-client recovery (modulo bugs in new code)
267         * Documentation 
268           - many updates, edits, cleanups
269
270 2002-11-18  Phil Schwan  <phil@clusterfs.com>
271         * version v0_5_17
272         * bug fixes
273           - fix null d_it dereference (346)
274           - fix full OST/dbench hang (333)
275           - fix permission problem with file removal (286)
276           - fix removal of OSCs from LOV when they fail
277           - fix NULL deref during bulk timeout (214)
278           - fix problems related to multiple filesystems on one MDS (241)
279           - fixed serious subtle metadata locking bugs
280           - free locks on clients when inodes are removed due to memory
281             pressure (201)
282           - fix inode pointer in lock data (285)
283           - partial support for multiple MDS on a single host (241)
284           - data locks weren't cancelled at clear_inode time (290, 311)
285           - intent locks could lead to unbounded lock growth (205)
286           - added a maximum lock count, an LRU list, and a flusher
287           - fix multiple rename (365)
288           - properly abstracted the echo client
289           - OSC locked 1 byte too many; fixed
290           - rewrote brw callback code:
291             - fixed recovery bugs related to LOVs (306)
292             - fixed too-many-pages-in-one-write crash (191)
293             - fixed (again) crash in sync_io_timeout (214)
294             - probably fixed callback-related race (385)
295         * protocol change
296           - Add capability to MDS protocol
297           - LDLM cancellations and callbacks on different portals
298
299 2002-10-28  Andreas Dilger  <adilger@clusterfs.com>
300         * version v0_5_16
301         * bug fixes:
302           - limit client IOV size to PTL_MD_MAX_IOV (611336, 191)
303           - defer open object destruction to close time (601981, 138)
304           - open/close OST file handle in obdo (OBD_MD_FLHANDLE) (601981, 138)
305           - move LDLM_ENQUEUE/CONVERT back to MDS portal (625069)
306           - abstract ll_lookup2, fix ll_revalidate2 to use abstraction (256)
307           - don't call obd_setattr in ll_file_release for destroyed objects
308         * protocol change to lustre_msg: move |version| and add |flags|
309         * protocol change to osc_punch: "start" in "o_size", "end" in "o_blocks"
310         * lock replay: for LDLM_FL_REPLAY trust client to do right thing
311         * added replay of create, unlink, link and rename operations during
312           MDS failover; recovery should be much more robust now
313         * remove failed OSCs from LOVs (only lov_create uses this so far)
314         * the lustre-HOWTO was brought (more) up to date (582544)
315
316 2002-10-23  Phil Schwan  <phil@clusterfs.com>
317         * version v0_5_15
318         * bug fixes:
319           - in-use dentries weren't being reused properly (617851)
320           - prevent multiple LDLM setup (599178)
321           - fix LOV size calculations for truncate (617853)
322           - fix client handling of MDS intent errors (POSIX)
323           - fix permission bug in lovstripe.c test (624321)
324           - fix MDS thread deadlock - move LDLM handler to DLM portal (625069)
325           - truncate past end of file could corrupt data
326           - proper cleanup after timeouts, crashes, etc (592524, 550815)
327           - a race in recovery could return ETIMEDOUT to apps (623947)
328           - building outside the source directory was fixed
329         * the lustre-HOWTO was brought (more) up to date (582544)
330         * major progress was made on recovery functionality
331
332 2002-10-10  Phil Schwan  <phil@clusterfs.com>
333         * version v0_5_14
334         * bug fixes:
335           - recovery deadlock fix
336           - rm -rf causes LBUG fix (617817)
337           - file open by multiple tasks fix (618962)
338           - directory permissions bugs (602707 and 620007)
339           - journal_stop fixed with locking (611313)
340           - O_APPEND failures resolved (618273, perhaps 614459)
341           - lconf PATH fix (619770)
342           - IA64 build fix (621450)
343           - RPC buffer sizes scale with amount of memory
344
345 2002-10-01  Phil Schwan  <phil@clusterfs.com>
346         * version v0_5_13
347         * bug fixes:
348           - locks would be cancelled without throwing away data pages,
349             resulting in inconsistent data (605627)
350           - inode attributes were not always being refreshed (605627, 612449)
351           - lconf now continues to cleanup after lctl reports an error
352           - MDS now enforces user permissions (602707)
353           - lprocfs cleanup fixed, but not yet enabled (614157)
354           - fixed infinite server hang, should a client not respond to an AST
355           - avoid going into recovery if user calls readlink() with a buffer
356             that's too small (613941)
357           - AST RPCs no longer require replies (614867) -- this may be changed
358           - don't crash server if client sends an IOV that's too big (611336)
359           - fixed lock conversion deadlock (611892)
360           - fixed the following of symlinks (614622)
361         * recovery: the server can remove locks from a client that dies, other
362           clients can make progress
363         * more extN patch fixes
364         * compile-time configurable ptlrpc buffer allocations
365         * documentation
366           - collaborative read cache document
367           - Lustre Lite Performance CDR document-in-progress
368
369 2002-09-20  Andreas Dilger  <adilger@clusterfs.com>
370         * version v0_5_12
371         * bug fix
372           - fix typo in patch-2.4.18
373
374 2002-09-20  Andreas Dilger  <adilger@clusterfs.com>
375         * version v0_5_11
376         * bug fixes
377           - clear ptlrpc request each time in handle_incoming_request()
378           - unlink of files now destroys the object on the OST
379
380 2002-09-19  Peter Braam  <braam@clusterfs.com>
381         * version 0_5_10
382         * add hard link support
383         * change obdfile creation method
384         * kernel patch changed
385         
386 2002-09-19  Peter Braam  <braam@clusterfs.com>
387         * version 0_5_9
388         * bug fix
389           - stack overflow bug in extN fixed
390
391 2002-09-18  Andreas Dilger  <adilger@clusterfs.com>
392         * version 0_5_8
393         * documentation updates
394           - add man pages for config tools
395           - update tests/README to describe testing with new config tools
396           - finish metadata API descriptions
397         * bug fixes and cleanups
398           - statfs workaround for 16TB limit
399           - LOV stripe allocation improved, can stripe on subset of OSTs
400           - LOV file size/IO offset was wrong for files > 4GB in size
401           - object EA data was being dropped, caused files to be unreadable
402           - memory overflow with non-LOV OST caused memory corruption
403           - fixed regression tests to work with new config tools, obdfilter
404           - fixed bug when directory size became larger than 1 block
405           - fixed bug (for single client case) when PWD was deleted
406           - invalidate local directory pages when doing intent-based ops
407           - avoid LDLM oops when lock callback contained bad data
408
409 2002-09-09  Andreas Dilger  <adilger@clusterfs.com>
410         * version 0_5_7
411         * documentation updates
412         * bug fixes and cleanups
413           - configuration tools
414           - LOV
415           - imports/exports
416           - 64-bit compile warnings
417           - 64-bit internal statfs data
418           - many more
419         * test_brw on persistent OST devices
420         * MDS recovery
421         * lprocfs (disabled)
422
423 2002-09-04  Andreas Dilger  <adilger@clusterfs.com>
424         * version 0_5_6
425         * documentation updates
426         * bug fixes and cleanups
427         * configuration tools
428
429 2002-08-30  Peter J. Braam  <braam@clusterfs.com>
430
431         * version v0_5_5
432         * many small fixes to 0_5_4
433         * io/network handling
434         * thinkos in MDS operations
435
436 2002-08-24  Peter J. Braam  <braam@clusterfs.com>
437
438         * version v0_5_4
439         * crucial basic fixes to 0.5.3
440         * IOR, Iozone work over Elan
441         * EOF locks added
442
443 2002-08-07  Phil Schwan  <phil@clusterfs.com>
444         * version 0_5_3, our first alpha
445         * we use the new Portals iovs
446         * documentation updates
447         * bug fixes and cleanups
448         * small changes in the DLM wire protocol
449
450 2002-07-25  Peter J. Braam  <braam@clusterfs.com>
451         * version 0_5_1 with some initial stability, 
452         * locking on MD and file I/O. 
453         * documentation updates
454         * several bug fixes since 0.5.0
455         * small changes in wire protocol
456
457 2002-07-18  Phil Schwan  <phil@clusterfs.com>
458         * version v0_4_5
459         * delivered as Lustre Light Alpha
460         * fixed a crash after handling invalid MDS requests
461         * fixed directory pages for architectures with non-4k pages sizes
462
463 2002-07-11  Andreas Dilger  <adilger@clusterfs.com>
464         * release version v0_4_4
465         * Moves TCP acceptor to be on port 2432 (unused Coda port) instead
466           of 1234.
467         * Fixes a number of interruption problems with OST operations.
468         * Update documentation for portals header changes
469         * Move all wire protocol structs/defines to lustre_idl.h
470         * Fixes symlink length bug.
471         * Add tcpdump to repository.
472
473 2002-07-05  Andreas Dilger  <adilger@clusterfs.com>
474         * release version v0_4_3
475         * Fixes statfs for inodes on extN.
476         * Fixes bug in runtests which would delete /etc/hosts.
477         * Use 64-bit object IDs wherever possible (not into VFS though)
478           Remove ost_get_info, which is unused by lustre, and out of date.
479
480 2002-07-03  Peter Braam  <braam@clusterfs.com>
481         * release version v0_4_2   Fixes a lookup error (type not passed)
482         * move forward to head of Portals
483         * move forward to latest Lustre kernel
484
485 2002-06-25  Peter Braam  <braam@clusterfs.com>
486         * release version v0_4_1.  Hopefully stable on single node use.