[Bugs] [Bug 1226140] New: Implement MKNOD fop in bit-rot.
bugzilla at redhat.com
bugzilla at redhat.com
Fri May 29 05:24:54 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1226140
Bug ID: 1226140
Summary: Implement MKNOD fop in bit-rot.
Product: Red Hat Gluster Storage
Version: 3.1
Component: glusterfs
Sub Component: bitrot
Severity: high
Assignee: rhs-bugs at redhat.com
Reporter: nsathyan at redhat.com
QA Contact: rmekala at redhat.com
CC: bugs at gluster.org, kdhananj at redhat.com,
rabhat at redhat.com, vshankar at redhat.com
Depends On: 1221914, 1226139
Blocks: 1219955 (glusterfs-3.7.1)
+++ This bug was initially created as a clone of Bug #1226139 +++
+++ This bug was initially created as a clone of Bug #1221914 +++
Description of problem:
Shard xlator creates new shards using MKNOD fop during inode writes. But bitrot
does not have mknod implemented. Writevs on new shards is failing in bitrot
with EINVAL, with the following message appearing in the brick logs:
[2015-05-15 07:49:20.836176] E [bit-rot-stub.c:989:br_stub_writev]
0-dis-bitrot-stub: failed to get the inode context for the inode
c007285e-c448-455a-a9b5-6c1ca011c3e0
Turns out inode ctx for a file is set by bitrot xlator in create callback
(alone). And it is read in br_stub_writev(). Due to the absence of a
br_stub_mknod() fop through which shards are created, a subsequent writes on
these shards leads to inode_ctx_get() failure leading to bit-rot xlator
unwinding the fop with EINVAL.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
--- Additional comment from Anand Avati on 2015-05-15 08:45:05 EDT ---
REVIEW: http://review.gluster.org/10790 (features/bit-rot-stub: implement mknod
fop) posted (#2) for review on master by Raghavendra Bhat
(raghavendra at redhat.com)
--- Additional comment from Anand Avati on 2015-05-28 05:57:07 EDT ---
REVIEW: http://review.gluster.org/10790 (features/bit-rot-stub: implement mknod
fop) posted (#3) for review on master by Venky Shankar (vshankar at redhat.com)
--- Additional comment from Anand Avati on 2015-05-29 00:56:00 EDT ---
REVIEW: http://review.gluster.org/10790 (features/bit-rot-stub: implement mknod
fop) posted (#5) for review on master by Venky Shankar (vshankar at redhat.com)
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1219955
[Bug 1219955] GlusterFS 3.7.1 tracker
https://bugzilla.redhat.com/show_bug.cgi?id=1221914
[Bug 1221914] Implement MKNOD fop in bit-rot.
https://bugzilla.redhat.com/show_bug.cgi?id=1226139
[Bug 1226139] Implement MKNOD fop in bit-rot.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=Ag69lrekwq&a=cc_unsubscribe
More information about the Bugs
mailing list