Skip to content

psc_assert(!(e->bmpce_flags & BMPCE_DATARDY)) with archive file system #401

@slovichon

Description

@slovichon

On 2014-12-03 16:14:15 -0500, Zhihui Zhang wrote:

with iozone and svn checkout, I got:

(gdb)
# 5  0x000000000050a177 in msl_read_rpc_launch (r=0xcad010, bmpces=0x7fff30ff8180, startpage=0, npages=4) at /home/zhihui/projects-lime/slash_nara/mount_slash/io.c:1301
1301                    psc_assert(!(e->bmpce_flags & BMPCE_DATARDY));
(gdb) bt
# 0  0x00007ffff641a5c9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
# 1  0x00007ffff641bcd8 in __GI_abort () at abort.c:90
# 2  0x000000000065933a in pfl_abort () at /home/zhihui/projects-lime/pfl/init.c:96
# 3  0x0000000000673617 in _psclogv (pci=0x7fff0c000950, level=0, options=0, fmt=0x6b7a1a "[assert] %s", ap=0x7fff30ff7c58) at /home/zhihui/projects-lime/pfl/log.c:413
# 4  0x00000000006737ad in _psc_fatal (pci=0x7fff0c000950, level=0, options=0, fmt=0x6b7a1a "[assert] %s") at /home/zhihui/projects-lime/pfl/log.c:446
# 5  0x000000000050a177 in msl_read_rpc_launch (r=0xcad010, bmpces=0x7fff30ff8180, startpage=0, npages=4) at /home/zhihui/projects-lime/slash_nara/mount_slash/io.c:1301
# 6  0x000000000050fd93 in msl_launch_read_rpcs (r=0xcad010) at /home/zhihui/projects-lime/slash_nara/mount_slash/io.c:1454
# 7  0x00000000005101a1 in msl_pages_fetch (r=0xcad010) at /home/zhihui/projects-lime/slash_nara/mount_slash/io.c:1496
# 8  0x000000000051f6fe in msl_io (pfr=0xf86f40, mfh=0xcd1a30, buf=0x7fff0c004030 "", size=131072, off=72482816, rw=SL_READ) at /home/zhihui/projects-lime/slash_nara/mount_slash/io.c:2057
# 9  0x000000000057b24f in mslfsop_read (pfr=0xf86f40, size=131072, off=72482816, data=0xcd1a30) at /home/zhihui/projects-lime/slash_nara/mount_slash/main.c:2973
# 10 0x00000000004c579f in pscfs_fuse_handle_read (req=0x7fff0c000970, inum=327636872893779172, size=131072, off=72482816, fi=0x7fff30ff8aa0) at /home/zhihui/projects-lime/pfl/fuse.c:933
# 11 0x00007ffff78b431e in do_read (req=<optimized out>, nodeid=<optimized out>, inarg=<optimized out>) at fuse_lowlevel.c:1249
# 12 0x00007ffff78b4b86 in fuse_ll_process_buf (data=0x919ae0, buf=buf@entry=0x7fff30ff8c40, ch=<optimized out>) at fuse_lowlevel.c:2458
# 13 0x00007ffff78b4f76 in fuse_ll_process (data=<optimized out>, buf=<optimized out>, len=<optimized out>, ch=<optimized out>) at fuse_lowlevel.c:2480
# 14 0x00000000004bd0db in pscfs_fuse_listener_loop (arg=0x0) at /home/zhihui/projects-lime/pfl/fuse.c:364
# 15 0x00007ffff67addf3 in start_thread (arg=0x7fff30ff9700) at pthread_create.c:308
# 16 0x00007ffff64db01d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
(gdb) 

bash-4.2# svn info
Path: .
Working Copy Root Path: /home/zhihui/projects-lime
URL: svn+ssh://frodo/cluster/svn/projects
Repository Root: svn+ssh://frodo/cluster/svn
Repository UUID: 3eda493b-6a19-0410-b2e0-ec8ea4dd8fda
Revision: 24884
Node Kind: directory
Schedule: normal
Last Changed Author: zhihui
Last Changed Rev: 24884
Last Changed Date: 2014-12-03 15:06:22 -0500 (Wed, 03 Dec 2014)

bash-4.2#

On 2014-12-03 16:14:59 -0500, Zhihui Zhang wrote:

(gdb) p *e
$2 = {bmpce_rc = 0, bmpce_ref = {value32 = 1}, bmpce_flags = 3, bmpce_off = 72482816, bmpce_start = 72482816, bmpce_len = 0, bmpce_lock = {psl_value = {value32 = 3}, psl_flags = 0, psl_owner_lineno = 1299, 
    psl_owner_file = 0x6b7e40 "/home/zhihui/projects-lime/slash_nara/mount_slash/io.c", psl_owner = 140734015444736}, bmpce_base = 0x18fc000, bmpce_waitq = 0x9bd4f0, bmpce_laccess = {tv_sec = 0, tv_nsec = 0}, 
  bmpce_pndgaios = {pll_listhd = {plh_next = 0xb60af0, plh_prev = 0xb60af0, plh_magic = 1311693406324658740, plh_owner = 0xb60af0}, pll_nitems = 0, pll_flags = 1, pll_offset = 136, pll_u = {pllu_lock = {
        psl_value = {value32 = 11930296}, psl_flags = 0, psl_owner_lineno = 0, psl_owner_file = 0x0, psl_owner = 0}, pllu_lockp = 0xb60ab8}}, bmpce_tentry = {spe_left = 0xb605c0, spe_right = 0x0}, 
  bmpce_lentry = {plh_next = 0x0, plh_prev = 0x0, plh_magic = 1311693406324658740, plh_owner = 0x0}}
(gdb) p *r
$3 = {biorq_buf = 0x7fff0c004030 "", biorq_ref = 1, biorq_off = 72482816, biorq_len = 131072, biorq_flags = 1, biorq_retries = 0, biorq_last_sliod = 4294967295, biorq_lock = {psl_value = {value32 = 2}, 
    psl_flags = 0, psl_owner_lineno = 0, psl_owner_file = 0x0, psl_owner = 0}, biorq_expire = {tv_sec = 1417640448, tv_nsec = 149828631}, biorq_npages = 4, biorq_pages = {pda_flags = 0, pda_pos = 4, 
    pda_nalloc = 6, pda_items = 0x7fff0c000e50}, biorq_lentry = {plh_next = 0xc53150, plh_prev = 0xc53150, plh_magic = 1311693406324658740, plh_owner = 0xc53150}, biorq_png_lentry = {plh_next = 0x0, 
    plh_prev = 0x0, plh_magic = 1311693406324658740, plh_owner = 0x0}, biorq_tentry = {spe_left = 0x0, spe_right = 0x0}, biorq_bmap = 0xc53010, biorq_fsrqi = 0xf86f98}
(gdb)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions