Consider a diffeomorphism f of a closed surface S and assume that S is the boundary of a handelbody. We want to know to which extent f is the restriction of a diffeomorphism of H. This leads us to define the biggest subcompression body of H to which f extends. We explain how one can find out from the invariants sets of f whether this compression body is trivial or not. This is a joint work with Ian Biringer.