Bug 772606 - marker: 'marker_inode_loc_fill()' failure need not be an error case always
Summary: marker: 'marker_inode_loc_fill()' failure need not be an error case always
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: GlusterFS
Classification: Community
Component: quota
Version: mainline
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
Assignee: Junaid
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-09 12:12 UTC by Amar Tumballi
Modified: 2015-12-01 16:45 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-18 10:13:20 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description Amar Tumballi 2012-01-09 12:12:25 UTC
Description of problem:
in some of the fd based operations (like ftruncate(),fsetxattr() etc), 'marker_inode_loc_fill()' is called in maker.c, which may fail in case the entry is unlink()'d already, thus actually failing the FOP, which otherwise passes successfully.

Version-Release number of selected component (if applicable):
master

How reproducible:
have a .c code which does these operations in order, "fd=open(file), unlink(file), ftruncate(fd,0)", without quota enabled, it passes fine, where as with quota it fails.

Steps to Reproduce:
1.as explained above
  
Actual results: with quota ftruncate fails with ENOMEM

Expected results: with or without quota ftruncate() should pass through

Comment 1 Junaid 2012-04-18 10:13:20 UTC
Not reproducible now, closing as works for me. Let us reopen it if seen again.


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