md/raid1: fix_read_error should act on all non-faulty devices.

If a devices is being recovered it is not InSync and is not Faulty.

If a read error is experienced on that device, fix_read_error()
will be called, but it ignores non-InSync devices.  So it will
neither fix the error nor fail the device.

It is incorrect that fix_read_error() ignores non-InSync devices.
It should only ignore Faulty devices.  So fix it.

Reported-by: Alexander Lyakas <alex.bolshoy@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
md: Make sync_page_io aware of underlying block size.

sync_page_io is sometimes called on to read an object smaller than a
page.  If that happens to be smaller than the physical block size
of the device, the size needs to be rounded up.

This is particularly import for use of sync_page_io by dm-raid.

This is a simple fix for a bug that stops dm-raid from working on 4K
phys-sector devices.  So it seems suitable for -stable at low
priority.

Signed-off-by: NeilBrown  <neilb@suse.de>
Cc: stable@vger.kernel.org (After release of 3.18)
Reported-by: Liuhua Wang <lwang@suse.com>
md/bitmap: remove bev_logical_block_size rounding where not needed.

Now that sync_page_io rounds up the size, read_sb_page() doesn't
need too.

Signed-off-by: NeilBrown <neilb@suse.de>