mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 00:43:12 +00:00
Let it return current nfs_pgio_mirror in use depending on pg_mirror_count. For read, we always use pg_mirrors[0], so this effectively gives us freedom to use pg_mirror_idx to track the actual mirror to read from through out the IO stack. Signed-off-by: Peng Tao <[email protected]> Signed-off-by: Tom Haynes <[email protected]>