summaryrefslogtreecommitdiff
path: root/fs/gfs2/export.c
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2017-10-11 16:22:07 +0200
committerAndreas Gruenbacher <agruenba@redhat.com>2017-10-31 14:26:35 +0100
commitadbc3ddf28ad9c2742fb9fc82e2aacfd414a16c1 (patch)
tree18a65cdd2e097df7d03fde2640428ddc81708dee /fs/gfs2/export.c
parent3a27411cb4bc3ce31db228e3569ad01b462a4310 (diff)
GFS2: flush the log and all pages for jdata as we do for WB_SYNC_ALL
In function gfs2_write_inode, starting with patch a9185b41a4f84, we only flush the log and call filemap_fdatawait if we're passed in a wbc sync_mode of WB_SYNC_ALL. We also need to do these things if we're evicting a jdata inode, because we might have jdata pages still attached to bufdata descriptors that need to be revoked, but by the time it gets to evict() it's too late to start a new transaction. This patch changes it to treat jdata inodes as if WB_SYNC_ALL had been specified. Signed-off-by: Bob Peterson <rpeterso@redhat.com> Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Acked-by: Abhijith Das <adas@redhat.com>
Diffstat (limited to 'fs/gfs2/export.c')
0 files changed, 0 insertions, 0 deletions