Date: Thu, 18 May 2017 20:34:26 +0000 (UTC) From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r318488 - stable/11/sys/kern Message-ID: <201705182034.v4IKYQKe016995@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: trasz Date: Thu May 18 20:34:25 2017 New Revision: 318488 URL: https://svnweb.freebsd.org/changeset/base/318488 Log: MFC r317348: Make it possible to terminate "show lockedbufs" by pressing "q". Modified: stable/11/sys/kern/vfs_bio.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/kern/vfs_bio.c ============================================================================== --- stable/11/sys/kern/vfs_bio.c Thu May 18 20:32:12 2017 (r318487) +++ stable/11/sys/kern/vfs_bio.c Thu May 18 20:34:25 2017 (r318488) @@ -4923,6 +4923,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?201705182034.v4IKYQKe016995>