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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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 ↗(On Diff #16175)

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

226 ↗(On Diff #16175)

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

2085 ↗(On Diff #16175)

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

sys/dev/hyperv/storvsc/hv_vstorage.h
28 ↗(On Diff #16175)

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

sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
36 ↗(On Diff #16175)

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

226 ↗(On Diff #16175)

Thanks. nitems is just what I want.

2085 ↗(On Diff #16175)

Ok.

sys/dev/hyperv/storvsc/hv_vstorage.h
28 ↗(On Diff #16175)

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.