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