Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Mar 2015 17:10:04 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r279931 - head/lib/libstand
Message-ID:  <201503121710.t2CHA4N2005758@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Thu Mar 12 17:10:04 2015
New Revision: 279931
URL: https://svnweb.freebsd.org/changeset/base/279931

Log:
  Spin the twiddle in dosfs to give visual feedback for disk I/O on
  FAT filesystems as is done for other filesystems in the loader.
  
  MFC after:	1 week

Modified:
  head/lib/libstand/dosfs.c

Modified: head/lib/libstand/dosfs.c
==============================================================================
--- head/lib/libstand/dosfs.c	Thu Mar 12 17:07:45 2015	(r279930)
+++ head/lib/libstand/dosfs.c	Thu Mar 12 17:10:04 2015	(r279931)
@@ -786,7 +786,8 @@ static int
 ioget(struct open_file *fd, u_int lsec, void *buf, u_int nsec)
 {
     int	err;
-    
+
+    twiddle(1);
     if ((err = (fd->f_dev->dv_strategy)(fd->f_devdata, F_READ, lsec, 
 					secbyt(nsec), buf, NULL)))
 	return(err);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503121710.t2CHA4N2005758>