Drop cache after fsync
Drop cache after fsync

Drop the cache (fadvise) after calling fsync to avoid redundant work
in the kernel visiting pages that are dirty. By dropping cache after
fsync(), the pages will be clean so can be easily removed from the
cache.

Change-Id: I3013d2ac1e27bbe43e58a81638d04805f5e2ae6e
Signed-off-by: Peter Portante <1768998915a9d75a38099dd28e7e828cd5a8c6fe@redhat.com>

prashanthpai/swift,swiftstack/swift,gold3bear/swift,gold3bear/swift,larsbutler/swift,aerwin3/swift,bradleypj823/swift,rackerlabs/swift,openstack/swift,mjwtom/swift,NeCTAR-RC/swift,tipabu/swift,IPVL/swift-kilo,redhat-openstack/swift,hbhdytf/mac,zaitcev/swift-lfs,clayg/swift,Seagate/swift,levythu/swift,tipabu/swift,nadeemsyed/swift,revoer/keystone-8.0.0,hbhdytf/mac,hbhdytf/mac2,smerritt/swift,psachin/swift,thiagodasilva/swift,hurricanerix/swift,sarvesh-ranjan/swift,NeCTAR-RC/swift,notmyname/swift,matthewoliver/swift,eatbyte/Swift,Em-Pan/swift,Khushbu27/Tutorial,revoer/keystone-8.0.0,citrix-openstack-build/swift,scality/ScalitySproxydSwift,takeshineshiro/swift,Khushbu27/Tutorial,bkolli/swift,psachin/swift,anishnarang/gswift,clayg/swift,shibaniahegde/OpenStak_swift,tipabu/swift,Em-Pan/swift,wenhuizhang/swift,tsli/test,rackerlabs/swift,matthewoliver/swift,zackmdavis/swift,maginatics/swift,hurricanerix/swift,nadeemsyed/swift,shibaniahegde/OpenStak_swift,bouncestorage/swift,bouncestorage/swift,hbhdytf/mac2,redbo/swift,bkolli/swift,swiftstack/swift,nadeemsyed/swift,JioCloud/swift,williamthegrey/swift,smerritt/swift,dpgoetz/swift,tsli/test,matthewoliver/swift,hbhdytf/mac2,levythu/swift,wenhuizhang/swift,dpgoetz/swift,mjzmjz/swift,clayg/swift,openstack/swift,scality/ScalitySproxydSwift,matthewoliver/swift,dencaval/swift,redbo/swift,daasbank/swift,Akanoa/swift,daasbank/swift,openstack/swift,thiagodasilva/swift,smerritt/swift,dencaval/swift,Seagate/swift,anishnarang/gswift,prashanthpai/swift,citrix-openstack/build-swift,hurricanerix/swift,bradleypj823/swift,psachin/swift,takeshineshiro/swift,smerritt/swift,mjzmjz/swift,larsbutler/swift,swiftstack/swift,notmyname/swift,orion/swift-config,clayg/swift,citrix-openstack/build-swift,IPVL/swift-kilo,Akanoa/swift,maginatics/swift,hbhdytf/mac2,zackmdavis/swift,williamthegrey/swift,zaitcev/swift-lfs,sarvesh-ranjan/swift,xiaoguoai/ec-dev-swift,AfonsoFGarcia/swift,hurricanerix/swift,iostackproject/IO-Bandwidth-Differentiation,mjwtom/swift,notmyname/swift,AfonsoFGarcia/swift,redhat-openstack/swift,openstack/swift,nadeemsyed/swift,notmyname/swift,orion/swift-config,eatbyte/Swift,citrix-openstack-build/swift,iostackproject/IO-Bandwidth-Differentiation,aerwin3/swift,xiaoguoai/ec-dev-swift,tipabu/swift,JioCloud/swift,psachin/swift