{"push_id":780610777,"size":2,"distinct_size":1,"ref":"refs/heads/zfs-debugmsgs","head":"a613c9fdc602ed61322b88b4c390a32201741650","before":"f4895b70fad7e43c5509bb04dec3cd311a9e7867","commits":[{"sha":"0282c4137e7409e6d85289f4955adf07fac834f5","author":{"email":"32d50ad1e384dcb9a5bf7e40fa470df5dabaf348@llnl.gov","name":"Brian Behlendorf"},"message":"Add temporary mount options\n\nAdd the required kernel side infrastructure to parse arbitrary\nmount options.  This enables us to support temporary mount\noptions in largely the same way it is handled on other platforms.\n\nSee the 'Temporary Mount Point Properties' section of zfs(8)\nfor complete details.\n\nSigned-off-by: Brian Behlendorf <behlendorf1@llnl.gov>\nCloses #985\nCloses #3351","distinct":false,"url":"https://api.github.com/repos/behlendorf/zfs/commits/0282c4137e7409e6d85289f4955adf07fac834f5"},{"sha":"a613c9fdc602ed61322b88b4c390a32201741650","author":{"email":"32d50ad1e384dcb9a5bf7e40fa470df5dabaf348@llnl.gov","name":"Brian Behlendorf"},"message":"Add dbgmsg kstat\n\nInternally ZFS keeps a small log to facilitate debugging.  By default\nthe log is disabled, to enable it set zfs_dbgmsg_enable=1.  The contents\nof the log can be accessed by reading the /proc/spl/kstat/zfs/dbgmsg file.\nWriting 0 to this proc file clears the log.\n\n$ echo 1 >/sys/module/zfs/parameters/zfs_dbgmsg_enable\n$ echo 0 >/proc/spl/kstat/zfs/dbgmsg\n$ zpool import tank\n$ cat /proc/spl/kstat/zfs/dbgmsg\n1 0 0x01 -1 0 2492357525542 2525836565501\ntimestamp    message\n1441141408   spa=tank async request task=1\n1441141408   txg 70 open pool version 5000; software version 5000/5; ...\n1441141409   spa=tank async request task=32\n1441141409   txg 72 import pool version 5000; software version 5000/5; ...\n1441141414   command: lt-zpool import tank\n\nNote the zfs_dbgmsg() and dprintf() functions are both now mapped to\nthe same log.  As mentioned above the kernel debug log can be accessed\nthough the /proc/spl/kstat/zfs/dbgmsg kstat.  For user space consumers\nlog messages are immediately written to stdout after applying the\nZFS_DEBUG environment variable.\n\n$ ZFS_DEBUG=on ./cmd/ztest/ztest -V\n\nSigned-off-by: Brian Behlendorf <behlendorf1@llnl.gov>","distinct":true,"url":"https://api.github.com/repos/behlendorf/zfs/commits/a613c9fdc602ed61322b88b4c390a32201741650"}]}