diff options
| author | Mohit Agrawal <moagrawa@redhat.com> | 2018-03-26 12:55:12 +0530 | 
|---|---|---|
| committer | Amar Tumballi <amarts@redhat.com> | 2018-04-11 07:03:27 +0000 | 
| commit | 0002c36666c9b043a330ee08533a87fe7fd16491 (patch) | |
| tree | ebfb62f5aebd7e2212adc0c256c6fc9bdb7641cd /xlators/performance/open-behind/src/open-behind.c | |
| parent | d206fab73f6815c927a84171ee9361c9b31557b1 (diff) | |
posix: reserve option behavior is not correct while using fallocate
Problem: storage.reserve option is not working correctly while
         disk space is allocate throguh fallocate
Solution: In posix_disk_space_check_thread_proc after every 5 sec interval
          it calls posix_disk_space_check to monitor disk space and set the
          flag in posix priv.In 5 sec timestamp user can create big file with
          fallocate that can reach posix reserve limit and no error is shown on
          terminal even limit has reached.
          To resolve the same call posix_disk_space for every fallocate fop
          instead to call by a thread after 5 second
BUG: 1560411
Signed-off-by: Mohit Agrawal <moagrawa@redhat.com>
Change-Id: I39ba9390e2e6d084eedbf3bcf45cd6d708591577
Diffstat (limited to 'xlators/performance/open-behind/src/open-behind.c')
0 files changed, 0 insertions, 0 deletions
