SVNews r318546

NOTE: This service is experimental and subject to change! Use at your own risk!

2017-05-19 17:14:29 - r318546 by ngie (ngie)

Complete list of files affected by revision r318546:

(Note: At the moment, these links point to ViewVC on svn.freebsd.org. They are probably slow. Do not overuse.)

  History   Contents   Diff   MODIFY   /head/contrib/netbsd-tests/fs/tmpfs/t_vnd.sh  
  History   Contents   Diff   MODIFY   /head/tests/sys/fs/tmpfs/Makefile  

Commit message:

sys/fs/tmpfs/vnd_test: make md(4) allocation dynamic

The previous logic was flawed in the sense that it assumed that /dev/md3
was always available. This was a caveat I noted in r306038, that I hadn't
gotten around to solving before now.

Cache the device for the mountpoint after executing mdmfs, then use the
cached value in basic_cleanup(..) when unmounting/disconnecting the md(4)
device.

Apply sed expressions to use reuse logic in the NetBSD code that could
also be applied to FreeBSD, just with different tools.

Differential Revision: D10766
MFC after: 1 week
Reviewed by: bdrewery
Sponsored by: Dell EMC Isilon

 


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 20 ms, 2 files printed. Current time is 2017-07-23 14:53:28. All times are in UTC/GMT.