Bug 761980 (GLUSTER-248) - Updating stats in posix is incorrect
Summary: Updating stats in posix is incorrect
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-248
Product: GlusterFS
Classification: Community
Component: posix
Version: mainline
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Vikas Gorur
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-09-07 12:47 UTC by Vijay Bellur
Modified: 2009-11-26 06:05 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

Description Vijay Bellur 2009-09-07 12:47:21 UTC
In POSIX, updating nr_files is not being done right. It is being incremented even before checking return values from open() and close(). This needs to be corrected.

Comment 1 Anand Avati 2009-09-22 10:12:58 UTC
PATCH: http://patches.gluster.com/patch/1412 in master (storage/posix: Update nr_files after system call succeeds.)


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