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