From ebc8237d8c445af208446c937f31aa311d1efb2c Mon Sep 17 00:00:00 2001 From: SonaArora Date: Wed, 26 Jul 2017 17:43:45 +0530 Subject: read-only : currently read-only doesn't implement fallocate PROBLEM STATEMENT: read-only should block fallocate call if its enabled, else pass to next xlator. Implemented this functionality in read-only. BUG: 1475300 Change-Id: I57c51eb4f1519ba75d7291eba49554e6ed4a25eb Signed-off-by: SonaArora Reviewed-on: https://review.gluster.org/17879 Smoke: Gluster Build System Tested-by: Karthik U S CentOS-regression: Gluster Build System Reviewed-by: Karthik U S Reviewed-by: Ashish Pandey Reviewed-by: Kotresh HR Reviewed-by: Amar Tumballi --- xlators/features/read-only/src/read-only.c | 1 + 1 file changed, 1 insertion(+) (limited to 'xlators/features/read-only/src/read-only.c') diff --git a/xlators/features/read-only/src/read-only.c b/xlators/features/read-only/src/read-only.c index 8733a40abce..75d6d104d45 100644 --- a/xlators/features/read-only/src/read-only.c +++ b/xlators/features/read-only/src/read-only.c @@ -115,6 +115,7 @@ struct xlator_fops fops = { .entrylk = ro_entrylk, .fentrylk = ro_fentrylk, .lk = ro_lk, + .fallocate = ro_fallocate, }; struct xlator_cbks cbks = { -- cgit