summaryrefslogtreecommitdiff
path: root/samples/bpf/test_tunnel_bpf.sh
diff options
context:
space:
mode:
authorToshi Kani <toshi.kani@hpe.com>2016-10-13 09:54:21 -0600
committerDan Williams <dan.j.williams@intel.com>2016-10-19 10:35:52 -0700
commit3115bb02b5c23d960df5f1bf551ec394a9bb10ec (patch)
tree975efbbc07264df4bc1e454203da10852b521f88 /samples/bpf/test_tunnel_bpf.sh
parent75d29713b792da4782cadfaa87e802183440694e (diff)
pmem: report error on clear poison failure
ACPI Clear Uncorrectable Error DSM function may fail or may be unsupported on a platform. pmem_clear_poison() returns without clearing badblocks in such cases. This failure is detected at the next read (-EIO). This behavior can lead to an issue when user keeps writing but does not read immediately. For instance, flight recorder file may be only read when it is necessary for troubleshooting. Change pmem_do_bvec() and pmem_clear_poison() to return -EIO so that filesystem can log an error message on a write error. Cc: Vishal Verma <vishal.l.verma@intel.com> Signed-off-by: Toshi Kani <toshi.kani@hpe.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'samples/bpf/test_tunnel_bpf.sh')
0 files changed, 0 insertions, 0 deletions