Ashwani Raina has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/19525


Change subject: KUDU-3418 Improve hole punching error message description.
......................................................................

KUDU-3418 Improve hole punching error message description.

Kudu LBM relies on hole punching support from filesystem.
However, it is possible that even with supported kernel version
and fileystem type, hole punching feature may not work.
Hole punching uses fallocate system call to do its job.
But it is evident from fallocate system call implementation of
ext4, that encrypted inodes are not supported.
Refer: https://elixir.bootlin.com/linux/latest/source/fs/ext4/extents.c#L4685

The same description is added to kHolePunchErrorMsg used by
CheckHolePunch method that checks for hole punching support.

Change-Id: If87401012052508b9cdf394cd33dc32fb58659d4
---
M src/kudu/fs/dir_util.cc
1 file changed, 4 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/25/19525/1
--
To view, visit http://gerrit.cloudera.org:8080/19525
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: If87401012052508b9cdf394cd33dc32fb58659d4
Gerrit-Change-Number: 19525
Gerrit-PatchSet: 1
Gerrit-Owner: Ashwani Raina <[email protected]>

Reply via email to