[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gluster-devel
Subject:    [Gluster-devel] Regarding afr making sure flush, fsync complete delayed post op
From:       pkarampu () redhat ! com (Pranith Kumar Karampuri)
Date:       2012-12-07 12:32:22
Message-ID: 2016056951.15331112.1354883542095.JavaMail.root () redhat ! com
[Download RAW message or body]

hi,
   Here is one possible solution for achieving this: \
http://review.gluster.org/#change,4280. The solution posted achieves it by pausing \
flush/fsync fop until the delayed post-op is completed. Writevs are unwound only \
after its post-op is marked for delay. This prevents the race of flush not witnessing \
delayed post-op in fd-ctx. The problem is that the solution is ugly. I am wondering \
if you guys have other solutions to achieve the same without making flush/fsync a \
transaction.

Pranith.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic