aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorHaiyang Zhang <[email protected]>2019-08-15 17:01:45 +0000
committerLorenzo Pieralisi <[email protected]>2019-09-10 12:14:08 +0100
commitf73f8a504e27959576a2f4d85182202561e426f2 (patch)
treef592fefa590014df683cf9e2cac03a3da2c2986c /fs/btrfs/dev-replace.c
parentbe700103efd1050808db1cf00e52c3a2837bf802 (diff)
PCI: hv: Use bytes 4 and 5 from instance ID as the PCI domain numbers
As recommended by Azure host team, the bytes 4, 5 have more uniqueness (info entropy) than bytes 8, 9 so use them as the PCI domain numbers. On older hosts, bytes 4, 5 can also be used -- no backward compatibility issues are introduced and the chance of collision is greatly reduced. In the rare cases of collision, the driver code detects and finds another number that is not in use. Suggested-by: Michael Kelley <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Acked-by: Sasha Levin <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions