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)
Nov 19 2024, 2:54 PM
Unknown Object (File)
Nov 4 2024, 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

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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 3690
Build 3733: arc lint + arc unit

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 :)

226

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

2085

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.

226

Thanks. nitems is just what I want.

2085

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.