Bug 763129 (GLUSTER-1397)
| Summary: | Cached dir fd_ts are a leakin' | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Shehjar Tikoo <shehjart> |
| Component: | nfs | Assignee: | Shehjar Tikoo <shehjart> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | low | ||
| Version: | 3.1-alpha | CC: | amarts, gluster-bugs, krishna |
| 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: | RTP | Mount Type: | nfs |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Shehjar Tikoo
2010-08-19 07:09:49 UTC
PATCH: http://patches.gluster.com/patch/4204 in master (protocol/client: fix ESTALE in statfs on root inode) (In reply to comment #1) > PATCH: http://patches.gluster.com/patch/4204 in master (protocol/client: fix > ESTALE in statfs on root inode) Sorry about the confusion.. this patch should have been for bug 763130.. This bug is not yet fixed. The leaks are also present in hard fh resolution code where directory opens and reading is performed. PATCH: http://patches.gluster.com/patch/4416 in master (nfs3: Dont ref cached fd after fd_lookup) PATCH: http://patches.gluster.com/patch/4417 in master (nfs3: Dont ref dir fd_t used in hard fh resolution) PATCH: http://patches.gluster.com/patch/4418 in master (nfs3: Unref dir fd once usage ends in hard fh resolution) Regression Test: 1. Start nfs export as: posix->proto/server->proto/client->nfs/server in the same volume file. 2. A the client, mount as: mount <server>:/posix -o soft,intr,actimeo=3600 /mnt 3. Run the following command: $ mkdir -p /mnt//2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/ 4. Restart the nfs server, without remounting at the client. 5. At the nfs client: $ touch /mnt//2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19 6. Now at the nfs server: $ kill -USR1 <pif of gnfs> 7. Inspect the glusterfsdump file. Ensure there are no more than one open file descriptors. If there are, there is a regression. |