{"action":"opened","issue":{"url":"https://api.github.com/repos/pscedu/slash2/issues/95","labels_url":"https://api.github.com/repos/pscedu/slash2/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/pscedu/slash2/issues/95/comments","events_url":"https://api.github.com/repos/pscedu/slash2/issues/95/events","html_url":"https://github.com/pscedu/slash2/issues/95","id":89846770,"number":95,"title":"MDS: assertion when handling dio related activity","user":{"login":"slovichon","id":6945653,"avatar_url":"https://avatars.githubusercontent.com/u/6945653?v=3","gravatar_id":"","url":"https://api.github.com/users/slovichon","html_url":"https://github.com/slovichon","followers_url":"https://api.github.com/users/slovichon/followers","following_url":"https://api.github.com/users/slovichon/following{/other_user}","gists_url":"https://api.github.com/users/slovichon/gists{/gist_id}","starred_url":"https://api.github.com/users/slovichon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slovichon/subscriptions","organizations_url":"https://api.github.com/users/slovichon/orgs","repos_url":"https://api.github.com/users/slovichon/repos","events_url":"https://api.github.com/users/slovichon/events{/privacy}","received_events_url":"https://api.github.com/users/slovichon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pscedu/slash2/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-21T01:45:23Z","updated_at":"2015-06-21T01:45:23Z","closed_at":null,"body":"\nOn 2011-01-12 16:31:02 -0500, Paul Nowoczynski wrote:\n\n> [1294867097:859853 slmrmcthr01:6507:def mds_bmap_directio 233] [assert] bml->bml_flags & BML_WRITE\n> \n> # 0  0x0000003a19c328f5 in raise (sig=6)\n>     at ../nptl/sysdeps/unix/sysv/linux/raise.c:64\n> # 1  0x0000003a19c340d5 in abort () at abort.c:92\n> # 2  0x000000000049a89b in _psclogv (pci=0x7fff0c000b40, level=PLL_FATAL,\n>     options=0, fmt=0x66ee9a \"[assert] %s\", ap=0x7ffea0cc6320)\n>     at /home/pauln/Code/fc13/projects/psc_fsutil_libs/psc_util/log.c:277\n> # 3  0x000000000049aa76 in _psc_fatal (pci=0x7fff0c000b40, level=PLL_FATAL,\n>     options=0, fmt=0x66ee9a \"[assert] %s\")\n>     at /home/pauln/Code/fc13/projects/psc_fsutil_libs/psc_util/log.c:305\n> # 4  0x00000000004a1b79 in mds_bmap_directio (b=0x7fff70034fe0, rw=SL_READ,\n>     np=0x7fff0006f670)\n>     at /home/pauln/Code/fc13/projects/slash_nara/slashd/mds.c:233\n> # 5  0x00000000004a8df3 in mds_bmap_bml_add (bml=0x7fff0006f660, rw=SL_READ,\n>     prefios=131073)\n>     at /home/pauln/Code/fc13/projects/slash_nara/slashd/mds.c:688\n> # 6  0x00000000004b7918 in mds_bmap_load_cli (f=0xb7d5d0, bmapno=0, flags=0,\n>     rw=SL_READ, prefios=131073, sbd=0x7fff0c05ef00, exp=0x7fff40031080,\n>     bmap=0x7ffea0cc67d0)\n>     at /home/pauln/Code/fc13/projects/slash_nara/slashd/mds.c:1583\n> # 7  0x000000000051c318 in slm_rmc_handle_getbmap (rq=0x1af4490)\n>     at /home/pauln/Code/fc13/projects/slash_nara/slashd/rmc.c:247\n> # 8  0x00000000005283a2 in slm_rmc_handler (rq=0x1af4490)\n>     at # 9  0x000000000056020e in pscrpc_server_handle_request (svc=0x1ab5210,\n>     thread=0x7fff0c006790)\n>     at /home/pauln/Code/fc13/projects/psc_fsutil_libs/psc_rpc/service.c:390\n> # 10 0x0000000000564adb in pscrpcthr_main (thr=0x7fff0c006790)\n>     at /home/pauln/Code/fc13/projects/psc_fsutil_libs/psc_rpc/service.c:759\n> # 11 0x000000000056eaf6 in _pscthr_begin (arg=0x7fffffffe1f0)\n>     at /home/pauln/Code/fc13/projects/psc_fsutil_libs/psc_util/thread.c:328\n> # 12 0x0000003a1a007761 in start_thread (arg=0x7ffea0cc7700)\n>     at pthread_create.c:301\n> # 13 0x0000003a19ce098d in clone ()\n>     at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115\n> (gdb)\n> /home/pauln/Code/fc13/projects/slash_nara/slashd/rmc.c:1085\n> \n> (gdb) p *bml\n> $1 = {bml_seq = 4296359854, bml_ion_nid = 0, bml_cli_nidpid = {\n>     nid = 562995062530844, pid = 2147495250}, bml_flags = 225, bml_lock = {\n>     psl_value = {value32 = 2}, psl_flags = 0, psl_who = 0}, bml_start = 0, \n>   bml_bmdsi = 0x7fff700350d0, bml_exp = 0x7fff40031080, bml_bmdsi_lentry = {\n>     plh_next = 0x7fff700354e8, plh_prev = 0x7fff700354e8, \n>     plh_magic = 1311693406324658740, plh_owner = 0x7fff700354e8}, \n>   bml_timeo_lentry = {plh_next = 0x7fff940d9e80, plh_prev = 0x7fff800a5690, \n>     plh_magic = 1311693406324658740, plh_owner = 0x1834788}, bml_exp_lentry = {\n>     plh_next = 0x7fff940d9ea0, plh_prev = 0x7fff800a56b0, \n>     plh_magic = 1311693406324658740, plh_owner = 0x7fff40102308}, \n>   bml_coh_lentry = {plh_next = 0x0, plh_prev = 0x0, \n>     plh_magic = 1311693406324658740, plh_owner = 0x0}, \n>   bml_chain = 0x7fff200efac0}\n> (gdb) p /t 225\n> $2 = 11100001\n> (gdb) \n> \n> The bml is set to BML_READ\n\nOn 2014-05-07 15:58:41 -0400, Jared Yanovich wrote:\n\n> No info about how to reproduce, massive code changes, and have not seen this crash in any workload we have.\n\n"}}