diff options
author | Mohit Agrawal <moagrawa@redhat.com> | 2017-07-15 17:55:14 +0530 |
---|---|---|
committer | Jeff Darcy <jeff@pl.atyp.us> | 2017-10-30 15:53:46 +0000 |
commit | a320f2021ee4dcab85483dbe10d85e797bd6b3b4 (patch) | |
tree | 4b9c2993b72dd388c33e5e40578ea9000e7f8494 /xlators/storage/posix/src/posix-aio.c | |
parent | ae9b006f23b1408ff548348440369d056becdc1d (diff) |
posix: Ignore disk space reserve check for internal FOPS
Problem: Currently disk space reserve check is applicable for internal FOP
also it needs to be ignore for internal FOP.
Solution: Update the DISK_SPACE_CHECK_AND_GOTO macro at posix component.
Macro will call only while key "GLUSTERFS_INTERNAL_FOP_KEY"
exists in xdata.
BUG: 1506083
Change-Id: I2b0840bbf4fa14bc247855b024ca136773d68d16
Signed-off-by: Mohit Agrawal <moagrawa@redhat.com>
Diffstat (limited to 'xlators/storage/posix/src/posix-aio.c')
-rw-r--r-- | xlators/storage/posix/src/posix-aio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/storage/posix/src/posix-aio.c b/xlators/storage/posix/src/posix-aio.c index 2adafeb07b8..47460bc77b4 100644 --- a/xlators/storage/posix/src/posix-aio.c +++ b/xlators/storage/posix/src/posix-aio.c @@ -330,7 +330,7 @@ posix_aio_writev (call_frame_t *frame, xlator_t *this, fd_t *fd, VALIDATE_OR_GOTO (fd, err); priv = this->private; - DISK_SPACE_CHECK_AND_GOTO (frame, priv, op_errno, op_errno, err); + DISK_SPACE_CHECK_AND_GOTO (frame, priv, xdata, op_errno, op_errno, err); ret = posix_fd_ctx_get (fd, this, &pfd, &op_errno); if (ret < 0) { |