Bug 762047 (GLUSTER-315) - generation number support
Summary: generation number support
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-315
Product: GlusterFS
Classification: Community
Component: core
Version: mainline
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Anand Avati
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-14 10:43 UTC by Anand Avati
Modified: 2015-09-01 23:04 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: RTNR
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description Anand Avati 2009-10-14 10:43:47 UTC
Enhancements for -

1. generation number support
2. fuse to use address of inode_t as nodeid instead of inode number
3. dependent changes in all xlators and other components

Comment 1 Anand Avati 2009-10-16 10:22:06 UTC
PATCH: http://patches.gluster.com/patch/1928 in master (NULL checks on local->loc.parent)

Comment 2 Anand Avati 2009-10-16 10:22:09 UTC
PATCH: http://patches.gluster.com/patch/1931 in master (fix double initialization of dht_local_t)

Comment 3 Anand Avati 2009-10-16 10:22:13 UTC
PATCH: http://patches.gluster.com/patch/1929 in master (distribute,nufa: layout handling changes)

Comment 4 Anand Avati 2009-10-16 10:22:17 UTC
PATCH: http://patches.gluster.com/patch/1930 in master (distribute - more NULL check)

Comment 5 Anand Avati 2009-10-16 10:22:20 UTC
PATCH: http://patches.gluster.com/patch/1932 in master (posix - use lchown and lchmod in setattr)

Comment 6 Anand Avati 2009-10-16 10:22:24 UTC
PATCH: http://patches.gluster.com/patch/1933 in master (posix - generation number support)

Comment 7 Anand Avati 2009-10-16 11:42:05 UTC
PATCH: http://patches.gluster.com/patch/1934 in master (posix: posix_{f, l}stat_with_gen to return 0 on success (instead of >= 0))

Comment 8 Anand Avati 2009-10-16 12:04:34 UTC
PATCH: http://patches.gluster.com/patch/1937 in master (locks: keep ref on the inode while locks are held)

Comment 9 Anand Avati 2009-10-16 12:04:38 UTC
PATCH: http://patches.gluster.com/patch/1938 in master (indentation fixes to conform to coding standards in locks)

Comment 10 Anand Avati 2009-10-18 12:37:16 UTC
PATCH: http://patches.gluster.com/patch/1943 in master (storage/posix: Set right the op_ret value from posix_readlink())

Comment 11 Anand Avati 2009-10-18 16:15:41 UTC
PATCH: http://patches.gluster.com/patch/1945 in master (inode: fix indentation and spacings)

Comment 12 Anand Avati 2009-10-18 16:15:45 UTC
PATCH: http://patches.gluster.com/patch/1946 in master (inode: API changes for generation number support)

Comment 13 Anand Avati 2009-10-18 16:15:49 UTC
PATCH: http://patches.gluster.com/patch/1947 in master (fuse: use inode_t address as nodeid and use new inode API)

Comment 14 Anand Avati 2009-10-18 16:39:16 UTC
PATCH: http://patches.gluster.com/patch/1948 in master (inode_ctx_{get,put,del}2 API support)

Comment 15 Anand Avati 2009-10-18 17:39:35 UTC
PATCH: http://patches.gluster.com/patch/1949 in master (protocol: format changes to incorporate generation numbers)

Comment 16 Anand Avati 2009-10-18 17:39:39 UTC
PATCH: http://patches.gluster.com/patch/1950 in master (protocol/client: incoroporate generation numbers)

Comment 17 Vikas Gorur 2009-10-20 04:02:21 UTC
http://patches.gluster.com/patch/1933

The above patch throws a warning on my 32-bit system.

xlators/storage/posix/src/posix.c:4850: warning: left shift count >= width of type

The relevant line of code is:

  _private->gen_seq = (time (NULL) << 32);

time(2) returns a time_t, which on my system is a 32-bit value.

Comment 18 Anand Avati 2009-10-20 14:34:13 UTC
PATCH: http://patches.gluster.com/patch/1963 in master (inode: fix internal refs and minor fixes)

Comment 19 Anand Avati 2009-10-20 14:34:17 UTC
PATCH: http://patches.gluster.com/patch/1965 in master (protocol/server: generation number and dentry resolution)

Comment 20 Anand Avati 2009-10-23 07:26:21 UTC
PATCH: http://patches.gluster.com/patch/1975 in master (inode.c: whitespace fixes)

Comment 21 Anand Avati 2009-10-23 07:26:25 UTC
PATCH: http://patches.gluster.com/patch/1976 in master (fuse-bridge: send fresh lookup on failed revalidate to return new nodeid)

Comment 22 Anand Avati 2009-10-23 11:03:18 UTC
PATCH: http://patches.gluster.com/patch/1987 in master (whitespace fixes)

Comment 23 Anand Avati 2009-10-23 11:03:22 UTC
PATCH: http://patches.gluster.com/patch/1988 in master (protocol/server: send fresh lookups on revalidate failures)

Comment 24 Anand Avati 2009-10-23 11:03:26 UTC
PATCH: http://patches.gluster.com/patch/1989 in master (protocol/server: deep resolution support)

