Bug 761878 (GLUSTER-146)

Summary: Add setattr FOP
Product: [Community] GlusterFS Reporter: Vikas Gorur <vikas>
Component: coreAssignee: Basavanagowda Kanur <gowda>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 2.0.3CC: gluster-bugs, pavan, vinayak
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: RTNR Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 761879    
Bug Blocks: 761875    

Description Vikas Gorur 2009-07-16 09:09:37 UTC
A new FOP, setattr, is to be added that encompasses the current chown, chmod, and utimes calls.

Comment 1 Anand Avati 2009-10-01 11:22:45 UTC
PATCH: http://patches.gluster.com/patch/1604 in master (Global: Introduce setattr and fsetattr fops)

Comment 2 Anand Avati 2009-10-01 11:23:56 UTC
PATCH: http://patches.gluster.com/patch/1623 in master (libglusterfsclient: Support setattr fop)

Comment 3 Anand Avati 2009-10-01 11:24:00 UTC
PATCH: http://patches.gluster.com/patch/1624 in master (libglusterfsclient: Use setattr for chmod)

Comment 4 Anand Avati 2009-10-01 11:24:04 UTC
PATCH: http://patches.gluster.com/patch/1625 in master (libglusterfsclient: Use setattr for chown)

Comment 5 Anand Avati 2009-10-01 11:24:07 UTC
PATCH: http://patches.gluster.com/patch/1626 in master (libglusterfsclient: Use setattr for utimes)

Comment 6 Anand Avati 2009-10-01 11:24:11 UTC
PATCH: http://patches.gluster.com/patch/1627 in master (libglusterfsclient: Use setattr for utime)

Comment 7 Anand Avati 2009-10-01 11:24:15 UTC
PATCH: http://patches.gluster.com/patch/1628 in master (libglusterfsclient: Remove redundant utimens code)

Comment 8 Anand Avati 2009-10-01 11:24:18 UTC
PATCH: http://patches.gluster.com/patch/1629 in master (libglusterfsclient: Remove redundant chmod code)

Comment 9 Anand Avati 2009-10-01 11:24:22 UTC
PATCH: http://patches.gluster.com/patch/1630 in master (libglusterfsclient: Remove redundant chown code)

Comment 10 Anand Avati 2009-10-01 11:24:25 UTC
PATCH: http://patches.gluster.com/patch/1631 in master (libglusterfsclient: Support fsetattr fop)

Comment 11 Anand Avati 2009-10-01 11:24:29 UTC
PATCH: http://patches.gluster.com/patch/1632 in master (libglusterfsclient: Use fsetattr for fchmod)

Comment 12 Anand Avati 2009-10-01 11:24:33 UTC
PATCH: http://patches.gluster.com/patch/1633 in master (libglusterfsclient: Use fsetattr for fchown)

Comment 13 Anand Avati 2009-10-01 11:24:36 UTC
PATCH: http://patches.gluster.com/patch/1634 in master (libglusterfsclient: Remove redundant fchown and fchmod)

Comment 14 Pavan Vilas Sondur 2009-10-05 11:40:08 UTC
http://pastebin.com/m5837bdca

Comment 15 Anand Avati 2009-10-06 11:22:19 UTC
PATCH: http://patches.gluster.com/patch/1677 in master (Removed remaining references to chmod, chown and utimens as part of setattr changes.)

Comment 16 Vikas Gorur 2009-10-07 09:14:15 UTC
*** Bug 303 has been marked as a duplicate of this bug. ***

Comment 17 Anand Avati 2009-10-07 11:22:12 UTC
PATCH: http://patches.gluster.com/patch/1754 in master (mount/fuse: Handle FATTR_MODE flag properly.)

Comment 18 Anand Avati 2009-10-23 11:40:37 UTC
PATCH: http://patches.gluster.com/patch/1990 in master (mount/fuse: Don't use fsi if it is already cleaned up)

Comment 19 Anand Avati 2009-10-27 07:32:39 UTC
PATCH: http://patches.gluster.com/patch/2009 in master (cluster/afr: Remove struct's for [f]chown, [f]chmod, utimens from afr_local_t.)

Comment 20 Anand Avati 2009-10-28 05:46:38 UTC
PATCH: http://patches.gluster.com/patch/2021 in master (mount/fuse: Derive fd from the file handle for setattr)

Comment 21 Anand Avati 2009-10-28 10:40:35 UTC
PATCH: http://patches.gluster.com/patch/2036 in master (fuse: use postbuf in truncate_cbk for attributes to return)

Comment 22 Anand Avati 2009-10-29 03:42:16 UTC
PATCH: http://patches.gluster.com/patch/2052 in master (posix: posix_[f]setattr() handle valid=0 case by performing {f, l}chown (-1, -1))

Comment 23 Anand Avati 2009-12-02 15:29:36 UTC
PATCH: http://patches.gluster.com/patch/2497 in master (cluster/afr: Add log messages when setattr fails in self-heal.)

Comment 24 Anand Avati 2009-12-04 10:26:33 UTC
PATCH: http://patches.gluster.com/patch/2552 in master (mount/fuse: Refactored fuse_setattr.)