Credit: Ethan Miller/Getty

John Mayer is on the mend.

The 34-year-old singer/songwriter had surgery on Thursday to remove the granuloma (enlarged nodule) just above his vocal cord.

"I am now on complete vocal rest for a month or more," Mayer wrote on his Tumblr. "It's been a very long process in waiting to see if time was an alternative to surgery, but even given two weeks' voice rest (along with many other approaches), there was no change for the better."

Mayer first announced his diagnosis in September after he canceled a series of scheduled concerts and pushed back the release of his forthcoming album.

The "Heartbreak Warfare" singer added that the experience helped him appreciate his talent once again. "I should be frustrated but I can't seem to stop thinking about beautiful things," he wrote. "I never thought I'd be wishing I could do what I love again; I stay in at night, picking guitar parts off of records and dreaming of playing on the big stage."

"The only difference between now and when I was 18 is that now I have this beautiful, meaningful record waiting for me when I can sing it."