Comment 25 Anand Avati 2009-10-26 11:09:19 UTC
PATCH: http://patches.gluster.com/patch/2006 in master (protocol/server: fix assignment of inode number in server_readlink)

Comment 26 Anand Avati 2009-10-26 11:09:23 UTC
PATCH: http://patches.gluster.com/patch/2007 in master (protocol/server: touchup loc only if inode/entry resolution was successful)

Comment 27 Anand Avati 2009-10-26 11:09:27 UTC
PATCH: http://patches.gluster.com/patch/2005 in master (storage/posix: Ensure time(2) is stored in a 64-bit variable.)

Comment 28 Anand Avati 2009-10-28 05:46:34 UTC
PATCH: http://patches.gluster.com/patch/2031 in master (protocol/server: resolver fixes)

Comment 29 Anand Avati 2009-10-30 01:47:42 UTC
PATCH: http://patches.gluster.com/patch/2071 in master (protocol/server: fix leak of xattrop dictionary)

Comment 30 Anand Avati 2009-10-30 01:47:46 UTC
PATCH: http://patches.gluster.com/patch/2072 in master (call-stub: fix leak of fxattrop dictionary)

Comment 31 Anand Avati 2009-10-30 07:37:34 UTC
PATCH: http://patches.gluster.com/patch/2078 in master (glusterfsd: whitespace cleanup)

Comment 32 Anand Avati 2009-10-30 07:37:38 UTC
PATCH: http://patches.gluster.com/patch/2079 in master (iobuf: initialize size without 4KB padding)

Comment 33 Anand Avati 2009-11-02 02:54:06 UTC
PATCH: http://patches.gluster.com/patch/2101 in release-2.0 (call-stub: fix leak of fxattrop dictionary)

Comment 34 Anand Avati 2009-11-12 04:18:33 UTC
PATCH: http://patches.gluster.com/patch/2142 in master (core: Replace inode_search with inode_grep in inode_from_path)

Comment 35 Anand Avati 2009-11-25 11:03:46 UTC
PATCH: http://patches.gluster.com/patch/2360 in master (protocol/client: Make log message print both generation number and inode number.)

Comment 36 Anand Avati 2009-11-26 07:48:58 UTC
PATCH: http://patches.gluster.com/patch/2380 in master (protocol/server: Changed logging level of message on deep resolution)

Comment 37 Anand Avati 2009-11-26 14:06:34 UTC
PATCH: http://patches.gluster.com/patch/2394 in master (protocol/server: Get all fops to use the new 'resolve_and_resume' path in server/protocol.)

Comment 38 Anand Avati 2009-11-26 14:06:38 UTC
PATCH: http://patches.gluster.com/patch/2395 in master (protocol/server: Introduce option trace to log requests and replies in normal log.)

Comment 39 Anand Avati 2009-11-26 14:06:42 UTC
PATCH: http://patches.gluster.com/patch/2393 in master (THIS: transport to use xlator_notify() for proper setting of @THIS)

Comment 40 Anand Avati 2009-11-29 02:30:09 UTC
PATCH: http://patches.gluster.com/patch/2407 in master (protocol/server: fix improper validation of fd in server_rchecksum)

Comment 41 Anand Avati 2009-11-29 10:33:05 UTC
PATCH: http://patches.gluster.com/patch/2415 in master (protocol/server: enhance trace logging)

Comment 42 Anand Avati 2009-11-30 07:53:48 UTC
PATCH: http://patches.gluster.com/patch/2440 in master (cluster/afr: Preserve generation number along with inode in lookup and creation fops.)

Comment 43 Anand Avati 2009-12-03 07:00:38 UTC
PATCH: http://patches.gluster.com/patch/2499 in master (storage/posix: Filter out generation number xattr.)

Comment 44 Anand Avati 2009-12-03 18:54:53 UTC
PATCH: http://patches.gluster.com/patch/2539 in master (storage/posix: Fix Leak in posix_getxattr while filtering gen-number xattr.)

Comment 45 Anand Avati 2009-12-04 10:57:44 UTC
PATCH: http://patches.gluster.com/patch/2553 in master (protocol/client: return ENOENT if inode context is missing)

Comment 46 Anand Avati 2009-12-06 16:44:51 UTC
PATCH: http://patches.gluster.com/patch/2591 in master (resolver: handle resolutions of paths)

Comment 47 Anand Avati 2009-12-07 10:31:43 UTC
PATCH: http://patches.gluster.com/patch/2601 in master (resolver: include RESOLVE_EXACT type for failure case when inode not found)

Comment 48 Anand Avati 2009-12-28 07:27:16 UTC
PATCH: http://patches.gluster.com/patch/2634 in master (protocol/client: Fail revalidate with ESTALE.)

Comment 49 Anand Avati 2009-12-28 08:08:50 UTC
PATCH: http://patches.gluster.com/patch/2634 in master (protocol/client: Fail revalidate with ESTALE.)


Note You need to log in before you can comment on or make changes to this bug.