Date: Sun, 23 Apr 2017 22:20:25 +0000 (UTC) From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r317348 - head/sys/kern Message-ID: <201704232220.v3NMKP2x010689@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: trasz Date: Sun Apr 23 22:20:25 2017 New Revision: 317348 URL: https://svnweb.freebsd.org/changeset/base/317348 Log: Make it possible to terminate "show lockedbufs" by pressing "q". MFC after: 2 weeks Modified: head/sys/kern/vfs_bio.c Modified: head/sys/kern/vfs_bio.c ============================================================================== --- head/sys/kern/vfs_bio.c Sun Apr 23 21:58:17 2017 (r317347) +++ head/sys/kern/vfs_bio.c Sun Apr 23 22:20:25 2017 (r317348) @@ -4950,6 +4950,8 @@ DB_SHOW_COMMAND(lockedbufs, lockedbufs) if (BUF_ISLOCKED(bp)) { db_show_buffer((uintptr_t)bp, 1, 0, NULL); db_printf("\n"); + if (db_pager_quit) + break; } } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704232220.v3NMKP2x010689>