Bug 1759829
| Summary: | write-behind xlator generate coredump,when run "glfs_vol_set_IO_ERR.t" | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Rongjunfei <rongjunfei> |
| Component: | write-behind | Assignee: | bugs <bugs> |
| Status: | CLOSED UPSTREAM | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6 | CC: | bugs, pasik |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-03-12 12:15:53 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Rongjunfei
2019-10-09 08:38:33 UTC
1.write-behind.c
wb_inode_destroy
{
......
GF_ASSERT(list_empty(&wb_inode->todo));
......
}
2.glfs_vol_set_IO_ERR.c
write_something(glfs_t *fs);
{
......
glfs_write(fd, buf, WRITE_SIZE, 0);
......
}
this function will left some write requests in write-behind
than "glfs_fini" will call "wb_inode_destroy"
so generate coredump
This bug is moved to https://github.com/gluster/glusterfs/issues/854, and will be tracked there from now on. Visit GitHub issues URL for further details |