aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorSteven Whitehouse <[email protected]>2011-11-21 10:01:25 +0000
committerSteven Whitehouse <[email protected]>2011-11-21 10:01:25 +0000
commit4442f2e03ed9646664c94e197e637b03324a6664 (patch)
tree93f6219e9ccdc509413a773b5e815a4bcc7e0626 /net/lapb/lapb_subr.c
parentb9f417f311a7141d0ba67e5c8e535010d2712f2d (diff)
GFS2: O_(D)SYNC support for fallocate
Add sync of metadata after fallocate for O_SYNC files to ensure that we meet expectations for everything being on disk in this case. Unfortunately, the offset and len parameters are modified during the course of the fallocate function, so I've had to add a couple of new variables to call generic_write_sync() at the end. I know that potentially this will sync data as well within the range, but I think that is a fairly harmless side-effect overall, since we would not normally expect there to be any dirty data within the range in question. Signed-off-by: Steven Whitehouse <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Benjamin Marzinski <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions