In the rgw_create regular file case, the timestamp and size update
logic (though present) was being bypassed because the "FLAG_CREATE"
indicator which formerly propagated up from RGWLibFS::lookup_fh
was lost in the LRU change, which refactored the code for creating
new RGWFileHandle objects.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
cohort::lru::FLAG_INITIAL));
if (fh) {
fh_cache.insert_latched(fh, lat, RGWFileHandle::FHCache::FLAG_UNLOCK);
+ get<1>(fhr) |= RGWFileHandle::FLAG_CREATE;
goto out; /* !LATCHED */
} else {
lat.lock->unlock();