Fuel pump with control of the piston relative to a fixed cylinder