Page MenuHomeFreeBSD

hyperv/stor: Disable invalid disk filtering on non-win10 or non-win 2016
ClosedPublic

Authored by honzhan_microsoft.com on May 11 2016, 5:37 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 4, 8:23 PM
Unknown Object (File)
Oct 6 2024, 8:46 PM
Unknown Object (File)
Oct 3 2024, 8:06 PM
Unknown Object (File)
Oct 3 2024, 6:21 AM
Unknown Object (File)
Oct 1 2024, 10:19 AM
Unknown Object (File)
Sep 28 2024, 2:24 AM
Unknown Object (File)
Sep 27 2024, 4:44 PM
Unknown Object (File)
Sep 16 2024, 9:01 AM

Details

Summary

Invalid disk filtering is introduced for fixing the multiple disk issue
on windows 10 and window 2016 server.
See the bug: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206630

But it has issue when hot add/remove disk since the filter is not
always correct. In order to catch the FreeBSD 10.3 release on Azure,
the work around is temporarily disable this fix for win2012 R2.

The finally fix is still under investigation.

Submitted by: Hongjiang Zhang <honzhan microsoft com>

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

honzhan_microsoft.com retitled this revision from to hyperv/stor: Disable invalid disk filtering on non-win10/win2k16.
honzhan_microsoft.com updated this object.
honzhan_microsoft.com retitled this revision from hyperv/stor: Disable invalid disk filtering on non-win10/win2k16 to hyperv/stor: Disable invalid disk filtering on non-win10 or non-win 2016.May 11 2016, 5:41 AM

Looks good to me. Some nits, see below.

sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
36

Heh, we don't want to change this :)

239

We probably don't need this; use nitems() instead.

2084

Maybe add XXX mark here? So that we can find it easily :)

sys/dev/hyperv/storvsc/hv_vstorage.h
28

Seem pretty accidental; but we have to skip this kind of changes.

sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
36

Just ignore this. This happens because I copied the same file from svn.

239

Thanks. nitems is just what I want.

2084

Ok.

sys/dev/hyperv/storvsc/hv_vstorage.h
28

Yes, ignore this.

sepherosa_gmail.com edited edge metadata.

Let's wait a bit for other reviewers.

This revision is now accepted and ready to land.May 11 2016, 6:45 AM
This revision now requires review to proceed.May 11 2016, 8:30 AM
This revision is now accepted and ready to land.May 11 2016, 8:31 AM
This revision was automatically updated to reflect the committed changes.