1. 25 5月, 2017 24 次提交
  2. 15 5月, 2017 2 次提交
  3. 12 5月, 2017 12 次提交
  4. 11 5月, 2017 2 次提交
    • N
      Revert "target: Fix VERIFY and WRITE VERIFY command parsing" · 984a9d4c
      Nicholas Bellinger 提交于
      This reverts commit 0e2eb7d1
      
        Author: Bart Van Assche <bart.vanassche@sandisk.com>
        Date:   Thu Mar 30 10:12:39 2017 -0700
      
            target: Fix VERIFY and WRITE VERIFY command parsing
      
      This patch broke existing behaviour for WRITE_VERIFY because
      it dropped the original SCF_SCSI_DATA_CDB assignment for
      bytchk = 0 so target_cmd_size_check() no longer rejected
      this case, allowing an overflow case to trigger an OOPs
      in iscsi-target.
      
      Since the short term and long term fixes are still being
      discussed, revert it for now since it's late in the merge
      window and try again in v4.13-rc1.
      
      Conflicts:
      	drivers/target/target_core_sbc.c
      Signed-off-by: NNicholas Bellinger <nab@linux-iscsi.org>
      984a9d4c
    • V
      libnvdimm, btt: ensure that initializing metadata clears poison · b177fe85
      Vishal Verma 提交于
      If we had badblocks/poison in the metadata area of a BTT, recreating the
      BTT would not clear the poison in all cases, notably the flog area. This
      is because rw_bytes will only clear errors if the request being sent
      down is 512B aligned and sized.
      
      Make sure that when writing the map and info blocks, the rw_bytes being
      sent are of the correct size/alignment. For the flog, instead of doing
      the smaller log_entry writes only, first do a 'wipe' of the entire area
      by writing zeroes in large enough chunks so that errors get cleared.
      
      Cc: Andy Rudoff <andy.rudoff@intel.com>
      Cc: Dan Williams <dan.j.williams@intel.com>
      Signed-off-by: NVishal Verma <vishal.l.verma@intel.com>
      Signed-off-by: NDan Williams <dan.j.williams@intel.com>
      b177fe85