summaryrefslogtreecommitdiffstats
path: root/api/src
diff options
context:
space:
mode:
authorSoumya Koduri <skoduri@redhat.com>2019-06-07 19:33:07 +0530
committerhari gowtham <hari.gowtham005@gmail.com>2019-07-05 09:18:29 +0000
commite60c6b72f7ff6153e8de98f77f0ad001a1adfba9 (patch)
treec4f56779bcf2071b4c1b32a0c73ffd0f10264546 /api/src
parentfb93da37914458996987665d8e10f7ef87772133 (diff)
upcall: Avoid sending notifications for invalid inodes
For nameless LOOKUPs, server creates a new inode which shall remain invalid until the fop is successfully processed post which it is linked to the inode table. But incase if there is an already linked inode for that entry, it discards that newly created inode which results in upcall notification. This may result in client being bombarded with unnecessary upcalls affecting performance if the data set is huge. This issue can be avoided by looking up and storing the upcall context in the original linked inode (if exists), thus saving up on those extra callbacks. This is backport of below mainline fix - > fixes: bz#1718338 > patch url: https://review.gluster.org/#/c/glusterfs/+/22840/ > Signed-off-by: Soumya Koduri <skoduri@redhat.com> Change-Id: I044a1737819bb40d1a049d2f53c0566e746d2a17 fixes: bz#1720633 Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Diffstat (limited to 'api/src')
0 files changed, 0 insertions, 0 deletions