An electronic device , comprising: a first memory storing file data; a second memory having an attribute different from that of the first memory ; and a processor , wherein the processor is configured to perform: storing journal data related to a change in at least a part of the file data in the second memory , wherein the storing comprises buffering at least a part of the journal data in a first area of the second memory , and journaling at least a part of the journal data in a second area of the second memory ; and if a designated condition is satisfied, updating at least the part of the file data stored in the first memory based at least on the journal data, characterized in that : the processor is configured to store, in the second memory : journal data related to a change in at least a part of a data block and metadata of the file data if the file data corresponds to a designated attribute; or journal data related to a change in at least a part of metadata of the file data if the file data does not correspond to the designated attribute. a first memory storing file data; a second memory having an attribute different from that of the first memory ; and a processor , wherein the processor is configured to perform: storing journal data related to a change in at least a part of the file data in the second memory , wherein the storing comprises buffering at least a part of the journal data in a first area of the second memory , and journaling at least a part of the journal data in a second area of the second memory ; and if a designated condition is satisfied, updating at least the part of the file data stored in the first memory based at least on the journal data, characterized in that : the processor is configured to store, in the second memory : journal data related to a change in at least a part of a data block and metadata of the file data if the file data corresponds to a designated attribute; or journal data related to a change in at least a part of metadata of the file data if the file data does not correspond to the designated attribute. storing journal data related to a change in at least a part of the file data in the second memory , wherein the storing comprises buffering at least a part of the journal data in a first area of the second memory , and journaling at least a part of the journal data in a second area of the second memory ; and if a designated condition is satisfied, updating at least the part of the file data stored in the first memory based at least on the journal data, characterized in that : the processor is configured to store, in the second memory : journal data related to a change in at least a part of a data block and metadata of the file data if the file data corresponds to a designated attribute; or journal data related to a change in at least a part of metadata of the file data if the file data does not correspond to the designated attribute. journal data related to a change in at least a part of a data block and metadata of the file data if the file data corresponds to a designated attribute; or journal data related to a change in at least a part of metadata of the file data if the file data does not correspond to the designated attribute. <EOS>