comparison usr/src/uts/common/io/lvm/mirror/mirror.c @ 14082:6db1b9319cfc

3893 lvm: incorrect flag handling Reviewed by: Theo Schlossnagle <jesus@omniti.com> Reviewed by: Dan McDonald <danmcd@nexenta.com> Approved by: Dan McDonald <danmcd@nexenta.com>
author Prasad Joshi <pjoshi@stec-inc.com>
date Wed, 17 Jul 2013 15:47:52 -0400
parents 6bec9720e054
children
comparison
equal deleted inserted replaced
14081:dfcd374b3af2 14082:6db1b9319cfc
4013 * if the current block is not in the current 4013 * if the current block is not in the current
4014 * resync region terminate the write as another node must have 4014 * resync region terminate the write as another node must have
4015 * completed this resync region 4015 * completed this resync region
4016 */ 4016 */
4017 if ((MD_MNSET_SETNO(MD_UN2SET(un))) && 4017 if ((MD_MNSET_SETNO(MD_UN2SET(un))) &&
4018 (!flag & MD_STR_DIRTY_RD)) { 4018 (!(flag & MD_STR_DIRTY_RD))) {
4019 if (!IN_RESYNC_REGION(un, ps)) 4019 if (!IN_RESYNC_REGION(un, ps))
4020 abort_write = 1; 4020 abort_write = 1;
4021 } 4021 }
4022 if ((select_write_after_read_units(un, ps) == 0) || 4022 if ((select_write_after_read_units(un, ps) == 0) ||
4023 (abort_write)) { 4023 (abort_write)) {