summaryrefslogtreecommitdiffstats
path: root/fs/aio.c
AgeCommit message (Expand)Author
2015-02-20fs/aio.c: Remove duplicate function name in pr_debug messagesKinglong Mee
2015-02-12Merge branch 'for-3.20/bdi' of git://git.kernel.dk/linux-blockLinus Torvalds
2015-02-03aio: annotate aio_read_event_ring for sleep patternsDave Chinner
2015-01-20fs: remove mapping->backing_dev_infoChristoph Hellwig
2015-01-20fs: introduce f_op->mmap_capabilities for nommu mmap supportChristoph Hellwig
2014-12-13aio: Skip timer for io_getevents if timeout=0Fam Zheng
2014-12-13aio: Make it possible to remap aio ringPavel Emelyanov
2014-11-25Merge git://git.kvack.org/~bcrl/aio-fixesLinus Torvalds
2014-11-06aio: fix uncorrent dirty pages accouting when truncating AIO ring bufferGu Zheng
2014-09-24percpu_ref: add PERCPU_REF_INIT_* flagsTejun Heo
2014-09-24Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/axb...Tejun Heo
2014-09-08percpu-refcount: add @gfp to percpu_ref_init()Tejun Heo
2014-09-04aio: block exit_aio() until all context requests are completedGu Zheng
2014-09-02aio: add missing smp_rmb() in read_events_ringJeff Moyer
2014-08-24aio: fix reqs_available handlingBenjamin LaHaise
2014-08-16Merge git://git.kvack.org/~bcrl/aio-nextLinus Torvalds
2014-08-04Merge branch 'for-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/p...Linus Torvalds
2014-07-24aio: use iovec array rather than the single oneGu Zheng
2014-07-24aio: fix some commentsGu Zheng
2014-07-24aio: use the macro rather than the inline magic numberGu Zheng
2014-07-24aio: remove the needless registration of ring file's private_dataGu Zheng
2014-07-22aio: remove no longer needed preempt_disable()Benjamin LaHaise
2014-07-14Merge ../aio-fixesBenjamin LaHaise
2014-07-14aio: protect reqs_available updates from changes in interrupt handlersBenjamin LaHaise
2014-06-28percpu-refcount: require percpu_ref to be exited explicitlyTejun Heo
2014-06-28percpu-refcount, aio: use percpu_ref_cancel_init() in ioctx_alloc()Tejun Heo
2014-06-24aio: kill the misleading rcu read locks in ioctx_add_table() and kill_ioctx()Oleg Nesterov
2014-06-24aio: change exit_aio() to load mm->ioctx_table once and avoid rcu_read_lock()Oleg Nesterov
2014-06-24aio: fix kernel memory disclosure in io_getevents() introduced in v3.10Benjamin LaHaise
2014-06-24aio: fix aio request leak when events are reaped by userspaceBenjamin LaHaise
2014-06-14Merge git://git.kvack.org/~bcrl/aio-nextLinus Torvalds
2014-05-06new methods: ->read_iter() and ->write_iter()Al Viro
2014-05-01aio: fix potential leak in aio_run_iocb().Leon Yu
2014-04-29aio: cleanup: flatten kill_ioctx()Benjamin LaHaise
2014-04-29aio: report error from io_destroy() when threads race in io_destroy()Benjamin LaHaise
2014-04-22fs/aio.c: Remove ctx parameter in kiocb_cancelFabian Frederick
2014-04-16aio: block io_destroy() until all context requests are completedAnatol Pomozov
2014-03-28aio: v4 ensure access to ctx->ring_pages is correctly serialised for migrationBenjamin LaHaise
2013-12-22Merge git://git.kvack.org/~bcrl/aio-nextLinus Torvalds
2013-12-22aio: clean up and fix aio_setup_ring page mappingLinus Torvalds
2013-12-21aio/migratepages: make aio migrate pages saneBenjamin LaHaise
2013-12-21aio: fix kioctx leak introduced by "aio: Fix a trinity splat"Benjamin LaHaise
2013-12-06Merge git://git.kvack.org/~bcrl/aio-nextLinus Torvalds
2013-12-06aio: clean up aio ring in the fail pathGu Zheng
2013-11-22Merge git://git.kvack.org/~bcrl/aio-nextLinus Torvalds
2013-11-19aio: nullify aio->ring_pages after freeing itSasha Levin
2013-11-19aio: prevent double free in ioctx_allocSasha Levin
2013-11-13aio: checking for NULL instead of IS_ERRDan Carpenter
2013-11-09rework aio migrate pages to use aio fsBenjamin LaHaise
2013-10-10aio: Fix a trinity splatKent Overstreet
pan>) " skip check, if the script contains a line like " @suppress Visual: let groups[group] = 'Ignoring '.group continue endif if !search('hi\%[ghlight] \+'.group, 'cnW') let groups[group] = 'No highlight definition for '.group continue endif if !search('hi\%[ghlight] \+'.group. '.*fg=', 'cnW') let groups[group] = 'Missing foreground color for '.group continue endif if search('hi\%[ghlight] \+'.group. '.*guibg=', 'cnW') && \ !search('hi\%[ghlight] \+'.group. '.*ctermbg=', 'cnW') let groups[group] = 'Missing bg terminal color for '.group continue endif call search('hi\%[ghlight] \+'.group, 'cW') " only check in the current line if !search('guifg', 'cnW', line('.')) || !search('ctermfg', 'cnW', line('.')) " do not check for background colors, they could be intentionally left out let groups[group] = 'Missing fg definition for '.group endif call cursor(1,1) endfor let err['highlight'] = groups " 3) Check, that it does not set background highlighting " Doesn't ':hi Normal ctermfg=253 ctermfg=233' also set the background sometimes? let bg_set='\(set\?\|setl\(ocal\)\?\) .*\(background\|bg\)=\(dark\|light\)' let bg_let='let \%([&]\%([lg]:\)\?\)\%(background\|bg\)\s*=\s*\([''"]\?\)\w\+\1' let bg_pat='\%('.bg_set. '\|'.bg_let.'\)' let line=search(bg_pat, 'cnW') if search(bg_pat, 'cnW') exe line if search('hi \U\w\+\s\+\S', 'cbnW') let err['background'] = 'Should not set background option after :hi statement' endif else let err['background'] = 'OK' endif call cursor(1,1) " 4) Check, that t_Co is checked let pat = '[&]t_Co\s*[<>=]=\?\s*\d\+' if !search(pat, 'ncW') let err['t_Co'] = 'Does not check terminal for capable colors' endif " 5) Initializes correctly, e.g. should have a section like " hi clear " if exists("syntax_on") " syntax reset " endif let pat='hi\%[ghlight]\s*clear\n\s*if\s*exists(\([''"]\)syntax_on\1)\n\s*syn\%[tax]\s*reset\n\s*endif' if !search(pat, 'cnW') let err['init'] = 'No initialization' endif " 6) Does not use :syn on if search('syn\%[tax]\s\+on', 'cnW') let err['background'] = 'Should not issue :syn on' endif " 7) Does not define filetype specfic groups like vimCommand, htmlTag, let hi_groups = ['vim', 'html', 'python', 'sh', 'ruby'] for group in hi_groups let pat='\Chi\%[ghlight]\s*\zs'.group.'\w\+\>' if search(pat, 'cnW') let line = search(pat, 'cW') let err['filetype'] = get(err, 'filetype', 'Should not define: ') . matchstr(getline('.'), pat). ' ' endif call cursor(1,1) endfor let g:err = err " print Result call Result(err) endfu fu! Result(err) let do_roups = 0 echohl Title|echomsg "---------------"|echohl Normal for key in sort(keys(a:err)) if key is# 'highlight' let do_groups = 1 continue else if a:err[key] !~ 'OK' echohl Title endif echomsg printf("%15s: %s", key, a:err[key]) echohl Normal endif endfor echohl Title|echomsg "---------------"|echohl Normal if do_groups echohl Title | echomsg "Groups" | echohl Normal for v1 in sort(keys(a:err['highlight'])) echomsg printf("%25s: %s", v1, a:err['highlight'][v1]) endfor endif endfu call Test_check_colors() let &cpo = s:save_cpo unlet s:save_cpo