[Bugs] [Bug 1626394] New: dht_create: Create linkto files if required when using dht_filter_loc_subvol_key

bugzilla at redhat.com bugzilla at redhat.com
Fri Sep 7 08:27:11 UTC 2018


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

            Bug ID: 1626394
           Summary: dht_create: Create linkto files if required when using
                    dht_filter_loc_subvol_key
           Product: GlusterFS
           Version: mainline
         Component: distribute
          Assignee: bugs at gluster.org
          Reporter: nbalacha at redhat.com
                CC: bugs at gluster.org



Description of problem:

dht_filter_loc_subvol_key allows you to specify which subvolume to create a
file on. If this is not the hashed subvolume, we need to create a linkto file
as well because lookup-optimize is now enabled by default on all volumes.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Create a 3x1 distribute volume
2. From the fuse mount, run
 for i in {1..100}; do touch file-$i@<volname>-dht:<volname>-client-1; done
3.

Actual results:

No linkto files created on any bricks


Expected results:

All data files should be created on <volname>-client-1 but there should be
linkto files on the other 2 bricks.


Additional info:

This is a debugging hook and not expected to be used in production.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list