>From Daniel Gryniewicz <d...@redhat.com>:

Daniel Gryniewicz has uploaded a new change for review.

  https://review.gerrithub.io/298859

Change subject: DNM - Fix READDIR cookie traversal during deletes
......................................................................

DNM - Fix READDIR cookie traversal during deletes

If a READDIR is in process while deletes are happening on the same
directory, the return could be BAD_COOKIE when it should have been EOD.
This can happen in the case where all the files after the cookie were
deleted.

Another case is that if the file was deleted, but subsequent files
existed, we might have returned EOD instead of the next dirent.

DO NOT MERGE; FOR TESTING ONLY

Change-Id: I523f93f9d40b7c3a154548436ae3c8db19a77183
Signed-off-by: Daniel Gryniewicz <d...@redhat.com>
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_avl.c
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_avl.h
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_handle.c
3 files changed, 64 insertions(+), 27 deletions(-)


  git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha 
refs/changes/59/298859/1
-- 
To view, visit https://review.gerrithub.io/298859
To unsubscribe, visit https://review.gerrithub.io/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I523f93f9d40b7c3a154548436ae3c8db19a77183
Gerrit-PatchSet: 1
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Owner: Daniel Gryniewicz <d...@redhat.com>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to