k3s/pkg/volume
Kubernetes Submit Queue 5aea00d885
Merge pull request #67097 from chakri-nelluri/EIO-Unmountfix
Automatic merge from submit-queue (batch tested with PRs 67396, 67097, 67395, 67365, 67099). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Ignore EIO error in unmount path

**What this PR does / why we need it**:
This PR ignores EIO in unmount path. XFS shuts down filesystem when the target is down and it returns EIO for the stat calls used in unmount path.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #66868

**Special notes for your reviewer**:
We already handle ESTALE & ENOTCONN errors in isCorruptedMnt Call. Adding EIO to that list covers the XFS shutdown case.

Also Flexvolume doesn't check for these errors in its current form. Updated Flexvolume code to handle it.

```release-note
NONE
```
2018-08-15 05:45:17 -07:00
..
aws_ebs Merge pull request #67184 from linyouchong/pr-0809 2018-08-09 12:18:21 -07:00
azure_dd Parse zoned first before using it 2018-08-09 10:23:53 +08:00
azure_file Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
cephfs pkg/volume/cephfs: fix doc typo, nfs -> cephfs 2018-08-02 16:11:02 +08:00
cinder Avoid overflowing int64 in RoundUpSize and return error if overflow int 2018-07-23 13:48:45 -04:00
configmap Remove unused io util writer & volume host GetWriter() 2018-07-09 14:09:48 -07:00
csi CSI plugin now calls NodeGetInfo() to get driver's node ID 2018-08-08 13:15:43 -07:00
downwardapi Stop sorting downward api file lines 2018-07-09 15:44:03 -04:00
empty_dir Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
fc kubernetes: fix printf format errors 2018-07-11 00:10:15 +03:00
flexvolume Ignore EIO error in unmount path 2018-08-07 21:04:39 -04:00
flocker Avoid overflowing int64 in RoundUpSize and return error if overflow int 2018-07-23 13:48:45 -04:00
gce_pd Merge pull request #66832 from msau42/udev 2018-08-01 17:13:03 -07:00
git_repo Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
glusterfs Provide an option to supply log-file mount option for gluster plugin. 2018-08-02 22:09:49 +05:30
host_path fixformat 2018-07-14 10:34:21 +08:00
iscsi Add wait loop for multipath devices to appear 2018-08-08 00:44:45 -04:00
local Merge pull request #65310 from wenlxie/upstream.master.fixlocalvolumevmnotfound 2018-06-29 20:14:12 -07:00
nfs Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
photon_pd Avoid overflowing int64 in RoundUpSize and return error if overflow int 2018-07-23 13:48:45 -04:00
portworx kubernetes: fix printf format errors 2018-07-11 00:10:15 +03:00
projected Merge pull request #65429 from WanLinghao/projected_error_return_fix 2018-07-16 13:52:54 -07:00
quobyte Merge pull request #66202 from tanshanshan/fixformat 2018-07-24 21:24:30 -07:00
rbd Merge pull request #66332 from jianglingxia/jlx-k8s-201807181704 2018-08-10 14:13:19 -07:00
scaleio Check presence of sioDiskIDPath before reading it 2018-07-17 09:55:46 -07:00
secret Remove unused io util writer & volume host GetWriter() 2018-07-09 14:09:48 -07:00
storageos Avoid overflowing int64 in RoundUpSize and return error if overflow int 2018-07-23 13:48:45 -04:00
testing extend FakeVolumePlugin to implement VolumePluginWithAttachLimits interface 2018-07-16 09:09:48 -07:00
util Merge pull request #67097 from chakri-nelluri/EIO-Unmountfix 2018-08-15 05:45:17 -07:00
validation Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
vsphere_volume Fixed vsphere volume plugin unsafe type cast; added unit tests 2018-08-09 16:15:59 -07:00
BUILD Remove unused io util writer & volume host GetWriter() 2018-07-09 14:09:48 -07:00
OWNERS
doc.go
metrics_cached.go
metrics_du.go Rename Du() to DiskUsage() for more expressive 2018-05-22 10:52:06 +08:00
metrics_du_test.go
metrics_errors.go
metrics_nil.go
metrics_nil_test.go
metrics_statfs.go update import 2018-02-27 20:23:35 +08:00
metrics_statfs_test.go
plugins.go Remove unused io util writer & volume host GetWriter() 2018-07-09 14:09:48 -07:00
plugins_test.go correct the expected value in plugintest 2018-02-25 15:14:55 +08:00
volume.go Merge pull request #63193 from lichuqiang/provision_0425 2018-06-05 15:31:58 -07:00
volume_linux.go Add more volume types in e2e and fix part of them. 2018-05-02 10:31:42 +08:00
volume_unsupported.go Add more volume types in e2e and fix part of them. 2018-05-02 10:31:42 +08:00