summaryrefslogtreecommitdiff
path: root/staging/cli_tcp.c
AgeCommit message (Expand)AuthorFilesLines
2013-05-13staging: add mausezahn staging directoryDaniel Borkmann1-0/+679
54:21 -0600 committerDan Williams <dan.j.williams@intel.com>2016-10-19 10:35:52 -0700 commit3115bb02b5c23d960df5f1bf551ec394a9bb10ec (patch) tree975efbbc07264df4bc1e454203da10852b521f88 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