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