Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 872404 Details for
Bug 1074023
list dir with more than N files results in Input/output error
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
systemtap script for debugging readdir returning -EIO
bug-1074023.stp (text/plain), 1.86 KB, created by
Niels de Vos
on 2014-03-09 12:38:30 UTC
(
hide
)
Description:
systemtap script for debugging readdir returning -EIO
Filename:
MIME Type:
Creator:
Niels de Vos
Created:
2014-03-09 12:38:30 UTC
Size:
1.86 KB
patch
obsolete
>#!/usr/bin/stap ># ># Debugging Bug 1074023: https://bugzilla.redhat.com/1074023 ># list dir with more than N files results in Input/output error ># ># Environment: ># - 32-bit glusterfs server ># - 64-bit glusterfs client, running 2.6.32-358.el6.x86_64 ># ># Reproducing: ># 1. install a Fedora 20 i386 Gluster server (hostname vm130-12) ># 2. create and start a volume with one brick ># 3. install a RHEL-6 x86_64 Gluster client (hostname vm130-11) ># 4. mount the volume on the client over NFS ># # mount -t nfs vm130-12:/bug-1074023 /mnt/nfs ># 5. populate the volume with some files ># # for I in {0..50} ; do touch /mnt/nfs/$(uuidgen) ; done ># 6. mount the volume over glusterfs ># # mount -t glusterfs vm130-12:/bug-1074023 /mnt/glusterfs ># 7. check for the contents over the glusterfs mountpoint ># # ls /mnt/glusterfs ># ls: reading directory /mnt/glusterfs: Input/output error ># ># Input/output error = EIO = 5 ># Invalid argument = EINVAL = 22 ># ># Date: Saturday 8 March 2014 ># Author: Niels de Vos <ndevos@redhat.com> ># > >probe module("fuse").function("*").return { > if (@defined($return) && ($return == 5 || $return == -5)) { > printf("%s returns %d, stack follows:\n", probefunc(), $return); > print_backtrace(); > } >} > >probe module("fuse").function("fuse_dev_write").return { > if ($return <= 0) > printf("fuse_dev_write returns %d\n", $return); >} > >probe module("fuse").statement("fuse_readdir@fs/fuse/dir.c:1231") { > printf("fuse_readdir:1231: err=%d\n", $err); >} > >probe process("/usr/lib64/glusterfs/3.4.0.59rhs/xlator/mount/fuse.so").function("send_fuse_data") { > printf("send_fuse_data: size = %ld\n", $size); >} > >probe process("/usr/lib64/glusterfs/3.4.0.59rhs/xlator/mount/fuse.so").function("send_fuse_data").return { > printf("send_fuse_data returns %d\n", $return); >} > >probe begin { > printf("Starting probe, press CTRL+C to exit...\n"); >} > >probe end { > printf("...exiting!\n"); >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1074023
: 872404 |
872408
|
878702