[Bugs] [Bug 1465123] Fd based fops fail with EBADF on file migration

bugzilla at redhat.com bugzilla at redhat.com
Wed Sep 27 04:36:50 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1465123

Nithya Balachandran <nbalacha at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |needinfo?(kdhananj at redhat.c
                   |                            |om)



--- Comment #11 from Nithya Balachandran <nbalacha at redhat.com> ---
(In reply to Krutika Dhananjay from comment #10)
> It depends on which copy DHT on the client uses to serve metadata fops.
> 
> 1. If it is guaranteed that the xattr value on the src and dst copy will
> eventually be in sync without any out-of-order updates causing them to
> deviate, then i'm guessing it should be OK.

> 
> 2. If until migration completes, DHT on the client serves iatts as part of
> lookup, stat etc from the correct copy (the copy that has witnessed all the
> xattrops wound by shard as part of ongoing writes), then it is probably ok.


What happens if an fxattrop is sent to a migrating file after all xattrs have
been copied off the src file? That information would not be copied to the dst
as dht_fxattrop does not perform migration checks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=mVMyX8c1Fk&a=cc_unsubscribe


More information about the Bugs mailing list